1980 Commits (724aa38fc2de14909663cb984a9de64a561abf5f)

Author SHA1 Message Date
Kirill Primak 617eb4fb93 surface: deprecate wlr_surface.h
3 years ago
Kirill Primak 36b5d5888c surface: move impl to types/wlr_{sub,}compositor.c
3 years ago
Kirill Primak 4ec683ad1c surface: introduce events.client_commit
3 years ago
Kirill Primak b6f43ab2e1 subcompositor: split out from compositor
3 years ago
Kirill Primak 83ab5055fd scene/subsurface_tree: fix handling subsurface destruction
3 years ago
Simon Ser 812951f5bc scene: schedule an output frame on wl_surface.frame
3 years ago
Isaac Freund 92d137c78a layer-shell: fix type of margins
3 years ago
Stacy Harper 8e566f716c layer-shell: don't set committed flag if the property didn't change
3 years ago
Isaac Freund 07ccc6e0b3
scene: add wlr_scene_set_presentation()
3 years ago
Simon Ser 4377b55292 util/global: remove wl_display arg from wlr_global_destroy_safe
3 years ago
Guido Günther 4c59f7d46a xdg-activation: Allow to submit tokens
3 years ago
David Rosca 31914928d2
seat: Only resend keyboard/pointer enter to focused clients
3 years ago
Isaac Freund 1c3e0816f3
scene: fix wlr_scene_send_frame_done() API
3 years ago
Isaac Freund fecde72be3 scene: add wlr_scene_send_frame_done()
3 years ago
Isaac Freund fb1f613510 scene: add primary output to wlr_scene_surface
3 years ago
Isaac Freund 0215dffba5 scene: send surface enter/leave output events
3 years ago
Simon Ser e3fefda023 output: add support for protocol interface version 4
3 years ago
Kirill Primak 0fcc842291 subsurface: don't add to parent list immediately
3 years ago
Kirill Primak 7964bdae76 surface: fix non-buffer damage handling
3 years ago
Kirill Primak df7d280343 subsurface: apply position change at the right moment
3 years ago
Kirill Primak f463ca669a subsurface: simplify and fix parent commit handling
3 years ago
Simon Ser 36a2b19485 output: introduce wlr_output_set_name
3 years ago
Simon Ser c50c4fc5cc linux-dmabuf-v1: add per-surface feedback
3 years ago
Simon Ser 1d8340754b linux-dmabuf-v1: implement v4
3 years ago
Kirill Primak c9f3c2b4f7 surface: fix damage transformation
3 years ago
tiosgz ca1af8119c Fix wlr_scene_node_lower_to_bottom
3 years ago
Simon Ser efeb8346cf output: drop front_buffer
3 years ago
Simon Ser 45069fb623 screencopy-v1: use wlr_output_event_commit.buffer
3 years ago
Simon Ser 60b7267e18 export-dmabuf-v1: use wlr_output_event_commit.buffer
3 years ago
Simon Ser f016eca97c output: add wlr_output_event_commit.buffer
3 years ago
Simon Ser 0d32118a80 output: fix modifier stripping
3 years ago
Simon Ser ba974a4e9f scene: add wlr_scene_get_scene_output
3 years ago
Simon Zeni dd84c5a1cc types/wlr_drm_lease_v1: add NULL check to drm lease resource destroy
3 years ago
Simon Ser 697a1cd0f5 output: add wlr_output_get_primary_formats
3 years ago
Simon Ser 2540de494e output: don't leave dangling cursor_front_buffer
3 years ago
Simon Ser 456b971099 output: destroy swapchain when disabled
3 years ago
Rouven Czerwinski 6bfb930aa7 linux-dmabuf-v1: fix implicit check
3 years ago
John Lindgren bff5b2c559 Insert new outputs at the end of the list
3 years ago
Jonathan Wong 0fb479ca61 Added whitespace between "output" and "(not"
3 years ago
Rouven Czerwinski d37eb5c2ea linux-dmabuf-v1: filter out LINEAR if implicit
3 years ago
Simon Ser 254ab890e7 scene: add support for viewporter
3 years ago
Simon Ser affe9eda57 Require INVALID for implicit format modifiers
3 years ago
Simon Ser 585a908a01 scene: add wlr_scene_xdg_surface_create
3 years ago
Isaac Freund c9ba9e82b6
wlr_drag: emit destroy after wl_data_device.leave
3 years ago
Simon Ser 3d73b899ff linux-dmabuf-v1: hide wlr_linux_buffer_params_v1
3 years ago
Simon Ser 6bb8973309 drm-lease-v1: listen to lease destroy event
3 years ago
Simon Ser 86f5ecf468 backend/drm: introduce wlr_drm_lease
3 years ago
Manuel Stoeckl d0bb7df630 output: remove XRGB8888 cursor fallback format
3 years ago
Manuel Stoeckl e879d566bb output: Add function to set preferred render format
3 years ago
Manuel Stoeckl 3d7d6ec06f output: use XRGB8888 format instead of ARGB8888
3 years ago
Manuel Stoeckl 7508f87fcb output: lift up output format fallback logic
3 years ago
Simon Ser 33eba9080c output: fix renderer buffer cap sanity check in wlr_output_init_render
3 years ago
Simon Zeni 5a98eae0dc types/wlr_scene: use renderer from wlr_output
3 years ago
Simon Zeni d07c87f668 types/wlr_screencopy_v1: use renderer from output
3 years ago
Simon Ser 142d10e591 output: add wlr_output_init_render
3 years ago
Simon Ser a04cfca4da Remove support for DMA-BUF flags
3 years ago
Simon Ser 9a4e1095ca linux-dmabuf-v1: properly validate flags
3 years ago
Isaac Freund ab16861e86 text-input: fix type of send_preedit_string() args
3 years ago
Simon Ser 76bab68e70 output: drop wlr_output_export_dmabuf
3 years ago
Simon Ser fa77aeb80e screencopy-v1: stop using wlr_output_export_dmabuf
3 years ago
Simon Ser f20c49d78a export-dmabuf-v1: stop using wlr_output_export_dmabuf
3 years ago
Isaac Freund e326b76959
text-input/input-method: handle strdup() failure
3 years ago
Simon Ser eb5f23d6d0 scene: fix calloc size mismatch
3 years ago
Isaac Freund 8634dd3e6a
output: fix leak of wlr_drm_format
3 years ago
tiosgz cc2ebd9fc0 scene/subsurface_tree: hide unmapped subsurfaces
3 years ago
Ronan Pigott e2aff8a9b0 xdg-activation-v1: add data field and emit token destroy events
3 years ago
Ronan Pigott 6ad0f819e2 xdg-activation-v1: enable compositors to request their own tokens
3 years ago
Simon Ser b2f6ff45c2 output: fix stack variable lifetime in wlr_output_send_present
3 years ago
Simon Ser 3b96aa04db sceeencopy-v1: listen to output destroy in capture_output
3 years ago
Simon Ser a80f2b2816 scene: inline subsurface_tree_destroy
3 years ago
Simon Ser bf42630d32 output: refuse to enable with zero mode
3 years ago
Simon Ser 3d6ca9942d xdg-foreign-v2: use error enum
3 years ago
Simon Ser fb393ddf84 output: split into multiple files
3 years ago
Simon Ser a4ccca0834 scene: add support for direct scan-out
3 years ago
Simon Ser db4c93028d scene: add wlr_scene_output_for_each_surface
3 years ago
Kirill Primak 6c3a71d9f6 presentation-time: use a surface addon
3 years ago
Simon Ser f7ea33da0a scene: remove surface commit listener when node is destroyed
3 years ago
Kirill Primak 2edf468aeb presentation-time: don't send presented on discard
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
Isaac Freund 4fae8f7be3 scene: add functions to place node on top/bottom
3 years ago
Isaac Freund 2a8d385386 scene: assert that node != sibling in place above/below
3 years ago
Kirill Primak c3e54021f8 xdg-decoration: refactor configure/state flow
3 years ago
Kirill Primak cdaab82020 layer-shell: move NULL buffer check to role precommit handler
3 years ago
Kirill Primak 28248dd83b xdg-shell: remove redundant NULL buffer check
3 years ago
tiosgz ce66244fd2 surface_at: check if surfaces are mapped
3 years ago
tiosgz 893434b2d4 for_each_surface: only iterate mapped surfaces
3 years ago
Simon Ser 1d7e438d8a Revert "Require INVALID for implicit format modifiers"
3 years ago
Simon Ser ea7357b703 Require INVALID for implicit format modifiers
3 years ago
Simon Ser 744a5c2fef xdg-shell: stop clearing wlr_xdg_surface state on unmap
3 years ago
Simon Ser 665a164f27 xdg-shell: rename wlr_xdg_surface.next_configure_serial
3 years ago
Simon Ser 0e34208344 xdg-shell: introduce wlr_xdg_surface.current
3 years ago
Kirill Primak db4afc2408 xdg-surface: add pending state
3 years ago
José Expósito 20d9448257 wlr_pointer_gestures: hold gestures (protocol v3)
3 years ago
José Expósito 5f3e490c80 wlr_pointer_gestures: update protocol to version 2
3 years ago
José Expósito 4c3e307ec8 cursor: emit hold gesture events
3 years ago
José Expósito d069a783bc pointer: add hold pointer event definition
3 years ago
Kirill Primak 754f40f9cb layer-shell: add `committed` bitmask
3 years ago
Kirill Primak 59fa3637c3 layer-shell: refactor configure/state flow
3 years ago
Simon Ser 3c26244340 scene: add wlr_scene_buffer_set_transform
3 years ago
Simon Ser 43833fba64 scene: add wlr_scene_buffer_set_dest_size
3 years ago
Simon Ser 3d4afbe945 scene: use scene_node_get_size in wlr_scene_node_at
3 years ago
Simon Ser 27b529f8a0 scene: add scene_node_get_size helper
3 years ago
Simon Ser 63040d6744 scene: add wlr_scene_buffer_set_source_box
3 years ago
Simon Ser 7939bf8cc6 scene: add wlr_scene_buffer
3 years ago
Simon Ser f6f0e010d1 scene: unify intersection logic in wlr_scene_node_at
3 years ago
Simon Ser b25759cd20 scene: drop default case in wlr_scene_node_at
3 years ago
Tadeo Kondrak 30d3c76817 Implement input_method_v2 popups
3 years ago
Simon Ser 2e590026e9 scene: add wlr_scene_subsurface_tree_create
3 years ago
Simon Ser 597ba2b932 surface: add addon set
3 years ago
Simon Ser 211b3b760e scene: add wlr_scene_tree
3 years ago
Kirill Primak ccc84f11a4 xdg surface: check adding configure_idle for NULL
3 years ago
Kirill Primak 0e2d369106 xdg-surface: simplify configure mechanism
3 years ago
Kirill Primak b72a217fcc xdg-toplevel: refactor configure/state flow
3 years ago
Simon Zeni 9579d62a16 types/buffer: make {begin,end}_data_ptr_access part of the public API
3 years ago
Kirill Primak 52da68b591 xdg popup: move function to a file it belongs to
3 years ago
Simon Ser 4e7a8707cc buffer: add data_ptr access flags
3 years ago
Andri Yngvason 105fdecd0c screencopy: Handle shm copy in commit event handler
3 years ago
Andri Yngvason 04d234bac1 screencopy: Use output->front_buffer instead of wlr_output_export_dmabuf
3 years ago
Simon Ser a181a37b12 scene: add wlr_scene_attach_output_layout
3 years ago
Simon Ser 7832005a1f scene: move source to subdir
3 years ago
Quantum 679f5ed966 scene: fix compile error in release builds
3 years ago
Simon Ser 44f0f7a0a7 scene: add damage tracking support
3 years ago
Simon Ser 9195b77e14 scene: add wlr_scene_node_coords
3 years ago
Simon Ser 04d105760d scene: add wlr_scene_output_commit
3 years ago
Simon Ser 968c1df7e9 scene: add scene outputs
3 years ago
Simon Ser 872993f95d scene: fix wlr_scene_render_output offset
3 years ago
Simon Zeni 3984c81faa types: introduce wlr_drm_lease_v1
3 years ago
Simon Ser 04304c322e output-damage: fix damage on modeset
3 years ago
Simon Ser 88919464ef surface: fix abort on NULL buffer attach
3 years ago
Simon Ser ba0525c5c0 surface: drop wlr_surface_state.buffer_resource
3 years ago
Simon Ser 0978a702d7 surface: ensure buffer is reset to NULL in surface_state_move
3 years ago
Simon Ser 0fe3b45361 viewporter: hide wlr_viewport
3 years ago
Simon Ser bb82b6dada buffer: make wlr_client_buffer_apply_damage return a bool
3 years ago
Simon Ser cbe099dcc7 buffer: take a wlr_buffer in wlr_client_buffer_apply_damage
3 years ago
Kirill Primak 610f0c0805 surface: inline surface_commit_pending()
3 years ago
Kirill Primak cf56596565 surface: change surface_finalize_state() to surface_finalize_pending()
3 years ago
Kirill Primak ba55c7c4ff surface: rename impl and its functions
3 years ago
Kirill Primak 90e62390d9 surface: move subsurface lists to state
3 years ago
Simon Ser 3ac99fa4dc subsurface: move parent link to state
3 years ago
Simon Ser 56b6b80b9a subsurface: rename wlr_subsurface_state to wlr_subsurface_parent_state
3 years ago
Kirill Primak 242c23743f surface: cache frame callback lists again
3 years ago
Simon Ser d290b13871 seat: avoid copying the keymap for each client
3 years ago
Simon Ser 62924cc523 keyboard: add wlr_keyboard.keymap_fd
3 years ago
Devin J. Pohly 00c2bae1d3 scene: remove redundant empty-region check in render_texture()
3 years ago
Devin J. Pohly 9ed16e39fa scene: replace surface_at() with node_at()
3 years ago
Devin J. Pohly b7cd06e8fa scene: add RECT node type
3 years ago
Devin J. Pohly 526652a554 scene: iterate nodes instead of surfaces when rendering
3 years ago
Devin J. Pohly 7ec9523ea3 scene: stricter assertions on reparent
3 years ago
Devin J. Pohly d5263be355 scene: make graph loops fatal when debugging
3 years ago
Devin J. Pohly 0f534e32e4 scene: ensure node cannot be reparented below itself
3 years ago
Devin J. Pohly a1d462fa81 scene: add node reparent function
3 years ago
Simon Ser e4d0ec9ee1 scene: add wlr_scene_node_surface_at
3 years ago
Simon Ser 97954154bc scene: allow nodes to have arbitrary parents
3 years ago
Simon Ser 86e9309808 scene: add wlr_scene_node_toggle
3 years ago
Simon Ser c7d489b5b6 Introduce new scene-graph API
3 years ago
Kirill Primak 5f645598d8 subsurface: unlock surface on destroy
3 years ago
Simon Ser 3ce2ea9e16 Move allocator stuff into new directory
3 years ago
Kirill Primak 72a156b18a surface: fix wlr_surface_get_buffer_source_box()
3 years ago
Kirill Primak 109405729b surface: fix place_below handling
3 years ago
Rouven Czerwinski aa78c50bf1 output: check output enabled before sending frame
3 years ago
Isaac Freund 3364eec07e layer-shell: replace close() with destroy()
3 years ago
Simon Ser 93964012e6 buffer: add addon set
3 years ago
Simon Ser 20404ed8bb surface: drop surface_state_copy
3 years ago
Simon Ser 3f9e4f7a44 surface: kill wlr_surface.previous
3 years ago
Kirill Primak 111d4eafd7 util/addon: find both by owner and impl
3 years ago
Kirill Primak debd6c5f0b wlr_output_layout: use wlr_addons
3 years ago
Kirill Primak 11f799e88e wlr_outputs: add wlr_addon_set
3 years ago
Tudor Brindus 033c9cab74 input/pointer: try harder to not send duplicate motion events
3 years ago
Simon Ser c27263c105 seat: allow compositors to not load a keymap
3 years ago
Simon Ser df0e75ba05 output: try skipping buffer allocation if the backend allows it
3 years ago
Simon Ser 923258b0be backend/drm: preserve mode order from kernel
3 years ago
Kirill Primak f12bacf4b4 surface: don't cache frame callback lists
3 years ago
Quantum 456c6e2279 viewporter: remove crop and scale state upon destruction
3 years ago
Simon Ser 3132c0ab10 output: drop wlr_output_state.buffer_type
3 years ago
Simon Ser f211bc983a output-damage: stop using enum wlr_output_state_buffer_type
3 years ago
Simon Ser 4ddde1a7bd output: drop wlr_output_impl.{attach,rollback}_render
3 years ago
Simon Ser 6aadf811aa output: fallback to modifier-less allocation on modeset test failure
3 years ago
Simon Ser 0fb55c76d0 output: allocate and attach empty buffer on modeset
3 years ago
Simon Ser 1a5b6722a8 output: use pending resolution when allocating swapchain
3 years ago
Simon Ser d1c931cbe8 output: fallback to XRGB in output_pick_format
3 years ago
Simon Zeni 04d4fb536d render/wlr_texture: put wlr_texture_from_buffer into the public API
3 years ago
Simon Zeni 0778151f94 types/wlr_buffer: create custom wlr_buffer from wl_resource
3 years ago
Simon Zeni 646a25667e types/wlr_buffer: introduce wlr_buffer_resource_interface
3 years ago
Simon Zeni f09c88c1b7 types/wlr_buffer: remove wlr_renderer argument from wlr_buffer_from_resource
3 years ago
Simon Ser 8afb4d8bf0 buffer: re-use wlr_shm_client_buffer
3 years ago
Vyivel a93b18dbd5 input/pointer: send axis source once per frame
3 years ago
Simon Ser bcd5d8504c output: remove wlr_output_impl.export_dmabuf
3 years ago
Simon Ser 87e8c60faf output: add generic wlr_output_export_dmabuf implementation
3 years ago
Simon Ser 28aa803916 buffer: drop resource arg from wlr_client_buffer_create
3 years ago
Simon Ser 4554f17377 buffer: drop wlr_client_buffer.resource
3 years ago
Simon Ser d7c68ce632 buffer: stop using resource in client_buffer_get_dmabuf
3 years ago
Simon Ser a0baba4fa0 buffer: add wlr_client_buffer.source
3 years ago
Simon Ser 0abb67c478 buffer: stop using source resource in wlr_client_buffer_apply_damage
3 years ago
Simon Ser 7b25b0ff88 buffer: rename wlr_client_buffer variables to client_buffer
3 years ago
Simon Zeni 60f4d8f409 types/wlr_buffer: remove wlr_resource_get_buffer_size
3 years ago
Simon Zeni d086501fba types/wlr_surface: get buffer size from wlr_buffer_import
3 years ago
Simon Zeni 6d8029b07e types/wlr_buffer: split wlr_client_buffer_import function
3 years ago
Simon Ser e035f2b9c4 Fix invalid uses of wl_array_for_each
3 years ago
Simon Ser b934fbaf04 seat: add wlr_seat_touch_{send,notify}_frame
3 years ago
Simon Ser 22fd411bc3 cursor: add touch frame event
3 years ago
Simon Ser 84906a832f touch: add frame event
3 years ago
Simon Ser a48e569d38 output-damage: fix output swapchain handling
3 years ago
Simon Ser c2bd63c186 output: detach buffer from renderer before commit
3 years ago
Simon Zeni e192d87731 move wlr_box from /types to /util
3 years ago
Simon Zeni d975f35bba types/wlr_box: remove unused wlr_box_from_pixman_box32 and wlr_box_rotated_bounds functions
3 years ago
Simon Ser 3fdf8cf07e buffer: unify texture creation in wlr_client_buffer_import
3 years ago
Simon Ser 9a8097682b buffer: stop sending wl_buffer.release events from wlr_client_buffer
3 years ago
Simon Ser d3d1c69aca buffer: remove renderer param from wlr_resource_get_buffer_size
3 years ago
Simon Ser e5b5592a95 render: remove wl_drm support from wlr_renderer
3 years ago
Simon Ser d7b19fb294 buffer: handle wl_drm buffers
3 years ago
Simon Ser c868e509b7 drm: add support for DMA-BUFs
3 years ago
Simon Ser f7e3d325fe Add a stub wl_drm implementation
3 years ago
Simon Ser 82af6e7208 region: stabilize interface
3 years ago
Simon Ser c7018a45b7 surface: allow locking pending state in commit handler
3 years ago
Simon Ser 08e5b909f9 buffer: add wlr_dmabuf_buffer
3 years ago
Simon Ser 7ec66a9990 buffer: introduce wlr_readonly_data_buffer
3 years ago
Simon Ser ea585dba0f tablet-v2: fix pad and tool object versions
3 years ago
Simon Ser 57b70a478c Drop wlr_list
3 years ago
Simon Ser 5888c96da8 tablet: stop using wlr_list
3 years ago
Simon Ser 1c4b5bcab3 surface: accept commits with buffer size not divisible by scale
3 years ago
Simon Ser 7cbcc65ad0 surface: make wlr_subsurface_create private
3 years ago
Simon Ser ddc98bf593 surface: remove SURFACE_VERSION
3 years ago
Simon Ser 103edde481 xdg-activation-v1: fix wlr_xdg_activation_v1_create error path
3 years ago
Simon Ser 6259fd23fb output: reset back buffer on failed commit
3 years ago
Simon Ser b2f6db3533 render: drop wlr_ prefix from wlr_renderer_bind_buffer
4 years ago
Simon Ser fbadadf36f output: use wlr_renderer_begin_with_buffer for cursor
4 years ago
Simon Ser a667175ec7 screencopy-v1: use wlr_renderer_begin_with_buffer
4 years ago
Simon Ser 1a06ea7750 output: make attach_render and rollback_render optional
4 years ago
Simon Ser 233a2617cf output: split output_pick_cursor_format
4 years ago
Simon Ser 534615cd55 buffer: use wlr_texture_from_buffer for wl_shm_buffer
4 years ago
Simon Ser 7c26345826 buffer: introduce wlr_shm_client_buffer
4 years ago
Simon Ser 38ba5881a0 buffer: replace get_data_ptr with {begin,end}_data_ptr_access
4 years ago
Simon Ser 9e58301df7 surface: allow placing subsurfaces below parent
4 years ago
zccrs 11040d4942 Make the xdg_popup_get_position to public
4 years ago
Simon Ser 76f51a949f xdg-activation-v1: add token timeout
4 years ago
Simon Ser 8ff435831f xdg-activation-v1: new protocol implementation
4 years ago
Simon Ser 2b0a1aeed5 output: take a wlr_buffer in set_cursor
4 years ago
Simon Ser a8d7c2d4ea screencopy-v1: stop using wlr_client_buffer
4 years ago
Simon Ser 68758e8c21 buffer: use wlr_texture_from_buffer for DMA-BUFs
4 years ago
Simon Ser 6f39574ff5 linux-dmabuf-v1: implement wlr_buffer
4 years ago
Yuya Nishihara 8008d21f5b virtual_keyboard: Emulate key release events on destroy
4 years ago
Simon Ser 24fde77c62 buffer: add format param to get_data_ptr
4 years ago
Simon Zeni ccbce0f0a6 types/wlr_screencopy_v1: log error on read pixels failure
4 years ago
Simon Ser 6622cd3277 output: correctly handle outputs without a test() impl
4 years ago
Simon Ser e8df7c367a linux-dmabuf-v1: split params and buffer
4 years ago
Simon Ser f64ed60c7b linux-dmabuf-v1: drop some from_resource helpers
4 years ago
Simon Ser 6c61de996c buffer: introduce wlr_buffer_get_shm
4 years ago
Simon Zeni 0b9288ec0b buffer: introduce wlr_buffer_get_data_ptr
4 years ago
Ryan Farley b29ac8fbac util/uuid: replace with util/token, remove libuuid
4 years ago