1679 Commits (86e1b24d8433ce54965a7d4fa1d67187dc4f83b5)

Author SHA1 Message Date
Simon Ser e035f2b9c4 Fix invalid uses of wl_array_for_each
3 years ago
Simon Ser c1902cdb3f backend/x11: send touch frame events
3 years ago
Simon Ser 8eef6a8843 backend/wayland: send touch frame events
3 years ago
Simon Ser 2d36d7fb67 backend/libinput: send touch frame events
3 years ago
Simon Zeni e192d87731 move wlr_box from /types to /util
3 years ago
Simon Ser 4dee7a2f6f backend/drm: don't clear pending cursor FB on failed commit
3 years ago
Simon Ser 5f26360bd8 Revert "backend/drm: populate cursor plane's current_fb"
3 years ago
Simon Ser 0a522cb798 backend/libinput: use wl_array for wlr_libinput_tablet.tools
3 years ago
Simon Ser a38baec1f8 buffer: make enum wlr_buffer_cap public
3 years ago
Simon Ser 5888c96da8 tablet: stop using wlr_list
3 years ago
Simon Ser e6cb11d882 backend/libinput: stop using wlr_list internally
3 years ago
Simon Ser dbb0e2f75b Remove unused wlr_list.h includes
3 years ago
Simon Ser 264d4e2bce backend/drm: rename page_flip_handler to handle_page_flip
3 years ago
Simon Ser 2f615468b6 backend: add output state allow-lists
3 years ago
Simon Ser 72ee196efa backend/session: use DRM_PRIMARY_MINOR_NAME
3 years ago
Simon Ser fb933d3204 backend/session: use drmIsKMS
3 years ago
Simon Ser 6c3d080e25 backend/drm: populate cursor plane's current_fb
3 years ago
Simon Ser 3345eaca89 backend/drm: remove test_buffer
3 years ago
Simon Ser eca5d2f37f backend/drm: move session check from test_buffer to drm_connector_test
3 years ago
Simon Ser 758f117442 backend/drm: move drm_connector_set_pending_fb up
3 years ago
Simon Ser f55b43ddd6 backend/drm: allocate a CRTC in drm_connector_test
3 years ago
Simon Ser cb378600e4 backend/drm: allocate a CRTC in drm_connector_commit_state
3 years ago
Simon Ser b180d3482f backend/drm: introduce drm_connector_alloc_crtc
3 years ago
Simon Ser 63f891e393 backend/drm: allow committing a buffer and a mode together
3 years ago
Simon Ser e89cf5f047 backend/drm: use atomic test-only commits for modifier fallback
3 years ago
Simon Ser b2f6db3533 render: drop wlr_ prefix from wlr_renderer_bind_buffer
4 years ago
Simon Ser c87c849ec6 backend/x11: use wlr_renderer_begin_with_buffer for cursor
4 years ago
Simon Ser 543f5b35d0 backend/wayland: remove swapchain
4 years ago
Simon Ser 5f8092b045 backend/wayland: implement get_dmabuf_primary_formats
4 years ago
Simon Ser a670ee7940 backend/x11: remove swapchain
4 years ago
Simon Ser 68c4f15958 backend/x11: implement get_dmabuf_primary_formats
4 years ago
Simon Ser 44feb832f9 backend/headless: remove swapchain
4 years ago
Simon Ser b86a0c8d8f backend/drm: move cursor fields to wlr_drm_connector
4 years ago
Simon Ser 2b0a1aeed5 output: take a wlr_buffer in set_cursor
4 years ago
Simon Ser 01e0f51fad backend/drm: introduce drm_plane_pick_render_format
4 years ago
Simon Ser e06ea4e84a backend/drm: remove format arg from drm_plane_init_surface
4 years ago
Simon Ser 9e9be83a58 backend/drm: implement get_cursor_formats and get_cursor_size
4 years ago
Simon Ser de51df2770 backend/wayland: implement get_cursor_formats
4 years ago
Simon Ser ce3e819b33 backend: stop using renderer to get the buffer type
4 years ago
Simon Ser fd2b1f018e backend/x11: use common renderer and allocator
4 years ago
Simon Ser c82f37542d backend/headless: use common renderer and allocator
4 years ago
Simon Ser 349553d011 backend/wayland: use common renderer and allocator
4 years ago
Simon Ser 4dae12890f backend: automatically create allocator
4 years ago
Simon Ser bcabe34a2e backend: automatically create renderer
4 years ago
Simon Ser 7ec5bf6b10 backend: introduce wlr_backend_finish
4 years ago
Simon Ser 9ca743f9fd backend/drm: use wlr_texture_from_buffer
4 years ago
Kenny Levinsen 2603a5dee7 backend/drm: Do not require mode commit on enable
4 years ago
Simon Ser c85789a3a9 backend/headless: dup DRM FD in wlr_headless_backend_create_with_renderer
4 years ago
Simon Ser a1e8a639b3 backend/drm: introduce drm_connector_commit_state
4 years ago
Simon Ser e543e26206 backend/drm: take a wlr_drm_connector instead of a wlr_output
4 years ago
Simon Ser e06c62af77 backend/drm: take output state arg in drm_connector_commit_buffer
4 years ago
Simon Ser 218955ce95 backend/drm: remove mode arg from drm_connector_set_mode
4 years ago
Simon Ser 7aba881c47 backend/drm: remove mode arg from drm_connector_init_renderer
4 years ago
Simon Ser 31082a0554 backend/drm: remove wlr_drm_crtc_state.mode
4 years ago
Simon Ser dfea0ff31d backend/drm: remove wlr_drm_crtc_state.active
4 years ago
Simon Ser 485ecc11a6 backend/drm: remove wlr_drm_crtc.pending_modeset
4 years ago
Simon Ser c9c2d7539c backend/drm: fill scratch wlr_output_state for set_mode
4 years ago
Simon Ser 1a9701cd7c backend/drm: take wlr_output_state as arg in commit callers
4 years ago
Simon Ser 8f90d7f8f5 backend/drm: take wlr_output_state as arg in crtc_commit
4 years ago
Simon Ser e7f68ba081 backend/drm: fix allocator DRM FD on multi-GPU setups
4 years ago
Simon Ser 619a975025 render: remove wlr_ prefix from wlr_renderer_autocreate_with_drm_fd
4 years ago
Simon Ser 6bf2406dbf backend/drm: reword wlr_renderer failure message
4 years ago
Simon Ser 1c1ef69326 Log when WLR_BACKENDS/WLR_RENDERER is set
4 years ago
Simon Zeni cc1b66364c backend: use wlr_allocator_autocreate
4 years ago
Simon Zeni 144189674e backend: introduce backend_get_buffer_caps
4 years ago
Simon Zeni a8c91fbac9 render/shm_allocator: make wlr_shm_allocator_create return a wlr_allocator
4 years ago
Simon Zeni c75aa71816 render/gbm_allocator: make wlr_gbm_allocator_create return a wlr_allocator
4 years ago
Simon Ser 0411dc0663 Revert "backend/drm: fail instead of stripping a modifier"
4 years ago
Simon Ser 4839664a92 backend/drm: carry on when disabling a CRTC fails
4 years ago
Simon Ser 9b0e0970f9 backend/drm: destroy backend on udev remove event
4 years ago
Simon Ser 5597776914 backend/session: add wlr_device.events.remove
4 years ago
Simon Ser c49ea9ef4f backend/drm: destroy when parent is destroyed
4 years ago
Simon Ser e804de923d backend/drm: clarify error message on drmModeAddFB fallback
4 years ago
Simon Ser f9f90b4173 backend/drm: fail instead of stripping a modifier
4 years ago
Simon Ser 5c699f09cb Log drmGetDevices2 error code
4 years ago
Tadeo Kondrak 014c59aa40 backend/x11: add support for shm buffers
4 years ago
tomKPZ 7c9b61b18c Fix stuck keys on X11 backend
4 years ago
Kenny Levinsen 3432ab2ba7 backend/session: Close remaining devices on destroy
4 years ago
Kenny Levinsen e7515529ce backend/session: Close fd in wlr_session_close_file
4 years ago
Simon Ser 9de93a866f backend/wayland: fallback to wl_shm on missing render node
4 years ago
Simon Ser 80865351bd backend/wayland: add support for wl_shm buffers
4 years ago
Simon Zeni 84dea55b20 render: rename get_dmabuf_render_formats into get_render_formats
4 years ago
Simon Ser 1e5460d4c6 backend/x11: check for connection errors
4 years ago
Simon Ser 053ebe7c27 backend/drm: terminate display on drmHandleEvent failure
4 years ago
Simon Ser 846e0838d6 backend/libinput: terminate display on error
4 years ago
Kenny Levinsen 7f09085461 backend/session: Remove session_impl
4 years ago
Kenny Levinsen 3f87c2caea backend/session: Remove noop backend
4 years ago
Kenny Levinsen d037c2dddc backend/session: Remove direct backend
4 years ago
Kenny Levinsen 95b657ba80 backend/session: Make libseat mandatory
4 years ago
Roman Gilg b36af22c94 backend: move get_drm_fd to public interface
4 years ago
Kenny Levinsen d50bbf0bbc backend/session: Remove logind backend
4 years ago
Stephan Hilb 9f012cac2f drm: check for PRIME support
4 years ago
Simon Ser d5105c42e3 build: disable libseat subproject server and man pages
4 years ago
Simon Ser 1eb38e0015 Remove WLR_HAS_XCB_ERRORS
4 years ago
Simon Ser 8ccb4bbb5f backend/drm: stop testing for buffer in drm_connector_commit_buffer
4 years ago
Simon Ser d0bf750916 backend/drm: use atomic test-only commits for direct scan-out
4 years ago
Simon Ser 7efc2d05b7 backend/drm: downgrade test-only commit failure log level
4 years ago
Simon Ser 5088e25eaf backend/drm: don't set NONBLOCK with TEST_ONLY
4 years ago
Simon Ser e9361e0492 backend/x11: reject DMA-BUFs with flags
4 years ago
Simon Ser 6bfbf35618 backend/drm: reject DMA-BUFs with flags
4 years ago
Simon Ser 1ec97bdf4f backend/drm: improve logs in drm_fb_create
4 years ago
Simon Ser 511e42be5e backend/drm: try to import buffer when testing it
4 years ago
Simon Ser 07a5345aa5 build: add subproject fallback for libseat
4 years ago
Simon Ser 7709a965e5 backend/drm: use format table in test_buffer
4 years ago
Simon Ser b89bcffea4 render/egl, backend/wayland: add workaround for split render/display setups
4 years ago
Simon Zeni c8b3536b01 backend/drm: use pixel format table in renderer
4 years ago
Simon Ser c740fccc9d Fix buffer blit matrices
4 years ago
Kenny Levinsen 883d5b6e7c backend/session/libseat: Set loglevel to INFO
4 years ago
Simon Ser 44fa2c4b49 output: fix transform matrix for 90/270 rotations
4 years ago
Simon Zeni 9601a2abf0 output: improve transform matrix calculation
4 years ago
Ilia Mirkin 10dbb00f5f backend/x11: clamp hotspot to texture bounds
4 years ago
Simon Ser a02da8e6f6 backend/drm: add new writeback and SPI connector types
4 years ago
Simon Ser 73137ace84 backend/session: fix KMS device filtering
4 years ago
Simon Ser b54ef3372d render: use DRM formats in wlr_renderer_read_pixels
4 years ago
Simon Ser f3758d1d0a backend: add error messages in attach_render impls
4 years ago
Simon Ser 6f873078d4 build: use dictionnary for features instead of configuration_data
4 years ago
Simon Ser 533a36f05a backend/x11: drop x11-xcb dependency
4 years ago
Ilia Mirkin ef94e7e847 backend/x11: use native cursors
4 years ago
Manuel Stoeckl a290d7a78d Make implementation function lists static const
4 years ago
Simon Ser 8e27418dd3 backend/wayland: flush remote display
4 years ago
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
4 years ago
Simon Ser bf93d2e67c output: rename impl->rollback to rollback_render
4 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
5 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