1733 Commits (515275ee7214bf91f8a758b660093eb4b932195a)

Author SHA1 Message Date
Alexander Orzechowski 90d08f8f1c wlr_drm_format: Rework wlr_drm_format_intersect
2 years ago
Alexander Orzechowski b45396c790 wlr_drm_format: Introduce drm_format_finish
2 years ago
zhoulei 2c30500ce1 backend/drm: fix di_info memory leak
2 years ago
ptrcnull 56502be1d1 backend/x11: prevent segfault on empty DRI3 response
3 years ago
Simon Ser 44069dfd5e output-layer: add cropping support
2 years ago
Simon Ser 835208db98 output-layer: add support for scaling buffers
2 years ago
Simon Ser 89dcecba39 backend/wayland: only unmap layers when necessary
2 years ago
Simon Ser fcc092c2a6 backend/wayland: only update layer position when necessary
2 years ago
Simon Ser e8a2f76eb4 backend/wayland: only re-order sub-surfaces when necessary
2 years ago
Rose Hudson 37f42e2df2 backend/wayland: support touch cancel events
2 years ago
Simon Ser 1d64e12391 backend/drm: log drm_connector_alloc_crtc() failures
2 years ago
Simon Ser 1b6fac4aa6 output-layer: require all layers in wlr_output_state.layers
2 years ago
Simon Ser 97c8ad7c65 backend/wayland: fix leak of some globals
2 years ago
Simon Ser af5cc860e1 backend/wayland: destroy zwp_linux_buffer_params_v1 objects
2 years ago
Simon Ser a160304289 backend/drm: use libdisplay-info for CVT mode generation
2 years ago
Simon Ser 35da997001 backend/drm: use libdisplay-info to parse EDID
2 years ago
Simon Ser bec94cc040 backend: move #ifdefs to nested functions
2 years ago
Simon Ser 8acaabcbab backend: make wlr_backend_autocreate() fail when DRM is missing
2 years ago
Simon Ser b33ab26fe7 render/swapchain: make public
2 years ago
Simon Ser c667e64892 backend: disable DRM backend monitor when WLR_DRM_DEVICES is used
2 years ago
Simon Ser 7303e13808 backend: avoid adding NULL backend in attempt_backend_by_name()
2 years ago
Simon Ser 2849712356 backend: create DRM backend monitor when WLR_BACKENDS is used
2 years ago
Simon Ser bea6bee55d backend/headless: unconditionally accept all output layers
2 years ago
Simon Ser 8338d17d7e backend/drm: drop wlr_drm_layer.pending_{width,height}
2 years ago
Simon Ser bbd5145d8a backend/drm: drop unnecessary pixman_region32_t casts
2 years ago
Simon Ser 22d9df2af4 backend/drm: send output layer feedback events
2 years ago
Simon Ser 4d6fbb2289 backend/drm: add support for output layers
2 years ago
Simon Ser 2398621b8b backend/drm: add libliftoff composition layer
2 years ago
Simon Ser 9d43e7e4d6 backend/drm: add libliftoff interface
2 years ago
Simon Ser b4e9487312 backend/drm: init wlr_drm_plane for all plane types
2 years ago
Simon Ser cd17b18495 backend/wayland: implement output layers
2 years ago
Simon Ser cfa7696d7b backend/wayland: handle wl_registry.global_remove for wl_seat
2 years ago
Simon Ser 2b5eb0733e backend/wayland: make destroy_wl_seats() handle a single seat
2 years ago
Simon Ser 8df62e4016 backend/drm: require hwdata pkg-config file
2 years ago
Simon Ser afa1a7f4ba backend/wayland: update output mode after commit is done
2 years ago
Simon Ser 2e49fa1a0a backend/wayland: allow superseding a previous commit
2 years ago
Simon Ser c88ad532ad backend/wayland: don't cache next item when destroying buffers
2 years ago
Simon Ser d36dd96e8d backend/drm: set "max bpc" property based on pixel format
2 years ago
Simon Ser 324eeaa0cd backend/drm: disable all CRTCs after VT switch
2 years ago
Kirill Primak 9c7db7124e backend/x11: fix delta_discrete value
2 years ago
Simon Ser bc8260f377 backend/x11: fix initial value of wlr_x11_buffer.n_busy
2 years ago
Simon Ser dc7cc98cf2 backend/drm: check return value of get_drm_{connector,crtc}_props()
2 years ago
Simon Ser 8b8921d57b backend/drm: remove wlr_drm_crtc.legacy_crtc
2 years ago
Simon Ser 8b18352318 backend/drm: fetch fresh legacy CRTC in connector_get_current_mode()
2 years ago
Simon Ser caaea01bf6 backend/drm: drop unused arg in connector_get_current_mode()
2 years ago
Simon Ser c675380c56 backend/drm: prevent out-of-bounds array access on unknown subpixel
2 years ago
Simon Ser bde68b1df7 backend/drm: refuse to switch CRTC for enabled connector
2 years ago
Simon Ser 99fb2fefc3 backend/drm: rename wlr_drm_backend.outputs to connectors
2 years ago
Simon Ser 2c042566eb backend/drm: clear pending cursor FB in drm_connector_commit_state()
2 years ago
Simon Ser ea14e9c95f backend/drm: update wlr_drm_connnector.crtc in drm_connector_commit_state()
2 years ago
Simon Ser e59c3602f7 backend/drm: print stringified connector status in realloc_crtcs()
2 years ago
Simon Ser f361efe965 backend/drm: add drm_connector_status_str()
2 years ago
Simon Ser 037b21647b backend/drm: store pending FB in state
2 years ago
Simon Ser ae61cd6bfb backend/drm: use separate field to store pending cursor FB
2 years ago
Simon Ser 602f0d3be5 backend/drm: pass fb as arg in set_plane_props()
2 years ago
Simon Ser bc2d2e853b backend/drm: stop using goto in set_plane_props()
2 years ago
Simon Ser 72d1fd1446 backend/drm: simplify dealloc_crtc() commit
2 years ago
Simon Ser 90a6c7b7e1 backend/drm: fix VRR test
2 years ago
Simon Ser 86fc2199f8 build: unify naming for HAVE_* defines
2 years ago
Simon Ser a4a40618ad backend/libinput: use internal_config
2 years ago
Simon Ser afe1ae4479 backend/x11: ensure buffers are released on shutdown
2 years ago
Simon Ser 378f471d29 backend/wayland: ensure buffers are released on shutdown
2 years ago
Simon Ser f0375eed24 backend/session: make optional
2 years ago
Simon Ser 21254737bf backend: use time helpers to implement timeouts
2 years ago
Simon Ser fb4fb3bac2 backend: error out when missing DRM and libinput in wlr_backend_autocreate()
2 years ago
Simon Ser f839d6896f backend/session: disable libseat examples for subproject by default
2 years ago
Simon Ser 4452ed0651 backend/drm: don't damage output on CRTC change
2 years ago
Simon Ser ef5e2cc5e3 output: call wlr_output_update_enabled() after commit
2 years ago
Simon Ser 77d9fc0848 backend: rename backend to multi in wlr_backend_autocreate()
2 years ago
Simon Ser e7c556fcf6 backend: drop wlr_backend_get_session()
2 years ago
Simon Ser 41b7acbab7 backend: return wlr_session in wlr_backend_autocreate() call
2 years ago
Simon Ser 3ef68a4842 backend/x11: use request_state when window is resized
2 years ago
Simon Ser 756ecf8ee9 backend/wayland: use request_state when toplevel is resized
2 years ago
Simon Ser f863b93c05 backend/drm: only request page-flip if active
2 years ago
Simon Ser a40ba16a64 backend/drm: fix FPE when disabling output
2 years ago
Simon Ser 65836ce357 backend/drm: log modesetting commits
2 years ago
Simon Ser b3da33116e backend/drm: log refresh rate in Hz
2 years ago
Simon Ser feb5691240 backend: remove const casts for pixman_region32_t
2 years ago
Simon Ser 1928d1ce9f build: move udev dep to backend/
2 years ago
Simon Ser 1c4a625fe3 backend/drm: ensure disconnected outputs are disabled after VT switch
2 years ago
Simon Ser 84e727daae backend/drm: request page-flip event on modeset
2 years ago
illiliti eec95e3d5e backend/drm: use pnp.ids to fetch EDID data
2 years ago
Simon Ser d75b4d8e86 Revert "backend/drm: fetch EDID manufacturer from udev_hwdb"
2 years ago
Simon Ser fc3d8b228b backend/drm: get possible CRTCs in create_drm_connector()
2 years ago
Simon Ser 92580a2f67 backend/drm: extract create_drm_connector()
2 years ago
Simon Ser c6d8a11d2c backend/drm: fetch current CRTC once on startup
2 years ago
Simon Ser b475190327 backend/drm: log failures in drm_surface_blit()
2 years ago
Simon Ser a2063c93ea backend/drm: drop drm_crtc_page_flip()
2 years ago
Simon Ser 0c962c98cc backend/drm: log when restoring mode after VT switch fails
2 years ago
Simon Ser 98a83ce14c backend/drm: fix EINVAL atomic commits after VT switch
2 years ago
Simon Ser ca432ea539 backend/drm: extract current mode logic into separate function
2 years ago
Simon Ser eeb7a81138 backend/drm: extract connect_drm_connector() logic
2 years ago
Simon Ser 9560a7eefd backend/drm: use atomic API to fetch current connector's CRTC
2 years ago
Simon Ser 0c0cea0258 backend/drm: use wl_container_of() instead of casts for wlr_drm_mode
2 years ago
Alexander Orzechowski ada6f104e6 backend/drm/legacy: Fix whitespace
2 years ago
Simon Ser a28caf08e3 backend: use global output name counters
2 years ago
Simon Ser f216e97983 backend/drm: drop drm_connector_set_mode()
2 years ago
Simon Zeni 694e9bbb9d backend/drm: allocate connector CRTC on lease creation
2 years ago
Simon Ser f4cf0a8d86 backend/drm: nuke wlr_drm_connector.desired_enabled
2 years ago
Simon Ser 5a207aea72 backend/drm: drop unnecessary wlr_drm_connector.crtc checks
2 years ago
Simon Ser 6832ae14aa render: drop wlr_renderer_read_pixels() flags
2 years ago
Simon Ser 0613fb0159 backend/drm: remove outdated TODO
2 years ago
Simon Ser 6adca4089c backend/drm: don't unconditionally set desired_enabled
2 years ago
Simon Ser 651c876e79 backend/drm: fix missing wlr_output_state.allow_artifacts
2 years ago
Simon Ser a0345f2854 output: add wlr_output_state.allow_artifacts
2 years ago
John Lindgren 2b767fe743 backend/libinput: Fix SIGSEGV found in low-memory fuzzing
2 years ago
Simon Ser 0cabc83046 backend/drm: pass through mode picture aspect ratio
2 years ago
Simon Ser 800ea7d52d backend/drm: de-duplicate wlr_drm_mode creation
2 years ago
vanfanel 4ffc97d134 Only set max_bpc when full modesetting is being done.
2 years ago
vanfanel 8795dde94e Initialize connectors current mode to the mode used by KMS on startup.
2 years ago
Simon Ser 4cc5bdc4d1 backend/wayland: drop output_set_custom_mode()
2 years ago
Isaac Freund 135e60ff82 backend/x11: report adaptive sync as enabled
2 years ago
Isaac Freund 2ec27d23e0 backend/wayland: report adaptive sync as enabled
2 years ago
Simon Ser 8c70245d5f output: fail commits if adaptive sync cannot be enabled
2 years ago
Alexander Orzechowski 8bd7170fd9 Use env helpers
2 years ago
Alexander Orzechowski ef4baea0e2 Use wl_signal_emit_mutable
2 years ago
Simon Ser 8c3c6987db backend/wayland: fix touch device not added on startup
2 years ago
Simon Ser f244094682 backend/drm: drop enum wlr_drm_connector_status
2 years ago
Simon Ser 08973d2430 backend/drm: drop WLR_DRM_CONN_NEEDS_MODESET
2 years ago
Simon Ser 7b5e890e61 backend/drm: use drmModeConnectorGetPossibleCrtcs
2 years ago
Simon Ser bd587a7f43 backend/drm: use drmModeGetConnectorTypeName
2 years ago
José Expósito 11f49b6b6a backend/wayland: handle high-res scroll events
2 years ago
José Expósito e00f042f80 backend/libinput: code style consistency
2 years ago
José Expósito c6032d6b1c backend/libinput: handle high-res scroll events
2 years ago
José Expósito 65c436407f pointer: transform low-res to high-res axis events
2 years ago
José Expósito c84cc660f0 build: check if libinput supports high-res scroll
2 years ago
Isaac Freund 91943a68a6 wlr_input_device: remove anon union field
2 years ago
Simon Ser 1d581656c7 backend/drm: set "max bpc" to the max
2 years ago
Simon Ser 1f1c0275be backend/drm: remove unused CRTC count check
2 years ago
Isaac Freund 5cca72958a
backend/drm: fix NULL pointer deference due to typo
2 years ago
Simon Ser 1f96f388e9 backend/drm: make serial optional
2 years ago
Simon Ser 1b27d537d1 backend/drm: unconditionally set "content type" to graphics
2 years ago
Isaac Freund 2b10ae62ad
backend/drm: fix check for no-op commits
3 years ago
Simon Ser 6936e163b5 backend/drm: short-circuit no-op commits
3 years ago
Simon Ser acc6d94db0 backend/drm: make commits without a buffer blocking
3 years ago
Simon Ser 2563b79dc2 backend/drm: improve atomic commit flag logging
3 years ago
Simon Ser 25dd3cc0cd output: pass wlr_output_state to backend
3 years ago
Simon Ser 4f5d6e4746 backend/x11: fix output model strdup call
3 years ago
vaxerski d0d480b91a backend/drm: fix crash with null serial
3 years ago
Simon Ser be86145322 output: turn make/model/serial into char *
3 years ago
Simon Ser 2e69eb1030 backend/drm: fix crash in init_drm_surface
3 years ago
Simon Ser f91f38b79a backend/drm: remove wlr_drm_surface.{width,height}
3 years ago
Simon Ser e59f4d4ffa backend/drm: allow non-linear modifiers for multi-GPU
3 years ago
Simon Ser e646d882cf backend/drm: fetch EDID manufacturer from udev_hwdb
3 years ago
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