1509 Commits (bbd5145d8a5212f350c01e5f8519a81783ced2cc)

Author SHA1 Message Date
Simon Ser 7b50f5d324 backend/wayland: remove unnecessary cast
4 years ago
Simon Ser 50b9921642
backend/x11: remove output_set_refresh
4 years ago
Simon Ser 73ffab70b0 backend/drm: don't blit in drm_fb_import
4 years ago
Simon Ser 4af85f4c19 backend/drm: simplify drm_fb_lock_surface
4 years ago
Ilia Mirkin 7bc8dbb991 backend/x11: keep track of exposed rects, add them to damage regions
4 years ago
Ilia Mirkin 922b7f415d backend/x11: skip events we don't care about
4 years ago
Ilia Mirkin bb92fd4c90 backend/x11: add support for scanout mode
4 years ago
Ilia Mirkin 62f37ee319 backend/x11: make sure output transform matrix is initialized
4 years ago
Simon Ser 702eed5cbd backend/x11: fix region not being actually used
4 years ago
Ilia Mirkin 966e653935 backend/x11: set a blank cursor rather than hiding globally
4 years ago
Simon Ser 04d89a8bc5
backend/drm: fix modifiers for cursor plane buffers
4 years ago
Simon Ser f17b0f975d backend/drm: add wlr_drm_connector_get_id
4 years ago
Simon Ser cb6f584496 backend/drm: add support for the subconnector property
4 years ago
Simon Ser 879cadd34e backend/x11: add xcb_dri3_pixmap_from_buffers check for n_planes
4 years ago
Simon Ser e537382991 backend/x11: add support for DRI3 1.0
4 years ago
Simon Ser 284233c34f backend/x11: log DRM node name
4 years ago
Simon Ser 5373187186 backend/x11: log when creating X11 backend
4 years ago
Simon Ser c6c7fccd96
backend/headless: create renderer after wlr_backend_init
4 years ago
Simon Ser 9e98f497af backend/drm: use local DRM FD for wlr_rend
4 years ago
Simon Ser afdf4dc890 render/gles2: make EGL context current in bind_buffer
4 years ago
Simon Zeni 08a4c62aac render: remove egl include from wlr_renderer
4 years ago
Simon Zeni e128e6c08d render: drop egl parameters from wlr_renderer_autocreate
4 years ago
Simon Ser affc59454e backend/headless: implement get_drm_fd
4 years ago
Simon Ser 6dfc8ce00b backend/x11: implement get_drm_fd
4 years ago
Simon Ser b7c95d483a backend/drm: implement get_drm_fd
4 years ago
Simon Ser 400f4e7f27 backend/wayland: implement get_drm_fd
4 years ago
Simon Ser ad3a455db9 backend/multi: implement get_drm_fd
4 years ago
Simon Ser a53ab146fe backend: add get_drm_fd to interface
4 years ago
Simon Ser a6a0568316
backend: remove unnecessary GLES2 includes
4 years ago
Simon Ser dc61f471da
backend/drm: remove unnecessary wlr_drm_fb.wlr_buf check
4 years ago
Simon Ser 5d054258af
backend/drm: fix segfault in page_flip_handler
4 years ago
Simon Ser 3f7e0cf5f0 render/egl: remove surface and buffer age args from make_current
4 years ago
Simon Ser 098094c5cb backend/wayland: use the EGL GBM platform
4 years ago
Simon Ser c94728b53a
backend/drm: stop using surface size for BO
4 years ago
Simon Ser d9bbc416a6 backend/drm: re-use FBs
4 years ago
Simon Ser 91cb0fc443 backend/drm: only keep track of local buffer
4 years ago
Simon Ser 5bd86b94f9 backend/drm: add wlr_drm_buf.local_wlr_buf
4 years ago
Simon Ser cd64610c66 backend/drm: introduce drm_fb_create
4 years ago
Simon Ser 5b1b43c68c backend/drm: make wlr_drm_plane.{pending,queued,current}_fb pointers
4 years ago
Simon Zeni 9192c0480a remove unnecessary egl includes
4 years ago
Simon Zeni b899a412e3 backend: remove wlr_egl from all backends
4 years ago
Simon Ser 5773794baf
backend/drm: don't log errno on plane_get_next_fb failure
4 years ago
Simon Ser 07d75c99db render: remove EGL config and visual from wlr_renderer_autocreate
4 years ago
Simon Ser 3721dbfddb
backend/wayland: remove unnecessary flags from event source
4 years ago
Kenny Levinsen d3047011d0 backend/wayland: Avoid uninitialized read
4 years ago
Simon Ser e8d56ca415 backend/session: allow wlr_session_find_gpus to return an error
4 years ago
Simon Ser 7febdc7334 backend/wayland: re-use cursor wl_buffers
4 years ago
Simon Ser adfb7cd35a backend/drm: stash pending page-flip CRTC
4 years ago
Simon Ser 576ff57db0 backend/drm: ignore hotplug events while inactive
4 years ago
Ilia Bozhinov eb30cde777 noop: listen to display destroy and destroy the backend
4 years ago
Simon Ser 4ffd537d2d
backend/x11: print version on extension error
4 years ago
Simon Ser 1491ec42da backend/x11: always open render node
4 years ago
Simon Ser 4b03bdc3ab Remove wlr_create_renderer_func_t
4 years ago
Simon Ser bec1e6b149 backend/drm: remove special linear case for cursor plane
4 years ago
Simon Ser 92a0fc0435 backend/drm: extract linear format creation into function
4 years ago
Simon Ser 7ea0e9f277 backend/drm: force LINEAR for cursor plane formats
4 years ago
Simon Ser caeed70f28 backend/x11: create per-window present event contexts
4 years ago
Ariadne Conill 23b6f3e3f5 drm: add fallback drmModeAddFB for drivers which do not support drmModeAddFB2
4 years ago
Simon Ser c012d770f7 backend/x11: implement a real rendering loop
4 years ago
Simon Ser c5f239f411
backend/drm: make listener names more idiomatic
4 years ago
Simon Ser b9460ab724
Stop using wlr_texture_get_size
4 years ago
Simon Ser 17dd4c9e9a
backend/drm: use connector log helpers in atomic backend
4 years ago
Simon Ser a7a230ebef
backend/drm: make drmModePlane arg in add_plane const
4 years ago
Simon Ser c011a0e2ed
backend/drm: add special case for cursor in add_plane
4 years ago
Simon Ser 5548406667
backend/drm: log whether ADDFB2 modifiers are supported
4 years ago
Simon Ser 64a2ca4dba
backend/drm: don't retry page-flip when modifiers are unsupported
4 years ago
Simon Ser 54ec17ff64
backend/drm: use plural form for possible_crtcs
4 years ago
Simon Ser 2de400a541
backend/drm: assert connector state after wlr_output_destroy
4 years ago
Simon Ser 85cf4b235d
backend/drm: destroy DRM connectors that disappear
4 years ago
Simon Ser ad4dae0844 backend/drm: error on size mismatch in drm_surface_blit
4 years ago
Simon Ser d3bcd63a40 backend/drm: remove drm_fb_acquire
4 years ago
Simon Ser 5ee8b12dc3 backend/drm: make drm_fb_acquire return a FB ID
4 years ago
Simon Ser d09abe86c1 backend/drm: drop export_drm_bo
4 years ago
Simon Ser dabd2e7207 backend/drm: grab DMA-BUF from wlr_buffer instead of gbm_bo
4 years ago
Simon Ser 83925f04c3 backend/drm: don't save texture in gbm_bo user data
4 years ago
Simon Ser 55b02f753f backend/x11: destroy buffers when destroying output
4 years ago
Simon Ser d6dbdd97e9 backend/x11: re-use pixmaps
4 years ago
Simon Ser defcd9b025 backend/wayland: re-use wl_buffers
4 years ago
Simon Ser de896caceb backend/wayland: remove EGL config
4 years ago
Ronan Pigott 917ecca58e backend/drm: avoid gcc stringop-truncation warning
4 years ago
Simon Ser 352fdd1bb0
backend/drm: remove unused wlr_drm_plane.drm_format
4 years ago
Simon Ser 248c7787c7 backend/drm: refactor wlr_output destruction
4 years ago
Simon Ser 019ffe8a5b backend/drm: introduce wlr_drm_connector.name
4 years ago
Simon Ser c89b131f29 backend/drm: introduce wlr_drm_conn_log
4 years ago
Simon Ser 0aefa18690 backend/x11: send more precise output present events
4 years ago
Simon Ser 94fda895ac backend/x11: use DRI3Open to get DRM FD
4 years ago
Simon Ser 1e2c7fce86 backend/drm: use wlr_drm_format_{create,add}
4 years ago
Simon Ser 253f447329
backend/drm: print DRM device name when scanning connectors
4 years ago
Simon Ser 9cd3f03f65
backend/drm: add wlr_drm_backend.name
4 years ago
Simon Ser 60001a75a2
backend/drm: remove nouveau workaround
4 years ago
Simon Ser 0dcdb5e7a1 backend/x11: fix DRI3 formats not used
4 years ago
Simon Ser 0aa2ba0c03 backend/headless: select the rendering device ourselves
4 years ago
Simon Ser da2a216934
backend/drm: add wlr_drm_connector.backend
4 years ago
Simon Ser 87bd718de5
backend: use fcntl(F_DUPFD_CLOEXEC) instead of dup
4 years ago
Simon Ser 1ca4d6b029
backend/drm: dup FD before wlr_gbm_allocator_create
4 years ago
Simon Ser e57a52e7f7
Remove inline keyword
4 years ago
Simon Ser 93cd3a79b2 backend/drm: stop using GBM flags
4 years ago
Simon Ser 525fa6ada0
backend/x11: fix xinput mask mixed up with present
4 years ago
Simon Ser c59aacf944 backend/x11: query modifiers supported by X11 server
4 years ago
Simon Ser d79a00bf02 backend/x11: switch to wlr_swapchain
4 years ago
Simon Ser 16a51bbab2 backend/wayland: query render formats
4 years ago
Simon Ser 441bac139f backend/wayland: use wlr_swapchain for cursor surface
4 years ago
Simon Ser 3923ff005d backend/wayland: use wlr_swapchain for main surface
4 years ago
Simon Ser 038285d496 backend/wayland: stop rendering black frame on init
4 years ago
Simon Ser 768131e488 output: stop assuming a frame is pending in init
4 years ago
Simon Ser 4c363a564f backend/drm: remove workaround for amdgpu DP MST
4 years ago
Simon Ser 6ff478632a backend/drm: remove EGL config
4 years ago
Simon Ser 06ab41a160
backend/drm: fix missing wlr_drm_format.cap
4 years ago
Simon Ser eb5886ddbe backend/headless: add support for direct scan-out
4 years ago
Stephane Chauveau b790e5ea34 backend/drm: don't assume possible_crtcs has only one bit set
4 years ago
Simon Ser 863acb26c0 backend/drm: stop tracking overlay planes
4 years ago
Simon Ser e69bbfd0d6 backend/drm: unset current surface before importing
4 years ago
Simon Ser 325cba6414
backend/drm: use EGL_PLATFORM_GBM_KHR
4 years ago
Simon Ser bfb59fd4d7 backend/headless: create a config-less EGL context
4 years ago
Ilia Bozhinov 54b7ca56c0 drm: do not unset make/model before emitting destroy event
4 years ago
Simon Ser 90c8452959 backend/session/libseat: set XDG_SESSION_TYPE
4 years ago
Simon Ser 1336ad2a23
backend/drm: remove unused if in drm_connector_move_cursor
4 years ago
Simon Ser 0e927533b0 backend/drm: query render formats
4 years ago
Simon Ser 237c2cf2fb backend/drm: take a wlr_drm_format in init_drm_surface
4 years ago
Simon Ser 8bc5a92a98 Revert "backend/drm: stop force-probing connectors"
4 years ago
Simon Ser de9ff46629
backend/drm: "scaling mode" is a connector property
4 years ago
Simon Ser 2649600fa1
backend/drm: rotation is a plane property
4 years ago
Simon Ser c045253927 backend/headless: use a format suitable for rendering
4 years ago
Simon Ser 6485fadc16
backend/wayland: don't set EGL visual
4 years ago
Simon Ser 713c1661b7 backend/drm: stop force-probing connectors
4 years ago
Simon Ser 154fe8696f backend/x11: log unhandled client messages
4 years ago
Simon Ser f6c36f8881 backend/x11: log unhandled X11 events
4 years ago
Simon Ser 52805feae9 backend/x11: log errors
4 years ago
Isaac Freund 262740bc9a backend/libseat: fix change_vt return value
4 years ago
Simon Ser 754179dacd backend/session: add a timeout waiting for GPUs
4 years ago
Simon Ser c491a21d25 backend/session/logind: log when using XDG_SESSION_ID
4 years ago
Simon Ser 0e76f92de7 backend/session: replace session_signal with events.active
4 years ago
Simon Ser cd95d70df0 Revert "session/logind: support CanGraphical property"
4 years ago
Simon Ser fbf11a41e1 backend/session: wait for DRM device if none found
4 years ago
Simon Ser 76bcddf071 backend/session: introduce wlr_session.events.add_drm_card
4 years ago
Simon Ser 768fbaad54 backend/session: filter udev events by sysname
4 years ago
Simon Ser 44a4792fd8 backend/session: operate on wlr_device
4 years ago
Simon Ser 63df2bcbe6 backend/session: don't return FD on failure in open_file
4 years ago
Kenny Levinsen fb3bea8014 backend/drm: Use legacy gamma size for legacy backend
4 years ago
Simon Ser 02df7b7ac8 backend/headless: implement export_dmabuf
4 years ago
Simon Ser 61f8cdfb9e backend/headless: switch to wlr_swapchain
4 years ago
Simon Ser eef8b3dde8 backend/drm: check drm_surface_render_black_frame return value
4 years ago
Simon Ser c881008e1c backend/drm: add support for wlr_swapchain multi-GPU
4 years ago
Simon Ser 8058e338ea backend/drm: get rid of wlr_drm_fb_type
4 years ago
Simon Ser 68a8d99055 backend/drm: add support for wlr_swapchain buffer age
4 years ago
Simon Ser ef846a8839 backend/drm: use wlr_swapchain
4 years ago
Simon Ser aaa3fcf66f
backend/libinput: require libinput 1.14
4 years ago
Mykola Orliuk 2eae9ec7c8 backend/wayland: Set cursor indivdualy per output
4 years ago
Mykola Orliuk 44531e16e0 backend/wayland: Add active pointer per host seat
4 years ago
Mykola Orliuk ce8855ca2a backend/wayland: Bind pointer listener to seat
4 years ago
Mykola Orliuk 07e2e0f60c backend/wayland: Listen to pointers from all seats
4 years ago
Mykola Orliuk 44c4773d58 backend/wayland: Use seat name in input names
4 years ago
Mykola Orliuk 70ffda3ea3 backend/wayland: Add registering multiple seats
4 years ago
Mykola Orliuk 85b0872650 backend/wayland: Link input devices with seats
4 years ago
Mykola Orliuk 40bfd9f8f7 backend/wayland: Bind seat listener to wlr_wl_seat
4 years ago
Isaac Freund e06c9e43af Remove unneeded includes from wlr_input_device.h
4 years ago
Isaac Freund 7693f61d81 Replace wlr_key_state with wl_keyboard_key_state
4 years ago
Simon Ser 1328477a82 backend/drm: export pending FB in export_dmabuf, if any
4 years ago
Simon Ser ee43ef3c9d backend/drm: fix "a page-flip is already pending" errors on modeset
4 years ago
Marten Ringwelski 85757665e6 backend/drm: Check if output is enabled before sending frame event
4 years ago
Mykola Orliuk 31aa7f4c95 backend/wayland: fix some keyboard/touch leaks
4 years ago
Mykola Orliuk 009cd634a2 backend/wayland: fix input creation error handling
4 years ago
Mykola Orliuk 41bf1c6871 backend/wayland: add error flow in create_wl_seat
4 years ago
Mykola Orliuk 1ac5257357 backend/wayland: factor out wlr_wl_seat
4 years ago
Mykola Orliuk df417b7e95 backend/wayland: manage cursor for current pointer
4 years ago
Ilia Bozhinov b98522b38f
backend/wayland: add touch support to the wayland backend
4 years ago
Simon Ser 45c1a3621c backend/libinput: improve logger callback
4 years ago
Simon Ser 87836dcb55 backend: remove check for _WAYLAND_DISPLAY
4 years ago
nerdopolis e44bed0c2b Accommodate for CONFIG_VT=0, all TTYs are in seat0, but not all
4 years ago
Patrick Steinhardt fa05d3cde6 session: Don't refuse unprivileged creation of "direct" backend
4 years ago
Ilia Bozhinov efe6414640 wayland: emit relative pointer events only for current pointer
4 years ago
Ryan Walklin 28cedb5623 Quieten failure to set login session type
4 years ago
Simon Ser 971de474f0 backend/session/libseat: register log handler
4 years ago
Kenny Levinsen 330c50b48d session: Add missing init to direct-freebsd
4 years ago
Simon Ser 297354f847 Remove unnecessary wl_display_dispatch calls
4 years ago
Kenny Levinsen bad1e9afa8 session: Add libseat backend
4 years ago
Ilia Bozhinov 9feeb2738d
backend/wayland: destroy relative pointer when output is disconnected
4 years ago
Ryan Walklin 7e990a2991 Don't set XDG_SESSION_TYPE unless logind SetType succeeds
4 years ago
Ryan Walklin e81d2086c0 Also set XDG_SESSION_TYPE
4 years ago
Ryan Walklin f0d03fb892 Implement logind session SetType method to change session type to wayland
4 years ago
Devin J. Pohly aaf490d794 drm: fix uninitialized read
4 years ago
Antonin Décimo d9bb792794 Fix incorrect format parameters
4 years ago
Simon Ser b6377b59ff backend/drm: check drm_surface_make_current return value
4 years ago
Simon Ser cccca368c5
backend/drm: fix typo in drm_surface_make_current arg
4 years ago
Simon Ser f82a27f55a backend/drm: fix DPMS on legacy interface
4 years ago
Simon Ser c930160286 backend/noop: add missing rollback_render output impl
5 years ago
Simon Ser bf93d2e67c output: rename impl->rollback to rollback_render
5 years ago
Andri Yngvason a6a5a19356 backend: drm: Fix dmabuf resource leak
5 years ago
Simon Ser e77c046cf9 backend/drm: fix stack overflow in dealloc_crtc
5 years ago
Tudor Brindus dc13bb827d util: fix and move `get_current_time_msec` into a util file
5 years ago
Simon Ser 8f28f5b2f8 backend/drm: fix black screens when enabling output
5 years ago
Simon Ser 019fe8bb7e backend/wayland: fix spurious eglSwapBuffers failures
5 years ago
Tudor Brindus 47a30957d1 backend/wayland: scale tablet tool position into [0, 1] range
5 years ago
Simon Ser b03eebf7d4 backend/drm: always perform a CRTC commit in drm_connector_commit
5 years ago
Simon Ser 1a2e82e327 backend/drm: drop extra wlr_output_update_enabled call
5 years ago
Simon Ser 80467f6ae8 backend/drm: commit/rollback FBs in drm_crtc_commit
5 years ago
Simon Ser 70f3a0bb27 backend/drm: make adaptive_sync atomic
5 years ago
Simon Ser 42126c2022 backend/drm: rollback pending CRTC state on test commit
5 years ago
Simon Ser 1a23c1425f Add comments for missing tablet tool entries
5 years ago
Simon Ser d66b9966e9 backend/drm: fix missing crtc->cursor NULL check
5 years ago
Simon Ser e7a8ea84c3 backend/drm: don't set cursor if off-screen
5 years ago
Simon Ser 15d8f1806e backend/drm: introduce pending and current CRTC state
5 years ago
Simon Ser d6cc718472 backend/drm: nuke retry_pageflip
5 years ago
Simon Ser 61095f4a12 backend/drm: make drm_connector_set_mode take a wlr_drm_connector
5 years ago
Simon Ser 445750aa9a backend/drm: remove enable_drm_connector
5 years ago
Simon Ser c02e9c2bb1 backend/drm: remove drm_connector_set_custom_mode
5 years ago
Simon Ser 21c6cc5e4c backend/drm: refuse to enable an output without a mode
5 years ago
Simon Ser 47e5212823 backend/drm: rollback atomic blobs
5 years ago
Simon Ser af2f69e6c1 render/egl: unset current context after swapping buffers
5 years ago
Simon Ser d28a7da95d backend/drm: add missing wlr_egl_unset_current
5 years ago
Simon Ser cfed5766b7 backend/drm: fix current EGL context on multi-GPU
5 years ago
Simon Ser 1edc42157b render/egl: introduce wlr_egl_unset_current
5 years ago
Simon Ser 781ed1ff02 Fix -Wreturn-type warnings
5 years ago
Simon Ser 2988ebb6f3 backend/drm: fix atomic commits when the GAMMA_LUT prop is missing
5 years ago
Simon Ser 347bdb6d9a output: make wlr_output_set_gamma atomic
5 years ago
Simon Ser 42e485dcc3 backend/drm: fix segfault in drm_crtc_page_flip
5 years ago
Simon Ser 51bbf31742 backend/drm: print error in set_plane_props
5 years ago
Simon Ser 9412d34e2d backend/drm: disable cursor in dealloc_crtc
5 years ago
Simon Ser da4df82532 backend/drm: fix combined modeset+enable commits
5 years ago
Simon Ser cdb6fdbc6c backend/drm: remove missing cursor plane workaround
5 years ago
JonnyMako 1139234117
backend/drm: fix missing cursor on external monitors with multi-GPU setup and nouveau
5 years ago
Simon Ser f72686c0b6 backend/drm: fix crash in session_signal
5 years ago
Simon Ser 2ca3bdc35e backend/drm: simplify atomic commit logic
5 years ago
Simon Ser 06d5aa5780 backend/drm: GAMMA_LUT_SIZE isn't atomic
5 years ago
Simon Ser da63d11d34 backend/drm: remove crtc_set_cursor from interface
5 years ago
Simon Ser f8e02db4bc backend/drm: remove conn_enable from interface
5 years ago
Simon Ser c608fc89d8 backend/drm: rename crtc_pageflip to crtc_commit
5 years ago
Simon Ser 70883fd10b backend/drm: apply gamma LUT on page-flip
5 years ago
Simon Ser 69b2279092 backend/drm: remove mode argument to crtc_pageflip
5 years ago
Simon Ser c9d6b18eef backend/drm: remove wlr_drm_interface.crtc_move_cursor
5 years ago
Tudor Brindus 6357e166f9 backend/wayland: emit tablet tool axis events to the axis handler
5 years ago
Simon Ser 46c83cbf3d backend/headless: handle renderer destroy
5 years ago
Simon Ser 7720ce7827 backend/multi: handle backends depending on each other properly
5 years ago
Simon Ser 90ede7f838 backend/drm: make page-flip error scarier
5 years ago
Will Daly 044a9f28d6 Fix error when reconnecting external display
5 years ago
Scott Anderson 906c0766df Remove libcap support
5 years ago
Simon Ser 98d949718c backend/drm: strip alpha channel if necessary
5 years ago
Scott Anderson 321537ee92 backend/drm: don't allow legacy to use direct scanout
5 years ago
Scott Anderson 52281cb8ba backend/drm: move atomic cursor code into pageflip code
5 years ago
Scott Anderson be90062c51 backend/drm: don't have fallback atomic commits
5 years ago
Scott Anderson 8da9d9679e backend/drm: introduce wlr_drm_fb
5 years ago
Tudor Brindus 39af3535c3 input/tablet: populate tool tip event position
5 years ago
Simon Ser 6129a6f93e backend/headless: add wlr_headless_backend_create_with_renderer
5 years ago
Simon Ser 40513f1a0e backend/headless: use FBOs instead of pbuffers
5 years ago
Simon Ser ab4f642153 build: use dicts instead of get_variable
5 years ago
Tudor Brindus f0d818f36e backend/libinput: correctly populate x/y fields on tablet proximity in
5 years ago
Kenny Levinsen 904c37845d logind: Close fd before releasing device
5 years ago
Simon Ser ab4dc1636c backend/multi: add backends at end of list
5 years ago
Simon Ser 83c1ba7783 backend/wayland: check scan-out buffer is compatible in output_test
5 years ago
Simon Ser 50ade3671f output: check for buffer size compatibility in common code
5 years ago
Simon Ser 5f092c55d1 output: fix blurred hw cursors with fractional scaling
5 years ago
Simon Ser 9acca4fc73 backend: set EGL_RENDERABLE_TYPE and EGL_SURFACE_TYPE
5 years ago
Simon Ser 507d9bc19e Add wlr_output_impl.rollback
5 years ago
Simon Ser d3bd5f2a7b backend: reset EGL surface after buffer swap
5 years ago
Simon Ser 6977f3a843 output: check buffer in wlr_output_test
5 years ago
Simon Ser e041158988 output: introduce wlr_output_test
5 years ago
Simon Ser 6595db6409 buffer: add a release event
5 years ago
Scott Moreau 30308e35fa build: Add 'auto' to logind-provider combo option
5 years ago
Simon Ser b614ded3fc backend/wayland: close keymap FD
5 years ago
Filip Sandborg 5ee52a3ab9
Fix uint32 overflow in fill_empty_gamma_table on Icelake platform
5 years ago
Simon Ser 52c67284e2 backend/drm: add support for adaptive_sync_enabled
5 years ago
Simon Ser 9be1af3afb backend/x11: add support for adaptive_sync_enabled
5 years ago
Simon Ser a3c699eee5 backend/wayland: fix seat caps handling
5 years ago
Simon Ser 348f52b5fc output: remove wlr_output_impl.schedule_frame
5 years ago
Simon Ser 613f9c6f8d backend/wayland: rename wl_seat.c to seat.c
5 years ago
Jan Beich 2bad34e024 backend/session: allow GPU enumeration on FreeBSD
5 years ago
Rouven Czerwinski 144d2041ad backend/drm: remove overzealous finish_drm_surface
5 years ago
Rouven Czerwinski f0594fb732 backend/drm: add env variable to disable modifiers
5 years ago
Scott Anderson 70a084c119 meson: Fix protocol includes for compositor examples
5 years ago
Simon Ser 7c05933e51 backend/drm: prevent outputs from being destroyed on commit
5 years ago
Simon Ser 2b04857343 render/egl: remove SURFACELESS_MESA special case
5 years ago
Drew DeVault ebdbe177d6 Drop RDP backend
5 years ago
Simon Ser 802ef9da8a backend/wayland: handle display errors more gracefully
5 years ago
Simon Ser e6fd880686 backend/wayland: listen to wl_buffer.release events
5 years ago
Jason b5cb6de232 Allow WLR_RDP_PORT to be any valid TCP/UDP port number
5 years ago
Simon Ser 5bbb44482b backend/wayland: fix frame callback not registered
5 years ago
Simon Ser 21e1953b61 backend/drm: don't modeset with a NULL mode after TTY switch
5 years ago
Simon Ser 8fc16890c7 output: refuse to commit a buffer or modeset a disabled output
5 years ago
Simon Ser f0781cd792 backend/drm: modeset before enabling an output
5 years ago
Simon Ser 5d1ba0f446 output: re-introduce atomic mode, enabled, scale and transform
5 years ago
Simon Ser 4da4a15d6b output: add description
5 years ago
Scott Anderson cff1c2f740 meson: Various improvements
5 years ago
Ting-Wei Lan fc6c0ca12e backend/session/freebsd: Fix the way to get TTY path
5 years ago
Rouven Czerwinski be4b9f7f5b backend/drm: print preferred mode
5 years ago
Simon Ser 515679e4fe Refactor EGL/GL API loading
5 years ago
Simon Ser efd294ef09 backend/drm: add BenQ to manufacturer list
5 years ago
Simon Ser 6ca82087b1 backend/drm: fix segfault in init_drm_surface
5 years ago
Simon Ser 8681e4ab8a backend/drm, backend/libinput: listen to session destroy
5 years ago
Jason e8855ee462 Amend typos
5 years ago
Simon Ser e959b882d5 backend/wayland: add support for presentation-time
5 years ago
Simon Ser 16e5e9541b Add -Wmissing-prototypes
5 years ago
Scott Anderson 685a5a11a9 backend/x11: Revert usage of present extension
5 years ago
Scott Anderson 3317134adf backend/x11: Drop required present version
5 years ago
Scott Anderson b58e8451b8 backend: Do not attempt DRM on X11/WL failure
5 years ago
Simon Ser 6c649bab53 output: add wlr_output_event_present.commit_seq
5 years ago
Simon Ser cde544de81 backend/wayland: expose remote objects
5 years ago
Simon Ser 1e568d84df backend/wayland: add support for relative-pointer-unstable-v1
5 years ago
Scott Anderson 626c98d754 session/logind: Clean up add_signal_matches
5 years ago
Ronan Pigott 3ebf079a9a session/logind: support CanGraphical property
5 years ago
Scott Anderson a3c3b928a3 backend/x11: Give X11 a real rendering loop
5 years ago
Simon Ser 0e57effd38 backend/drm: add support for custom modes
5 years ago
Simon Ser e97c2c3639 backend/drm: retry without modifiers for the primary plane
5 years ago
Simon Ser fd25e2ca11 backend/drm: track gbm_bo during direct scan-out
5 years ago
Simon Ser 5bddb5a909 backend/wayland: add support for direct scan-out
5 years ago
Simon Ser 2bdd1d0896 backend/drm: use modifiers for our GBM buffers
5 years ago
Ivan Molodetskikh 5f78ea20fa drm: use IMPORT_FD for INVALID modifier
5 years ago
Markus Ongyerth ebeef0fbe8 Clean up wayland backend tablet support
5 years ago
Markus Ongyerth 2285e36b0c Add zwp-tablet-unstable-v2 client support
5 years ago
Markus Ongyerth 57babd2e13 Move initialization of wlr_tablet_pad into types/wlr_tablet_pad
5 years ago
Rouven Czerwinski bf90474b74 backend/drm: check for mst: in path property
5 years ago
Andri Yngvason e19f48d1e4 backend: touch: Fixup incomplete patch for single touch devices.
5 years ago
Andri Yngvason 4f4d3cf2a2 backend: touch: Assign good ids to single touch devices
5 years ago
Simon Ser 8d2ea9544b backend/drm: fix missing plane formats
5 years ago
Antonin Décimo e7f1aa30dd backend/wayland: check if zxdg_toplevel_decoration_v1 is not NULL
5 years ago
Antonin Décimo 39c5d93dea backend/drm: use UINT64_C for uint64_t literals
5 years ago
Antonin Décimo 68b4a5305e backend/session: non-void function should return a value
5 years ago
Drew DeVault 94f65e354d Add libinput-1.14 support
5 years ago
Rouven Czerwinski 01f903874b Revert "output: atomic mode"
5 years ago
Rouven Czerwinski 4d36cc86eb backend/drm: destroy output immediately
5 years ago
Simon Ser ee5f98ad49 output: atomic mode, enabled, scale and transform
5 years ago
Simon Ser ca45f4490c Remove all wayland-server.h includes
5 years ago
Sebastian Krzyszkowiak 415267ac13 backends/x11: Touch support
5 years ago
Rouven Czerwinski d10072e76c backend: drm: switch to pageflip_handler_2
5 years ago
Scott Anderson 46dc4100d6 backend/drm: Exit-early if 0 crtcs
6 years ago
Scott Anderson b3f42548d0 backend/drm: Simplify object matching code
6 years ago
Greg V d80acadfd8 Support pointer-gestures on Wayland backend
6 years ago
Dorota Czaplejewicz 5027b23dc2 x11: Send a frame event on the pointer after button events
6 years ago
Simon Ser ce3f4c3fe1 output: remove wlr_output_impl.transform
6 years ago
Scott Anderson b85f0cbff9 Remove WLR_DRM_NO_ATOMIC_GAMMA workaround
6 years ago
Simon Ser d201fc3506 backend/drm: add support for multiplanar BOs
6 years ago
Simon Ser e8057bb60c backend/drm: fallback to drmModeAddFB2
6 years ago
Simon Ser d1766547bd backend/drm: reject DMA-BUFs with flags
6 years ago
Simon Ser 44ba603c0e backend/drm: hold buffers while scanning out
6 years ago
Simon Ser afe7b207d5 output: fix attach_buffer semantics
6 years ago
Simon Ser 1d222309b8 output: change set_dmabuf to attach_buffer
6 years ago
Simon Ser 5c78f1b0d5 backend/drm: strip alpha channel on scan-out
6 years ago
Simon Ser e516ea4c79 backend/drm: check format when scanning out DMA-BUF
6 years ago
emersion 96d6fde5dc backend/drm: add basic support for direct scan-out
6 years ago
Rouven Czerwinski 96e9c0f9c8 drm: legacy: issue a NULL modeset on disable
6 years ago
Jan Chren 151b7d1d94 session/logind: check for XDG_SESSION_ID first
6 years ago
Jan Chren e04e1ba197
session/logind: specify seat exactly
6 years ago
Scott Anderson 522ddd93f1
Merge pull request #1696 from RedSoxFan/logind-stay-active-on-gone
6 years ago
Michiel a68c7c0c8d Fixes #1689 RDP RemoteFX crash
6 years ago
Brian Ashworth 90c284bded session/logind: keep active for pause_device gone
6 years ago
Simon Ser 947d5ff481 backend/wayland: remove wl_shm
6 years ago
Simon Ser 292d20e4c1 backend/wayland: use xdg-decoration-unstable-v1
6 years ago
Simon Ser 937e0e7937 backend/noop: disallow rendering
6 years ago
Simon Ser 933208837d backend/wayland: fix wlr_wl_pointer use-after-free
6 years ago
Simon Ser 20690346c7 output: rename needs_commit to needs_frame
6 years ago
Simon Ser 9a0f8a194c output: refactor backend API
6 years ago
Alyssa Ross 95b22619e0 Fix missing headers when building without X11
6 years ago
Jan Beich b6d0de177a backend: unbreak on 32-bit architectures
6 years ago
Ilia Bozhinov 670c787fa7 noop: implement setting a custom mode
6 years ago
Drew DeVault fd0d7d0907 Add FreeRDP backend for remote desktop support
6 years ago
Guido Günther cd60f40bbb wlr_output: Add preferred property (#1625)
6 years ago
Ryan Walklin 4453757fc9 s/lid_switch/switch_device
6 years ago
Brian Ashworth 6b7f5e4010 backend/noop: improve output number handling
6 years ago
Brian Ashworth c97f0eb0f2 backend/headless: improve output number handling
6 years ago
Brian Ashworth b135599e5a backend/x11: improve output number handling
6 years ago
Brian Ashworth 67523fb228 backend/wayland: improve output number handling
6 years ago
Niklas Schulze 2baad6eba6 backend/session: Allow setting a custom tty via WLR_DIRECT_TTY
6 years ago
Scott Anderson 6a8f17b5f6 backend/drm: Don't fail on failing to find overlay format
6 years ago
emersion d02548d87a
backend/session: open TTY with O_CLOEXEC for direct session
6 years ago
emersion 8efeca528f backend/session: add noop session
6 years ago
emersion 5445d8aad0 meson: enable more compiler warnings
6 years ago
Scott Anderson d945c97926 backend/drm: Unset cursor on cleanup
6 years ago
Rouven Czerwinski e1834ace28 backend/drm: fix memory leak in realloc crtcs
6 years ago
Brian Ashworth 50011e7170 backend/drm: fix modeset on drm fd resume
6 years ago
emersion 2a738803b2
backend/drm: fix NULL dereference when unsetting cursor
6 years ago
Drew DeVault 2d2c79e37c
Merge pull request #1537 from VincentVanlaer/cursor-dmabuf-nouveau
6 years ago
Vincent Vanlaer 26a9fa8148 Add workaround for hardware cursors on nouveau
6 years ago
Drew DeVault 9a5d59a839 Revert "drm: do not modeset to current mode"
6 years ago
Vincent Vanlaer bc048b22fb Copy cursor surface to secondary gpu if necessary
6 years ago
Brian Ashworth 72c76b128e drm: do not modeset to current mode
6 years ago
Scott Anderson b2f56ad4a8
Merge pull request #1526 from VincentVanlaer/cursor-dmabuf
6 years ago
Vincent Vanlaer 7bc43413ed Allow cursor render surface to be used as fb
6 years ago
mnussbaum c138da233b Allow compositors to run as systemd user units
6 years ago
emersion 22faddde9e
backend/session/logind: dup FD with CLOEXEC
6 years ago
emersion 75371d2c88
Require libdrm >= 2.4.95
6 years ago
Drew DeVault feb1b9b1cb
Merge pull request #1509 from emersion/gbm-fmt-mismatch
6 years ago
emersion ee293fab58
backend/drm: fix GBM format mismatch
6 years ago
Greg V 9fe8e37961 Implement the pointer-gestures-unstable-v1 protocol
6 years ago
emersion b45fc24b18
backend/wayland: handle wl_pointer.axis_stop
6 years ago
emersion 5de26ad8ed
pointer: add a frame event
6 years ago
Jente Hidskes 85d84a1a04
backend/x11 & backend/wayland: make set_title NULL-safe
6 years ago
Brian Ashworth 88ee102992 backend/wayland: fix resizing
6 years ago
Jente Hidskes edf0e49195
Add wlr_x11_output_set_title
6 years ago
emersion d4ffa5b7a6
backend/drm: fix state for outputs loosing their CRTC
6 years ago
Ryan Dwyer 9b4be5a595 Introduce noop backend
6 years ago
Drew DeVault d3d1437bc4 Add wlr_wl_output_set_title
6 years ago
Drew DeVault 97af2464b7 Update Wayland backend to xdg-shell stable
6 years ago
Jan Beich f80d174e8b Simplify evdev includes on FreeBSD by relying on up-to-date package
6 years ago
emersion 610f5bfc77
Merge pull request #1432 from ForTheReallys/relative-pointers
6 years ago
emersion 9b1d9fb91e
backend/drm: get physical size from libdrm
6 years ago
Timidger 9af0c5338f
Standardize the wlr_box input paramaters
6 years ago
Alex Maese e276d310e8 Add unaccelerated pointer values to wlr_event_pointer_motion events
6 years ago
emersion ff6c4f80b2
backend/drm: don't insert duplicate custom modes, fix refresh rate
6 years ago
Ryan Walklin 2a3c62b4d2 [WIP][DONTMERGE]Add support for libinput_switch input devices
6 years ago
Scott Anderson fec88770dd backend/drm: Fix uninitialized variable
6 years ago
Scott Anderson efdd4d6ea2 backend/drm: Improve encoder logic
6 years ago
emersion f8056a0350
backend/drm: fix disappeared output indices
6 years ago
Drew DeVault 20f5fc9e2e
Merge pull request #1413 from emersion/logind-session-logs
6 years ago
emersion e23fe328a6
backend/session/logind: improve logging
6 years ago
emersion 491f1dbf75
backend/drm: fix VLA overflow
6 years ago
emersion 408e2a77e9
backend/wayland: fix zero-length VLA
6 years ago
Rostislav Pehlivanov 91513c89cd Fix interlaced mode rejection
6 years ago
Rostislav Pehlivanov dc9fdd6385 Skip interlaced modes during drm mode detection
6 years ago
Scott Anderson d3ee69f76b backend/x11: Hide cursor with Xfixes
6 years ago
Scott Anderson 70ae76304e backend/x11: Remove old input functions
6 years ago
Scott Anderson d89e868cc9 backend/x11: Add new Xinput events
6 years ago
Scott Anderson 88b2d6fe25 backend/x11: Check for xinput extension
6 years ago
Scott Anderson 9c1b87f210 backend/x11: Move atom initilisation earlier
6 years ago
Scott Anderson ab2c57984b backend/x11: Make header order consistent
6 years ago
Scott Anderson 51a283cbe4 backend/x11: Rename xcb_conn to xcb
6 years ago
Drew DeVault 77dfac4fa4
Merge pull request #1372 from emersion/config10
6 years ago
emersion 51bfdd620e
Use #if instead of #ifdef for wlroots config data
6 years ago
emersion 180151ed09
backend/wayland: handle WL_EVENT_WRITABLE for Wayland socket
6 years ago
Scott Anderson aaff4b8c00 backend/wayland: Make header order consistent
6 years ago
Scott Anderson bbce92a923 backend/wayland: Move initilisation code earlier
6 years ago
Scott Anderson 47545cf550 backend/wayland: Use specific wl_global versions
6 years ago
Scott Anderson 4e03802057 backend/wayland: Move registry into backend
6 years ago
emersion 09550032b7
render: correctly set EGL_RENDERABLE_TYPE
6 years ago
emersion b5125ff328
backend/drm: specify minimum config attributes
6 years ago
Drew DeVault 70ca7daeb2
Merge pull request #1346 from emersion/fix-schedule-frame-mgpu
6 years ago
emersion 68362b37a8
backend/drm: fix frame scheduling on secondary GPUs
6 years ago
emersion 443a38bd3f
backend/drm: add WLR_DRM_NO_ATOMIC_GAMMA env variable
6 years ago
Drew DeVault e0cf97da69
Merge pull request #1307 from emersion/static-analysis
6 years ago
sghctoma fa587b8ea9 Increase _POSIX_C_SOURCE to 200112L
6 years ago
emersion f9eb5df80e backend: fix use-after-free in wlr_backend_autocreate
6 years ago
emersion b66041a9e5 backend/drm: don't reset conn->pageflip_pending in drm_connector_cleanup
6 years ago
Drew DeVault 8488ed2997
Merge pull request #1298 from emersion/output-dangling-idle-frame
6 years ago
Rouven Czerwinski 77478ac302 backend/drm: set drmEventContext version to 2
6 years ago
emersion 46b1ba386f output: remove idle_frame event source when destroying output
6 years ago
Scott Anderson 885586a831
Merge pull request #1280 from emersion/drm-link-status
6 years ago
emersion 37de179013 backend/drm: fix zero-length VLAs
6 years ago
emersion 776008da69 backend/drm: properly handle GPUs without CRTCs
6 years ago
emersion ba91422747 output: don't trigger a frame immediately in schedule_frame
6 years ago
emersion eac7c2ad2f output: add presentation refresh prediction
6 years ago
emersion b0635bf3e7 Rename get_present_clock to get_presentation clock, use it
6 years ago
emersion 54e1287f30 backend: add get_present_clock
6 years ago
emersion 26b9d6dbb1 output: send present event from all backends
6 years ago
emersion 78389fe722 output: add present event
6 years ago
emersion f5a147b739 backend/drm: add support for the link-status property
6 years ago
Drew DeVault 841d04db99
Merge pull request #1262 from nyorain/session_fix
6 years ago
nyorain b4d46aa9c2 Use sd_bus_get_property_trivial & remove numbering
6 years ago
emersion 7ab37bf152 backend/drm: update EDID manufacturers database
6 years ago
emersion e88db9a3fb backend/drm: reset gamma table on VT switch
6 years ago
emersion 2beb68007e output: make gamma size a size_t and gamma table const
6 years ago
emersion 79dd9ba151 backend/drm: don't free connector immediately
6 years ago
nyorain 7b52388424 Rework session handling
6 years ago