1589 Commits (a09d6494397bdd28a3254d2e646212afb5a3049c)

Author SHA1 Message Date
Simon Ser 7b7562eb65 backend/headless: allow variable refresh rate
3 years ago
Kirill Primak bc4350c976 backend/wayland: reset active pointer on destroy
3 years ago
Simon Ser a1e1e9aba8 Revert "backend/wayland: zero out finished input devices"
3 years ago
Simon Ser 6c350799b2 Zero-initialize structs in init functions
3 years ago
Kirill Primak 03c88b07ba backend/wayland: zero out finished input devices
3 years ago
Kirill Primak a43d105a50 backend/wayland/pointer: fix indentation
3 years ago
Alexander Orzechowski 2ce0305483 seat: Don't finish wlr_keyboard if server was never started
3 years ago
Simon Zeni aaf787ee56 types/wlr_touch: uniformize events name
3 years ago
Simon Zeni e732c5c895 types/wlr_tablet_tool: uniformize events name
3 years ago
Simon Zeni d1f543a9d8 types/wlr_tablet_pad: uniformize events name
3 years ago
Simon Zeni 13d7fa2f03 types/wlr_switch: uniformize events name
3 years ago
Simon Zeni 9a17200446 types/wlr_keyboard: uniformize events name
3 years ago
Simon Zeni bd6c000d14 types/wlr_pointer: uniformize events name
3 years ago
Simon Zeni 96ccc50c57 types/wlr_input_device: move width_mm and height_mm fields to wlr_tablet and wlr_touch
3 years ago
Simon Zeni a92e5f8d46 types/wlr_input_device: move output_name field to wlr_pointer and wlr_touch
3 years ago
Simon Zeni 2001441a37 backend/wayland: remove wl_seat_listener from public API
3 years ago
Simon Zeni b7e9ad7989 backend/wayland: remove wlr_wl_input_device
3 years ago
Simon Zeni 56f7c000b5 backend/wayland/tablet_v2: give wlr_tablet_* ownership to wlr_wl_seat
3 years ago
Simon Zeni d3fb44314c backend/wayland: give wlr_touch ownership to wlr_wl_seat
3 years ago
Simon Zeni e723dd928b backend/wayland: drop wlr_switch support
3 years ago
Simon Zeni be8527bd36 backend/wayland: give wlr_pointer ownership to wlr_wl_seat
3 years ago
Simon Zeni f9b6aa3079 backend/wayland: give wlr_keyboard ownership to wlr_wl_seat
3 years ago
Samuel Čavoj 5c17452ae0
Pass O_CLOEXEC to drmModeCreateLease calls
3 years ago
David96 7a2c96dcbd types/wlr_tablet_tool: remove name ambiguity
3 years ago
Simon Zeni cfed039c9a types/wlr_input_device: move init and finish function to private API
3 years ago
Simon Zeni 1bb2631c5c types/wlr_input_device: remove wlr_input_device_destroy
3 years ago
Simon Zeni 10cbb9fbe1 interface/wlr_touch: rework destroy sequence
3 years ago
Simon Zeni 8d3cb94b41 interface/wlr_tablet_tool: rework destroy sequence
3 years ago
Simon Zeni a5b032cb1e interface/wlr_tablet_pad: rework destroy sequence
3 years ago
Simon Zeni 0d2be496a8 interface/wlr_switch: rework destroy sequence
3 years ago
Simon Zeni 51cd3c0726 interface/wlr_pointer: rework destroy sequence
3 years ago
Simon Zeni 7dc4a3ecd7 interface/wlr_keyboard: rework destroy sequence
3 years ago
Simon Zeni d0718a9b32 backend/libinput: public API cleanup
3 years ago
Simon Zeni 0d21496e53 backend/libinput: rework tablet_pad interface
3 years ago
Simon Zeni c8456086a1 backend/libinput: rework tablet interface
3 years ago
Simon Zeni 4f4dd95223 backend/libinput: rework touch interface
3 years ago
Simon Zeni d750c5ac67 backend/libinput: rework switch interface
3 years ago
Simon Zeni d60cdad3ea backend/libinput: rework pointer interface
3 years ago
Simon Zeni 5eefda1ffe backend/libinput: rework keyboard interface
3 years ago
Simon Zeni 9dd6e2b905 backend/libinput: add devices wl_list
3 years ago
Simon Zeni e279266f71 interfaces: remove wlr_input_device_impl
3 years ago
Simon Zeni 91ba28e020 backend/libinput: remove wlr_input_device_impl
3 years ago
Simon Zeni 887516d004 backend/wayland: remove wlr_input_device_impl
3 years ago
Simon Zeni 19f7e5d2b4 backend/x11: remove wlr_input_device_impl
3 years ago
Simon Zeni edfb332b24 types/wlr_touch: add base wlr_input_device
3 years ago
Simon Zeni 7dfee50350 types/wlr_tablet_tool: add base wlr_input_device
3 years ago
Simon Zeni a662743610 types/wlr_tablet_pad: add base wlr_input_device
3 years ago
Simon Zeni 0f3b38365d types/wlr_switch: add base wlr_input_device
3 years ago
Simon Zeni d5480efc7a types/wlr_pointer: add base wlr_input_device
3 years ago
Simon Zeni a1978b1299 types/wlr_keyboard: add base wlr_input_device
3 years ago
Simon Zeni 71577e351e types/wlr_input_device: default vendor and product id to 0
3 years ago
Simon Zeni 7d560df90e backend/headless: remove unused wlr_headless_input_device
3 years ago
Simon Ser ec28457508 backend: error out in autocreate without libinput support
3 years ago
Simon Ser b5a019d575 build: simplify Meson subproject fallbacks
3 years ago
Simon Ser 9f41627aa1 backend/wayland: add basic linux-dmabuf feedback support
3 years ago
Simon Ser bedfec94bb backend/drm: use drmCloseBufferHandle
3 years ago
Simon Ser a15c327718 backend/drm: use drmModeFormatModifierBlobIterNext
3 years ago
Chris Chamberlain d8ca494558 backend/drm: add wlr_drm_backend_monitor
3 years ago
Chris Chamberlain f6d3efbf4b backend: fix return value of attempt_drm_backend
3 years ago
Simon Ser 818fc4a87b Fix incorrect %zd formatting directives
3 years ago
Simon Ser 36a2b19485 output: introduce wlr_output_set_name
3 years ago
Simon Ser ad28490cf4 build: move wayland-client dep to backend/wayland/
3 years ago
Quantum 812ab2e716 Fix uninitialized variable errors in release mode
3 years ago
Moon Sungjoon 611b9ca843 backend/wayland: improve wayland input device name
3 years ago
Simon Ser fbaefd90fc backend/drm: poison buffers which cannot be scanned out
3 years ago
Simon Ser ef1669d33e backend/drm: always add LINEAR to supported modifiers
3 years ago
Simon Ser e163a7cf48 backend/drm: fail on explicit modifier in drmModeAddFB2
3 years ago
Simon Ser affe9eda57 Require INVALID for implicit format modifiers
3 years ago
Simon Zeni 1d3dd7fc08 backend: remove noop backend
3 years ago
Simon Ser b234edcf58 backend/headless: drop wlr_headless_backend_create_with_renderer
3 years ago
Simon Ser f29abe4c77 backend/headless: stop picking a DRM FD
3 years ago
Simon Ser 1d9c1bcea6 input-device: remove wlr_input_device.link
3 years ago
Simon Ser 3b93da70a0 backend/wayland: report parent presentation clock
3 years ago
Simon Ser e656697a7d backend/drm: scan leases on uevent
3 years ago
Simon Ser 86f5ecf468 backend/drm: introduce wlr_drm_lease
3 years ago
Simon Ser a37f538ca0 Introduce WLR_DEVICE_LEASE events
3 years ago
Manuel Stoeckl 3d7d6ec06f output: use XRGB8888 format instead of ARGB8888
3 years ago
Simon Zeni c0fd60be63 backend: fix attempt_backend_by_name multi backend self insertion
3 years ago
Simon Zeni 25bb92faee backend/multi: add asserts in wlr_multi_backend_add
3 years ago
Simon Zeni fdf3169b41 backend: remove wlr_backend_get_renderer
3 years ago
Simon Zeni d1ebd52ab2 backend/multi: remove backend_get_renderer
3 years ago
Simon Zeni 42549a1c9a backend/drm: stop initializing backend renderer
3 years ago
Simon Zeni a143093339 backend/headless: don't store the parent renderer
3 years ago
Simon Zeni 5f11198605 backend/x11: get renderer from wlr_x11_output
3 years ago
Simon Zeni 6dc6af1534 backend: remove backend_get_allocator
3 years ago
Simon Zeni 0c76aef202 backend: remove backend ensure renderer and allocator check
3 years ago
Simon Ser a04cfca4da Remove support for DMA-BUF flags
3 years ago
Roman Gilg 8274c85d21 backend/headless: unlink input device on destroy
3 years ago
Simon Ser e13f3f8608 backend/drm: handle per-connector hotplug events
3 years ago
Simon Ser 2ff4e113e2 backend/session: introduce wlr_device_change_event
3 years ago
Ronan Pigott 8e225261f0 backend/wayland: use xdga client activation
3 years ago
Simon Ser 83090de034 backend/drm: avoid creating empty FB_DAMAGE_CLIPS prop
3 years ago
Simon Ser 0817c52a21 backend/drm: get rid of BO handle table
3 years ago
Haelwenn (lanodan) Monnier a92293a15a backend/drm/legacy.c: Fix memory leak in drm_legacy_crtc_set_gamma
3 years ago
MarkusVolk ebe3cfaceb backend.c: do not try to explicitly clean up the libinput backend
3 years ago
Simon Ser cbedbd0fc0 backend/x11: fix code style in get_touchpoint_from_x11_touch_id
3 years ago
Simon Ser 5619cf368b backend/drm: add entry for Valve EDID vendor
3 years ago
Simon Zeni 70e8277175 backend/multi: implement get_buffer_caps
3 years ago
Anthony Super e22a386319 Add error handling to backend creation
3 years ago
Kirill Primak 2af8cc769a output: add presented flag to presentation event
3 years ago
Kirill Primak 1089b7b8d6 output: disallow NULL event for wlr_output_send_present()
3 years ago
Jan Beich 31af2b67b0 backend: drop unconditional and unused <libinput.h>
3 years ago
Elyes HAOUAS dc3d1530bf Fix spelling errors
3 years ago
Simon Ser 1d7e438d8a Revert "Require INVALID for implicit format modifiers"
3 years ago
Simon Ser 61b83441a1 Revert "backend/drm: fail on explicit modifier in drmModeAddFB2"
3 years ago
Simon Ser d6be1d68b7 backend/drm: fail on explicit modifier in drmModeAddFB2
3 years ago
Simon Ser ea7357b703 Require INVALID for implicit format modifiers
3 years ago
Simon Ser 3d0848daae backend: create renderer and allocator in wlr_backend_autocreate
3 years ago
José Expósito 62e62b6942 backend/wayland: send hold gesture events
3 years ago
José Expósito 52d2491931 backend/libinput: send hold gesture events
3 years ago
José Expósito 95970b3619 build: check if libinput supports hold gestures
3 years ago
Simon Ser 2e12de96ca backend/drm: add support for panel orientation
3 years ago
Simon Zeni 94ed8f9496 backend/drm: introduce wlr_drm_backend_get_non_master_fd
3 years ago
Simon Zeni e5a949a955 backend/drm: implement drm lease function
3 years ago
Simon Ser 42dba9dc90 backend/drm: drop wlr_drm_connector.desired_mode
3 years ago
Simon Ser b01d97a38f backend/drm: drop attempt_enable_needs_modeset
3 years ago
muradm 35f0a0d570 backend: wait for session to become active
3 years ago
Simon Ser 0c8fba1a2f backend/drm: drop drm_connector_init_renderer
3 years ago
Simon Ser de1c73021c backend/drm: drop unused arg from get_possible_crtcs
3 years ago
Simon Ser 274c8189d4 backend/drm: fix crash on VT switch
3 years ago
Simon Ser 3c74bd0c91 backend/drm: introduce wlr_drm_connector_state
3 years ago
Simon Ser 3fbf6e02a3 backend/drm: rename enum wlr_drm_connector_state to status
3 years ago
Simon Ser 5aa5137fae backend/drm: handle drm_surface_blit errors
3 years ago
Simon Ser 5dfaf5ea9c backend/drm: introduce wlr_drm_bo_handle_table
3 years ago
Simon Ser 3ce2ea9e16 Move allocator stuff into new directory
3 years ago
Simon Ser 65c0ab00b6 backend/drm: generate CVT reduced modes
3 years ago
Rouven Czerwinski 9b7803a9b3 backend/drm: try to allocate crtc for formats
3 years ago
Simon Ser 18c2dce65e backend: unify startup messages
3 years ago
Simon Ser 46c42e55c6 backend/drm: add support for FB_DAMAGE_CLIPS
3 years ago
Rouven Czerwinski cdd9a60f72 Revert "backend/drm: Check if output is enabled before sending frame event"
3 years ago
Rouven Czerwinski 59b292b691 backend/drm: return true on test if no crtc
3 years ago
Simon Ser 7544b7abf9 backend/drm: use addon for wlr_drm_fb
3 years ago
Tudor Brindus 0c19a28266 input/tablet: fix `wl_array_for_each` usage on tablet proximity
3 years ago
Simon Ser 604674dc54 backend/drm: always perform a test commit in drm_connector_test
3 years ago
Simon Ser eb0ce659cf backend/drm: add proper error handling to wlr_drm_backend_create
3 years ago
Simon Ser 1936e136df backend/drm: require buffer on modeset in drm_connector_test
3 years ago
Simon Ser 923258b0be backend/drm: preserve mode order from kernel
3 years ago
Simon Ser 3132c0ab10 output: drop wlr_output_state.buffer_type
3 years ago
Simon Ser d17a009062 backend/noop: drop attach_render/rollback_render
3 years ago
Simon Ser 55ac7e335a backend/drm: fix wrong type for get_cursor_format return values
3 years ago
Simon Ser c55f70c8b7 backend/drm: stop initializing renderer for parent backend
3 years ago
Simon Ser c74dc45bb6 backend/drm: drop get_renderer implementation
3 years ago
Simon Ser 9b99570869 backend/drm: drop drm_surface_{make,unset}_current
3 years ago
Simon Ser ebb661532c backend/drm: remove SCANOUT check in drm_connector_test
3 years ago
Simon Ser f5900c1f00 backend/drm: remove primary swapchain
3 years ago
Simon Ser 85d7ad2eef backend/drm: allow legacy scan-out if FB props match
3 years ago
Simon Ser d6f0fc251e backend/drm: implement get_primary_formats
3 years ago
Simon Zeni 04d4fb536d render/wlr_texture: put wlr_texture_from_buffer into the public API
3 years ago
ayaka 70fb21c35b backend: make DRM and libinput backends optional
3 years ago
Simon Ser 66c42f4fcb backend/drm: add DRM_MODE_CONNECTOR_USB to conn_get_name
3 years ago
Simon Ser cc8bc0db20 backend/drm: stop restoring CRTCs on exit
3 years ago
Simon Ser f94eb174c7 backend/drm: fix NULL data in handle_drm_event
3 years ago
Simon Ser a47f89cf7c backend/wayland: properly cleanup wlr_wl_pointer
3 years ago
Simon Ser 709190c4c8 backend/drm: remove wlr_output_impl.export_dmabuf
3 years ago
Simon Ser aec062d0d3 backend/headless: remove wlr_output_impl.export_dmabuf
3 years ago
Simon Ser f67cfb2ce2 backend/drm: remove backend arg from wlr_drm_interface.crtc_commit
3 years ago
Simon Ser fde56c20b4 backend/drm: move legacy-specific checks to legacy.c
3 years ago
Simon Ser 017555651b backend/drm: add test_only arg to wlr_drm_interface.crtc_commit
3 years ago
Simon Ser c1b27cc499 backend/drm: stop using drm_surface_make_current in drm_surface_blit
3 years ago
Simon Ser d71ed635b9 backend/drm: force linear layout for multi-GPU buffers
3 years ago
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