2639 Commits (baaec88e2f3d60a94610ea8c1cd067ffefe1099b)

Author SHA1 Message Date
Isaac Freund d452a729cb
wlr-output-management: fix broken asserts
2 years ago
Isaac Freund 4c1afb126b wlr-output-management: Implement version 3 release requests
2 years ago
Alexander Orzechowski d3cb6b73a2 wlr_scene: Initialize region32 before trying to use it
2 years ago
Alexander Orzechowski 8bd7170fd9 Use env helpers
2 years ago
Alexander Orzechowski e7477c7114 wlr_scene: Improve awkward code style
2 years ago
Alexander Orzechowski 9bba4284e4 wlr_scene: Cull background
2 years ago
Alexander Orzechowski 6d1b8b376d wlr_scene: Only enable black rect optimization if culling is enabled
2 years ago
Alexander Orzechowski 4d4f823263 wlr_scene: Simplify calculate_visibilty option
2 years ago
Kenny Levinsen 7c575922c0 wlr_scene: Convert render_list to wl_array
2 years ago
Mark Bolhuis 9ab819684d types/wlr_xdg_output_v1: Fix wl_output.done bug.
2 years ago
Alexander Orzechowski ef4baea0e2 Use wl_signal_emit_mutable
2 years ago
yiqiang 3621c14b82 wlr_scene: fix color value when filtering black boxes
2 years ago
Alexander Orzechowski bea4bd43e3 wlr_scene: Use wlr_box_equal
2 years ago
Alexander Orzechowski bcf7a79357 wlr_scene: Use wlr_fbox_equals
2 years ago
Alexander Orzechowski 919e67da7d wlr_scene: Account for occlusion by other scene nodes when calculating visibility
2 years ago
Alexander Orzechowski ce57485e6a wlr_scene: Calculate output intersections based on node visibility
2 years ago
Alexander Orzechowski 342830e99c wlr_scene/surface: Hook through opaque metadata
2 years ago
Alexander Orzechowski 18417026be wlr_scene: Introduce buffer opaque region metadata
2 years ago
Alexander Orzechowski 0a9a941ba3 wlr_scene: Rewrite direct scan out logic to rely on visibility
2 years ago
Alexander Orzechowski 14f4cfffba wlr_scene: Don't render non visible parts of textures/rects
2 years ago
Alexander Orzechowski d16d341381 wlr_scene: Only send frame done events for visible buffers
2 years ago
Alexander Orzechowski 6d62300324 wlr_scene_set_buffer_with_damage: Only damage the visible parts of the node
2 years ago
Alexander Orzechowski c6246272fd wlr_scene: Rework damage handling
2 years ago
Alexander Orzechowski 028606512d wlr_scene: Add per scene node visibility
2 years ago
Alexander Orzechowski f411ca040e wlr_scene: Damage scene on node destroy by disabling node
2 years ago
Alexander Orzechowski 7f17774d18 wlr_scene: Introduce scene_nodes_in_box
2 years ago
Simon Ser c2359d0321 surface: implement wl_surface.offset
2 years ago
Simon Ser 42d68d7532 surface: add WLR_SURFACE_STATE_OFFSET
2 years ago
Simon Ser 98cf38601f render: replace wlr_texture_write_pixels with update_from_buffer
2 years ago
Alexander Orzechowski f72aeacd6e wlr_scene: Add option to disable direct scanout
2 years ago
Kenny Levinsen 3baf2a6bcf scene/layer_shell: Ignore unmapped exclusion zone
2 years ago
Kenny Levinsen 7abe8352db xdg_shell: Destroy popups after unmap event
2 years ago
Kenny Levinsen 668b2740ff Set mapped before firing map/unmap events
2 years ago
Simon Ser b24b50ec0c single-pixel-buffer-v1: new protocol implementation
2 years ago
Simon Ser f1e05a6493 xdg-shell: add support for v5
2 years ago
Quantum 30bf8a4303 seat/pointer: fix uninitialized variable warning
2 years ago
Kirill Primak 7298c42139 seat/pointer: rework sending axis events
2 years ago
José Expósito add44b3e2e seat: support low-resolution clients
2 years ago
José Expósito 40dc5121aa seat: support high-resolution clients
2 years ago
José Expósito 65c436407f pointer: transform low-res to high-res axis events
2 years ago
Alexander Orzechowski 5dc1d4671d wlr_scene: Maintain damage highlight regions per output
2 years ago
Alexander Orzechowski fdfdd01a79 wlr_scene: Use direct assignment for damage indicator timestamps
2 years ago
Kirill Primak 694b8c6683 scene: add missing output damage listener
2 years ago
Kirill Primak 97f0347780 scene: switch to wlr_damage_ring
2 years ago
Kirill Primak e0accb2d50 types: add wlr_damage_ring
2 years ago
Simon Ser 10a821a87d output: fix missing buffer when using direct scanout
2 years ago
Kenny Levinsen 03dc7e2df5 wlr_{keyboard,pointer,touch}: Update event docs
2 years ago
Isaac Freund 91943a68a6 wlr_input_device: remove anon union field
2 years ago
Kirill Primak 5c4384a133 xdg-popup: use configure fields
2 years ago
Kirill Primak 8d2fa15e9d xdg-toplevel: post no memory on strdup() fail
2 years ago
Kirill Primak ec8b49c93f subcompositor: consider map on creation
2 years ago
Rouven Czerwinski 2a1d7d40f4 cursor: re-enable NULL buffer for cursor
2 years ago
Simon Ser d89285f783 output-management-v1: add wlr_output_head_v1_state_apply()
2 years ago
Simon Ser 29291cb47c render/texture: drop wlr_texture_is_opaque
2 years ago
Kirill Primak e7b217efb9 xdg-shell: improve shell version check
3 years ago
Johan Malm d57d2e0e36 scene/layer_shell_v1.c: fix bug in width/height calculations
3 years ago
Simon Ser 96b594110d matrix: remove wlr_matrix_projection()
3 years ago
Simon Ser c2e4ba1dd0 output: use state setters in wlr_output_set_*
3 years ago
Simon Ser 43a9b0fbb9 output: compare state before commit
3 years ago
Simon Ser 6688a3d9ea output: add output state setters
3 years ago
Consolatis 0173275f7e scene/output_layout: Fix crash in scene_output_layout_output_destroy
3 years ago
Simon Ser 09498499f6 output: fix make/model/serial memory leak
3 years ago
Isaac Freund 0deef6fe44 output: fix leak of empty back buffer lock
3 years ago
Simon Ser 99f63b03e7 Remove remaining wl_signal_emit calls
3 years ago
Alexander Orzechowski 808e660291 wlr_output_commit_state: Make sure to clear the back buffer
3 years ago
Alexander Orzechowski cc5a02e75d wlr_scene_buffer: Update primary_output on output destroy
3 years ago
Alexander Orzechowski 4772eec93d wlr_scene_buffer: Call output enter/leave after primary_output calculation
3 years ago
Simon Ser e383c1f1db xdg-shell: add support for v4
3 years ago
Simon Ser 18595000f3 compositor: send WL_SURFACE_ERROR_INVALID_SIZE for non-cursor surfaces
3 years ago
Kirill Primak 1284f85da4 scene/output-layout: add initial outputs
3 years ago
Kirill Primak 0c2eed533e scene/output-layout: improve ownership logic
3 years ago
Kirill Primak d3bc17d5d1 scene: add wlr_scene_output.events.destroy
3 years ago
Simon Ser 638c5cda51 output: drop wlr_output_cursor.events.destroy
3 years ago
Simon Ser 1ab3e582ac output: re-implement set_image with set_buffer
3 years ago
Simon Ser 459a642e83 output: introduce wlr_output_cursor_set_buffer
3 years ago
Simon Ser e3e2a34cd8 output: remove noop backend check in wlr_output_cursor_set_image
3 years ago
Alexander Orzechowski 71f8a48d38 wlr_scene: Move children list from wlr_scene_node to wlr_scene_tree
3 years ago
Alexander Orzechowski cb2dbc327e wlr_scene: Inline wlr_scene_node_state
3 years ago
Alexander Orzechowski ccd0f85c2a wlr_scene: Only allow parenting on a wlr_scene_tree
3 years ago
Alexander Orzechowski 9eb71146ae wlr_scene: Refactor wlr_scene (the root element) to encase a wlr_scene_tree
3 years ago
Simon Ser 43020963d4 relative-pointer-v1: don't allocate when inert
3 years ago
Simon Ser 1feb8edd21 relative-pointer-v1: remove unnecessary log messages
3 years ago
Simon Ser 17fbf60bd1 relative-pointer-v1: remove unnecessary comments
3 years ago
Consolatis 98c5f58a38 wlr_scene: Fix scaling with default source_box
3 years ago
Rouven Czerwinski 988fe5bda9 relative_pointer: handle inert pointer objects
3 years ago
Simon Ser d483dd2f4c output: add wlr_output_commit_state
3 years ago
Simon Ser 501ac5398d output: add output_state_{init,finish}
3 years ago
Simon Ser b21c26a1c9 output: add wlr_output_event_precommit.state
3 years ago
Simon Ser c4253fef9c output: add wlr_output_test_state
3 years ago
Simon Ser 9e25d3074d output: pass wlr_output_state to rendering functions
3 years ago
Simon Ser 927661d246 output: pass wlr_output_state to output_pending_resolution
3 years ago
Simon Ser 25dd3cc0cd output: pass wlr_output_state to backend
3 years ago
Kirill Primak c1ec71903c xdg-shell: bump version to 3
3 years ago
Kirill Primak 1761c3bbe2 xdg-popup: add reposition support
3 years ago
Kirill Primak 8a0835c59c xdg-positioner: add v3 parameters
3 years ago
Kirill Primak 6f1fce9cb4 xdg-popup: use current/pending state pattern
3 years ago
Kirill Primak 4a968576e4 xdg-popup: add proper configure flow
3 years ago
Simon Ser 4d7f1aeb73 linux-dmabuf-v1: fix MOD_INVALID handling in feedback tranches
3 years ago
Simon Ser be86145322 output: turn make/model/serial into char *
3 years ago
Alexander Orzechowski 41124592dd wlr_scene: Hook up HIGHLIGHT logic
3 years ago
Alexander Orzechowski b6fc882782 wlr_scene: Hook up RERENDER logic
3 years ago
Alexander Orzechowski 17f5414b1a wlr_scene: Parse out WLR_SCENE_DEBUG_DAMAGE
3 years ago
Manuel Stoeckl 9cae874513 screencopy-v1: Fix frame stride for formats with bpp != 32
3 years ago
Kirill Primak ee122c9c2a scene/output: check for NULL in destructor
3 years ago
Guido Günther 17b2b06633 seat: Allow to cancel touches
3 years ago
Alexander Orzechowski dc9bc5683a wlr_scene: Refactor wlr_scene_surface to be a helper on top of wlr_scene_buffer
3 years ago
Alexander Orzechowski 5f43e1732a wlr_scene: Introduce addons to scene nodes
3 years ago
Alexander Orzechowski 20cc1ce0b9 wlr_scene: Change out surface specific iterator functions
3 years ago
Alexander Orzechowski 5f56246571 wlr_scene: Pull scene_node_get_root into a private header
3 years ago
Alexander Orzechowski 39c059b70e wlr_scene: Make scene_buffer_from_node public
3 years ago
Alexander Orzechowski 73a656e8ac wlr_scene: Add a function to also specify damage when applying a buffer to wlr_scene_buffer
3 years ago
Alexander Orzechowski 34be5da072 wlr_scene: Add a way to choose when input interactions happen on a buffer
3 years ago
Alexander Orzechowski 09c7fe0f90 wlr_scene: Add frame_done signal for wlr_scene_buffer
3 years ago
Alexander Orzechowski a53eccf2af wlr_scene: Add primary_output property to wlr_scene_buffer
3 years ago
Alexander Orzechowski dfeb1309a8 wlr_scene: Add presentation signal for wlr_scene_buffer
3 years ago
Alexander Orzechowski 7e383c6a6a wlr_scene: Make wlr_scene_render_output private
3 years ago
Alexander Orzechowski 933ff0e60c wlr_scene: Fix missing calls to scene_node_update_outputs
3 years ago
Alexander Orzechowski c46b53d0b0 wlr_scene: Add output_enter/output_leave signals
3 years ago
Alexander Orzechowski 6ddb9e51bd wlr_scene_output: Send output leave events before destroying the output
3 years ago
Alexander Orzechowski 61dab42c70 wlr_scene: Add setter for buffer of a wlr_scene_buffer
3 years ago
Alexander Orzechowski 039a31df9a wlr_scene: Allow buffer in wlr_scene_buffer to be NULL
3 years ago
Simon Ser 8fe3aa29da xdg-shell: specify version in wlr_xdg_shell_create
3 years ago
Kirill Primak 8b0d4947cc xdg-toplevel: store states on the stack
3 years ago
Simon Ser 410c08cdc6 drm-lease-v1: skip device on wlr_drm_backend_get_non_master_fd failure
3 years ago
Simon Ser 6c350799b2 Zero-initialize structs in init functions
3 years ago
Ferdinand Bachmann d3a2ea33e5 types/seat/wlr_seat.c: fix focused_client being null after seat_client recreation
3 years ago
Ferdinand Bachmann 2d4e813530 types/wlr_pointer_gestures_v1.c: get client from seat client instead of resource
3 years ago
Ferdinand Bachmann eedb9df531 types/wlr_pointer_gestures_v1: null-check both focused_surface and focused_client
3 years ago
Kirill Primak 4ba8458255 scene/output-layout: fix scene destroy handler
3 years ago
Kirill Primak dec2565f2b xdg-toplevel: don't schedule configures on state requests
3 years ago
Kirill Primak 04aa44b4df xdg-foreign-v2: treat unmapped parents as NULL
3 years ago
Kirill Primak dac040f87f xdg-foreign-v1: treat unmapped parents as NULL
3 years ago
Kirill Primak bf3f60ff73 xdg-toplevel: treat unmapped parents as NULL
3 years ago
Guido Günther dd03d839ab xdg-activation: Deduplicate token creation code
3 years ago
Leonardo Hernández Hernández 4519117a68 seat: take wlr_keyboard in wlr_seat_set_keyboard()
3 years ago
Guido Günther 4cc2a03620 layer-shell: Make wlr_layer_surface_v1_from_resource public
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 9a17200446 types/wlr_keyboard: uniformize events name
3 years ago
Simon Zeni bd6c000d14 types/wlr_pointer: uniformize events name
3 years ago
Simon Zeni a92e5f8d46 types/wlr_input_device: move output_name field to wlr_pointer and wlr_touch
3 years ago
Alexander Orzechowski 74381f3bc3 types/wlr_output: Handle subpixel hints through output commits
3 years ago
Simon Ser 68f2f8cf92 Revert "scene: try to import buffers as textures before rendering"
3 years ago
Kirill Primak 2d623724c3 xdg-positioner: fix sliding regression
3 years ago
Simon Zeni 4c8ecfcd4a types/wlr_virtual_pointer_v1: remove destroy event
3 years ago
Simon Zeni 45c8771735 types/wlr_virtual_keyboard_v1: remove destroy event
3 years ago
Simon Zeni eae8952e17 types/wlr_keyboard: remove destroy event
3 years ago
David96 7a2c96dcbd types/wlr_tablet_tool: remove name ambiguity
3 years ago
Sebastian Krzyszkowiak 13fcdba75c wlr_output_layout_contains_point: handle outputs that aren't in the layout
3 years ago
Alexander Orzechowski f330759ba4 wlr_output_damage: Don't schedule a new frame if damage region does not intersect with output
3 years ago
Alexander Orzechowski fbd4d40318 wlr_output_damage: Use wlr_output_damage_add for wlr_output_damage_add_box
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 Ser 39b68ea47a buffer: extract interface to separate header
3 years ago
Simon Zeni c84744321e types/wlr_virtual_pointer_v1: fix wlr_pointer destroy sequence
3 years ago
Simon Zeni cdb3e80b39 types/wlr_virtual_keyboard_v1: fix wlr_keyboard destroy sequence
3 years ago
Simon Zeni e279266f71 interfaces: remove wlr_input_device_impl
3 years ago
Simon Zeni 1acc931cf0 types/wlr_switch: constify impl
3 years ago
Simon Zeni f1181c34ed types/wlr_tablet_pad: constify impl
3 years ago
Kirill Primak 511f137f8f xdg-positioner: rewrite unconstraining, untie from xdg-popup
3 years ago
Kirill Primak 5879e77d68 xdg-positioner: rename structs
3 years ago
Kirill Primak b5b15b2625 xdg-{toplevel,popup}: extract destructors
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 130c3bcf63 types/wlr_input_device: call the specialized input device destroy function on destroy
3 years ago
Simon Zeni fd80329c53 interfaces/wlr_input_device: introduce wlr_input_device_finish
3 years ago
Simon Zeni 71577e351e types/wlr_input_device: default vendor and product id to 0
3 years ago
Roman Gilg cff4abc5b1 output: clear buffer created for test
3 years ago
Isaac Freund 252b2348bd
wlr_cursor: constify map to region box arguments
3 years ago
Kirill Primak c1a2c09ade xdg-popup: send invalid_positioner to the right resource
3 years ago
Kirill Primak 7ed60c54a0 xdg-surface: avoid emitting signals with their owner object
3 years ago
Kirill Primak 34a71eae31 xdg-shell: drop wlr_xdg_toplevel_set_fullscreen_event
3 years ago
Kirill Primak fd3a2a0906 xdg-surface: minor consistency renaming
3 years ago
Kirill Primak 88f3040438 xdg-popup: destroy popup-less grab
3 years ago
Kirill Primak d2b36b7bd1 xdg-shell: fix potential use-after-free
3 years ago
Kirill Primak c35d14ecfa xdg-shell: extract role-specific unmap logic
3 years ago
Kirill Primak e59aa3e0e7 xdg-toplevel: change object type in event structs
3 years ago
Kirill Primak 1e4c1a3b58 xdg-toplevel: change parent type to xdg-toplevel
3 years ago
Kirill Primak 27c8865a4d xdg-shell: unify function arguments' names
3 years ago
Kirill Primak 41412cadbe xdg-popup: fix functions' main argument type
3 years ago
Kirill Primak affe0d8713 xdg-toplevel: fix functions' main argument type
3 years ago
Kirill Primak ee52c32915 xdg-shell: fix create_xdg_popup() param type
3 years ago
Kirill Primak 05dd990e43 xdg-shell: rename surface role handlers
3 years ago
Alexander Orzechowski cddc1c1bd9 xdg-foreign: Fix crash on destroy of degenerate surface
3 years ago
Isaac Freund 9de992b9fe
ext-session-lock-v1: new protocol implementation
3 years ago
Kenny Levinsen 1e3662ce57 scene: Add layer_shell_v1 helper
3 years ago
Simon Ser 3db1bcbe64 scene: try to import buffers as textures before rendering
3 years ago
Kirill Primak 3cfe29b598 cursor: ensure mapping box is always initialized
3 years ago
Kirill Primak ba6ba4b07a cursor: store mapped_box as value
3 years ago
Kirill Primak 49fa060442 output-layout: remove useless types/fields
3 years ago
Kirill Primak 498f30aad1 output-layout: make wlr_output_layout_get_box() take a box as parameter
3 years ago
Isaac Freund 2c59435e82
xdg-output: remove dead code
3 years ago
Kirill Primak 77951968dc subsurface: unlock cached state on commit if desynced
3 years ago
Kirill Primak da2491d416 compositor: damage the whole buffer on viewport src change
3 years ago
Simon Ser 1d1b845410 subcompositor: destroy subsurface with parent
3 years ago
Simon Ser 7ce966a5d4 subcompositor: document subsurface_from_resource
3 years ago
Isaac Freund 1bd0ea3a80
foreign-toplevel: send enter if needed on output bind
3 years ago
Tadeo Kondrak 5091118bed input_method_v2: improve mapping detection
3 years ago
Kirill Primak 50827ed7f5 surface: improve role precommit hook
3 years ago
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
4 years ago
Simon Ser 6259fd23fb output: reset back buffer on failed commit
4 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
Isaac Freund 78befa59f9 gtk-primary-selection: drop support
4 years ago
Simon Ser a9e5df44d8 surface: remove resource_list arg from surface_create
4 years ago
Simon Ser c430cd7d53 surface: make wlr_surface_create private
4 years ago
Kenny Levinsen 741da702bc xdg_shell: Fix invert_y of top right anchor
4 years ago
Simon Ser 80dbb9ba71 subsurface: immediately unlock cached state in set_desync
4 years ago
Simon Ser 8ecc557ab0 subsurface: use cached surface state
4 years ago
Simon Ser e0258f4506 surface: introduce cached states
4 years ago
Simon Ser 7ac76aba8a surface: introduce commit sequence numbers
4 years ago
Simon Zeni 50d2985607 Move render/shm_format functions to render/pixel_format
4 years ago
Simon Ser d9cae04ffc linux-dmabuf-v1: always advertise support for implicit modifiers
4 years ago
Simon Ser c740fccc9d Fix buffer blit matrices
4 years ago
Simon Ser 7720dde74d screencopy: stop using wlr_renderer_blit_dmabuf
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
Kenny Levinsen 46d2f80c38 wlr_seat_pointer: Remove log on notify_button
4 years ago
Simon Ser 675bc39658 Fix wl_shm_format passed to wlr_texture_from_pixels
4 years ago
Simon Ser c2815fd44d buffer: add missing convert_wl_shm_format_to_drm call
4 years ago
Simon Ser b54ef3372d render: use DRM formats in wlr_renderer_read_pixels
4 years ago
Simon Ser 00bf6674b3 output: use DRM format in wlr_output_preferred_read_format
4 years ago
Simon Ser 641c223d3c surface: don't send protocol error on invalid buffer size
4 years ago
Simon Ser 2530235139 surface: move INVALID_SIZE check into surface_state_finalize
4 years ago
Tadeo Kondrak 78685ec6aa text_input_v3: correct typo in enum field
4 years ago
Simon Ser 6f873078d4 build: use dictionnary for features instead of configuration_data
4 years ago
Tadeo Kondrak 5e19e0053a xdg-foreign: rename finish_* functions to destroy_*
4 years ago
Tadeo Kondrak 99ef23b62c xdg-foreign: Make imported object inert when exported is destroyed
4 years ago
Simon Ser 91fa2ff395 surface: check buffer size is compatible with scale
4 years ago
Simon Ser 8d76d3263d seat: use WL_SEAT_ERROR_CAPABILITY
4 years ago
Justus Rossmeier b9e9e0e133 tablet_v2: Fix implicit grab end detection
4 years ago
Manuel Stoeckl a290d7a78d Make implementation function lists static const
4 years ago
Simon Ser a39dc1f7a8 region: remove resource_list arg from region_create
4 years ago
Simon Ser 45f992b27b region: make wlr_region_create private
4 years ago
Isaac Freund f6fe439718 xdg-output: destroy outputs before manager
4 years ago
Simon Ser b3e76d6678 output: send commit event after pending state is cleared
4 years ago
Simon Ser 1fb9535e99 output-damage: stop relying on output pending state on commit
4 years ago
Simon Ser cc56b4f073 output: remove scale/transform events
4 years ago
Simon Ser aab43b3c76 output-layout: stop listening to scale/transform events
4 years ago
Simon Ser f6f46b4ee2 output-damage: stop listening to scale/transform events
4 years ago
Daniel Kondor b7dc4f2990 layer-shell: allow new values for keyboard-interactivity
4 years ago
Isaac Freund 07111828c5 layer shell: rename popup iterator for consistency
4 years ago
Isaac Freund f574ca934c xdg shell: remove wlr_xdg_surface_for_each_popup()
4 years ago
Simon Ser 4f80fab337 gamma-control-v1: schedule frame when resetting gamma LUT
4 years ago
Simon Ser edf5082a4c
output-damage: use output commit event
4 years ago
Isaac Freund d6890cb847 output-management: use same types as wlr_output
4 years ago
Isaac Freund b482c90e1a xdg/layer shell: reduce code duplication in iterators
4 years ago
Isaac Freund 4ee4a36c0c layer shell: add wlr_layer_surface_v1_popup_surface_at()
4 years ago
Isaac Freund 8f63557ed7 xdg shell: add wlr_xdg_surface_popup_surface_at()
4 years ago
Isaac Freund c5c5ab9724 xdg shell: add wlr_xdg_surface_for_each_popup_surface()
4 years ago
Isaac Freund 129e02b57d xdg shell: make unconstrain_from_box arg const
4 years ago
Andri Yngvason e136a4168b types/seat: Clear focus in wlr_seat_destroy()
4 years ago
Isaac Freund 87e216b740 layer shell: advertise version 3
4 years ago
Ilia Bozhinov 01dcfb360e types: add wlr_xdg_foreign_v2
4 years ago
Ilia Bozhinov 162f160def types: add wlr_xdg_foreign_v1
4 years ago
Ilia Bozhinov 37602e153b types: add wlr_xdg_foreign_registry
4 years ago
Ilia Bozhinov 42d033e738 xdg-shell: add wlr_xdg_toplevel_set_parent
4 years ago
Isaac Freund 0cba1ce747 gtk primary selection: destroy devices before manager
4 years ago
Isaac Freund bf926e31a0 primary selection: destroy devices before manager
4 years ago
Isaac Freund 5d24f6e098 toplevel-management: avoid redundant state events
4 years ago
Isaac Freund 8b90d5e17f toplevel-management: handle strdup failure
4 years ago
Isaac Freund abcab0331f toplevel-management: ignore inert seats
4 years ago
Simon Ser b9460ab724
Stop using wlr_texture_get_size
4 years ago
Simon Ser ae5275c09f
client-buffer: remove unnecessary wlr_resource_get_buffer_size
4 years ago
Isaac Freund f6fc4c2883 subsurface: handle NULL parent in get_root_surface
4 years ago
Simon Ser 768131e488 output: stop assuming a frame is pending in init
4 years ago
Simon Ser e9c1f0f7d3
output: improve basic test logging
4 years ago
Marten Ringwelski 44b1ff16e9 wlr-output-management: Handle modes added after initializing
4 years ago
Isaac Freund baf2319fd3 screencopy: don't use output transform for damage copy
4 years ago
Isaac Freund 37cb3eb8dd screencopy: check if damage committed before copy
4 years ago
Isaac Freund 1ecc1b5987 screencopy: use output transform for damage copy
4 years ago
Isaac Freund 1477401acd screencopy: handle compositor not setting damage
4 years ago
Simon Ser 49115e9d5d render: rename wlr_renderer_get_dmabuf_formats
4 years ago
Isaac Freund 78e9e692e8 wlr-output-management: add missing NULL check
4 years ago
Kenny Levinsen ebecc5404b surface: Make send_enter store entered outputs
4 years ago
Simon Ser 0b40d09a21 buffer: add wlr_client_buffer_get
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
Ilia Bozhinov 9595f95452 xdg_shell: handle inert popups
4 years ago
Simon Ser 372a52ecc0
input-method: send modifiers in set_keyboard
4 years ago
Simon Ser 4471a83ed0 screencopy: send failed when copying a DMA-BUF with a region
4 years ago
Simon Ser 51fc7ddb29 screencopy: perform DMA-BUF copy on output commit
4 years ago
Simon Ser f0945e112f export-dmabuf: export DMA-BUF on output commit
4 years ago
Simon Ser 8c8164c4a6 output: add when field to wlr_output_event_commit
4 years ago
Simon Ser 2934a72920
screencopy: stop setting needs_frame flag
4 years ago
Simon Ser c2db691cad gamma-control-v1: apply gamma LUT when output gets enabled
4 years ago
Ilia Bozhinov 346188c015 xdg_shell: fix a typo
4 years ago
Daniel Kondor b4ed8b3d74 foreign toplevel: send parent event only to clients that support it
4 years ago
Daniel Kondor 36395e5b1c
foreign-toplevel-management: report parent toplevel
4 years ago
Roman Gilg 86c0b9986b output-management-v1: send complete head state on enable change
4 years ago
Isaac Freund 8dec751a6d layer-shell: error on 0 dimension without anchors
4 years ago
Isaac Freund 8ad2cc39eb layer-shell: add for_each_popup
4 years ago
Roman Gilg bae8d7593c output-management-v1: send head identifying information
4 years ago
Drew DeVault a9cbfd950e Remove xdg-shell v6
4 years ago
Simon Ser b0144c7ded output-power-management-v1: listen to output commit
4 years ago
Simon Ser c674241ec0 output: introduce wlr_output_event_commit
4 years ago
Isaac Freund 2072d59da5 xdg-shell: split last-acked and current state
4 years ago
Daniel De Graaf c236f60bb6 wlr_virtual_keyboard: fix fd leak
4 years ago
Simon Ser 30226eb1fb gamma-control-v1: fix use-after-free in gamma_control_handle_set_gamma
4 years ago
Ilia Bozhinov 0032954c75 make sure to fail setting gamma on disabled outputs
4 years ago
Antonin Décimo d9bb792794 Fix incorrect format parameters
4 years ago
Ronan Pigott 39fd2335bf virtual_pointer: remember current axis for axis events
4 years ago
Tudor Brindus a145430afa
input/pointer: add wlr_seat_pointer_wrap
4 years ago
xdavidwu 595f324f8b input-method: implement keyboard grabs
4 years ago
xdavidwu 61e2ebac90 virtual-keyboard: add wlr_input_device_get_virtual_keyboard
4 years ago
Isaac Freund 92c85858a9 layer-shell: remove unused surface list
4 years ago
Greg V b2bd536308 xdg-shell: check for existing role before setting xdg_popup_surface_role
4 years ago
Andri Yngvason 1d835f2035 screencopy: Use correct dmabuf to get y-inversion flag
4 years ago
Isaac Freund 45c0877e34 layer-shell: upgrade to v3, implement destructor
4 years ago
Kenny Levinsen d2ca220fda wlr_drag: Destroy drag after releasing grabs
4 years ago
Isaac Freund a7f48aab69 xdg-decoration: free old configure structs
4 years ago
Isaac Freund 86e20f48c6 xdg-shell: handle serial wrapping overflow
4 years ago
Isaac Freund b937c7b05e layer-shell: handle serial wrapping overflow
4 years ago
Simon Ser 155d57b01d output: fix dangling renderer context after wlr_output_preferred_read_format
5 years ago
Simon Ser 3c5dbfd97c output: make rollback_render mandatory
5 years ago
Simon Ser bf93d2e67c output: rename impl->rollback to rollback_render
5 years ago
Simon Ser d177abecae surface: ignore viewport src rect on NULL buffer
5 years ago
Rouven Czerwinski c18c419b56 surface: don't unset width and height in finalize
5 years ago
Tudor Brindus c768309ab4 input/keyboard: send modifiers on first keyboard enter
5 years ago
Simon Ser 9e68ed2159 viewporter: new protocol implementation
5 years ago
Simon Ser c618a76540 surface: introduce wlr_surface_get_buffer_source_box
5 years ago
Simon Ser eb22ae97b0 surface: add wlr_surface_state.viewport
5 years ago
Andri Yngvason cae533cad2 screencopy: Use correct constant for y-inversion
5 years ago
Andri Yngvason ea83957ecc screencopy: Implement copying into linux-dmabuf
5 years ago
Tudor Brindus c9c31f803e util/time: de-duplicate `timespec_to_msec`
5 years ago
Thomas Hebb dcae6f1431 Allow keyboard and pointer grabs to hook clear_focus()
5 years ago
Andri Yngvason 034384f5aa export-dmabuf: Keep frame->output = NULL until frame is ready
5 years ago
Brian Ashworth 32148808ad wlr_keyboard_group: introduce enter and leave
5 years ago
Kalyan Sriram 8ab4d91380 Don't send redundant capability updates
5 years ago
Simon Ser 1a23c1425f Add comments for missing tablet tool entries
5 years ago
Kenny Levinsen 5e0ef70cc0 seat: Create inert objects for missing capabilities
5 years ago
Simon Ser 781ed1ff02 Fix -Wreturn-type warnings
5 years ago
Isaac Freund 666498db01 Make wlr_xcursor_manager_load() return a bool
5 years ago
Simon Ser 347bdb6d9a output: make wlr_output_set_gamma atomic
5 years ago
Tudor Brindus 7693fdb8a7 tablet: expose wlr_tablet_tool_v2_has_implicit_grab function
5 years ago
Tudor Brindus 74c0d03f00 tablet: pass motion events to implicitly grabbed surface
5 years ago
Tudor Brindus 8b18d389b3 input/pointer: notify compositor when constraint region changes
5 years ago
Tudor Brindus 064f64dbf7 input/keyboard: expose keymap matching helper
5 years ago
David96 e3343cf7d1 Add wlr_surface_accepts_touch
5 years ago
Isaac Freund 11e94c406b layer shell: only send unmap on close if mapped
5 years ago
Simon Ser 22d345d982
Remove .swp file added by mistake
5 years ago
Tudor Brindus d698334620 input/tablet: clear focused surface on surface destroy
5 years ago
Tudor Brindus ad28f57533 input/tablet: fix up updated axes after rotation
5 years ago
Andri Yngvason e51d507799 export-dmabuf: Schedule output frame on request
5 years ago
r-c-f f679895c77
seat: add check for NULL keyboard
5 years ago
Simon Ser 0281b58d2f output: fix maybe-uninitialized warning
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 507d9bc19e Add wlr_output_impl.rollback
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 1fa9e0203b buffer: add width and height
5 years ago
Simon Ser 6595db6409 buffer: add a release event
5 years ago
Simon Ser 1674ca725c buffer: add destroy event
5 years ago
Simon Ser 7516a98167 Gracefully handle inert wl_output resources
5 years ago
Isaac Freund 8707a9b7ec Return false on wlr_keyboard_set_keymap() failure
5 years ago
Scott Anderson 34303e1b47 wlr_surface: Post error if multiple role objects created
5 years ago
Isaac Freund 1282c3b12f Send pointer enter/leave on capability change
5 years ago
Isaac Freund 7c309ba4d3 Properly popluate keys array for enter on creation
5 years ago
Isaac Freund 3f617631cb Send keyboard enter/leave on capability change
5 years ago
Simon Ser e0bbafc253 output: replace wlr_output.damage with a damage event
5 years ago
Simon Ser 07737e85cc output: add comment about needs_frame in wlr_output_schedule_frame
5 years ago
Simon Ser 41f9916ae5 buffer: remove unused wlr_client_buffer fields
5 years ago
Simon Ser 7bce056f1d output: don't send a needs_frame event if already sent
5 years ago
Simon Ser a4c7c6db09 output: make wlr_output_schedule_frame set output->needs_frame
5 years ago
Simon Ser 7017fa95b8 output: add adaptive_sync_enabled property
5 years ago
Simon Ser 8afc1ed68c Introduce wlr_client_buffer
5 years ago
Simon Ser 348f52b5fc output: remove wlr_output_impl.schedule_frame
5 years ago
Guido Günther c9859f187f wlr_output_power_management_v1: Init output_power->link
5 years ago
Aleksei Bavshin c99d156f0d xdg-shell: fix popups rendered outside of the screen
5 years ago
Michael Weiser 3ff6a5def3 idle-inhibit: Style and naming improvements
5 years ago
Michael Weiser 471b873de3 keyboard-shortcuts-inhibit: Implement the protocol
5 years ago
Guido Günther ba14e196f6 Implement wlr-output-power-management-v1
5 years ago
Dorota Czaplejewicz 37adcac5d1 text_input_v3: Note features supported by the text field
5 years ago
Ilia Bozhinov f416efa918 output-management: add current_configuration_dirty
5 years ago
Manuel Stoeckl 2fddec56e8 output: fix output transform compositions
5 years ago
Manuel Stoeckl f22a5d1704 Fix output rotation direction
5 years ago
Simon Ser c5376c2d2c seat: don't destroy global immediately
5 years ago
Simon Ser e63b70263a output: don't destroy global immediately
5 years ago
Andri Yngvason 273b280f46 virtual-pointer: Add request for mapping to specific output
5 years ago
Simon Ser 4b051aa926 meson: fix wayland-server minimum required version
5 years ago
Simon Ser b1a63bcd84 keyboard-group: two NULL keymaps are equal
5 years ago
xdavidwu 3b35043d00 text-input: fix missing destroy signal init
5 years ago
Andri Yngvason 51f8c22f4d virtual-pointer: Actually use the value passed to axis_discrete
5 years ago
Josef Gajdusek a7b538008b virtual-pointer: Add support for the wlr-virtual-pointer-unstable-v1
5 years ago
Simon Ser ff29843d87 output: only advertise current mode
5 years ago
Simon Ser 8bb2dc68ea xdg-shell: make wlr_xdg_surface_from_resource reject NULL
5 years ago
Simon Ser 7e521fed97 xdg-shell: fix inert xdg_surface handling
5 years ago
Simon Ser 8fc16890c7 output: refuse to commit a buffer or modeset a disabled output
5 years ago
Simon Ser b5597f5b44 output: clear pending bit if pending == current
5 years ago
Simon Ser 5d1ba0f446 output: re-introduce atomic mode, enabled, scale and transform
5 years ago
Brian Ashworth e0e5a167ed wlr_keyboard_group: fix mem leak in refresh_state
5 years ago
Simon Ser 471f9a3f6a output-management-v1: use wlr_output.description
5 years ago
Simon Ser 1f799c1cbd xdg-output-v1: use wlr_output.description
5 years ago
Simon Ser 4da4a15d6b output: add description
5 years ago
Scott Anderson cff1c2f740 meson: Various improvements
5 years ago
myfreeweb 774548696c Send tablet tool frame on proximity_out
5 years ago
Simon Ser 98cd11c019 output: fix wlr_output_preferred_mode fallback
5 years ago
Simon Ser 7fc58e704a surface: don't unref the current buffer on failure
5 years ago
Simon Ser 96e8e9b098 buffer: improve error handling
5 years ago
Manuel Stoeckl 8a5e4768e1 output: fix cursor wl_surface.{enter,leave} tracking
5 years ago
Simon Ser 16f22940d9 keyboard: emit key events without keymap
5 years ago
Simon Ser dc6ef658b6 Revert "output: add block_idle_frame"
5 years ago
Dorota Czaplejewicz fadd4706ed virtual_keyboard: Accept keycode 0
5 years ago
Simon Ser 5cde35923c Simplify globals implementation by removing destructors
5 years ago
Timidger 6bd7a62c09 Use layer shell v2
5 years ago
Simon Ser 2122e49bea presentation-time: add helper for common case
5 years ago
Simon Ser 533ea6d7ef presentation-time: make API more flexible
5 years ago
Simon Ser 3084cee7bc output: fix off-by-one wlr_output_event_present.commit_seq
5 years ago
Simon Ser 2d9661f189 output: set wlr_output.commit_seq before firing the commit event
5 years ago
Simon Ser 16e5e9541b Add -Wmissing-prototypes
5 years ago
Simon Ser 6c649bab53 output: add wlr_output_event_present.commit_seq
5 years ago
Alynx Zhou aa9ea95e1f Skip assign when sub_x or sub_y is NULL in wlr_surface_surface_at
5 years ago
Brian Ashworth f2d3b1000f Introduce wlr_keyboard_group
5 years ago
György Kurucz b81bb2ef30 Fix heap-use-after-free in wlr_send_tablet_v2_tablet_pad_leave
5 years ago
Simon Ser 9971db02ff output-management-v1: add assertion as a safety net
5 years ago
Andri Yngvason 61a6f2b928 screencopy: Implement damage reporting
5 years ago
Andri Yngvason 5d8bd4d343 output: Add commit sequence number
5 years ago
Timidger 1724261910 layer_shell: set layer of existing surface
5 years ago
Ivan Molodetskikh cbb2781fed output: add block_idle_frame
5 years ago
Ilia Bozhinov 480a31ea4e wlr_box: properly calculate closest point for non-positive area boxes
5 years ago
amingin b1b93c2c7e Fixes crash of compositor when unvalidated keycode 0 is passed (#1833)
5 years ago
Markus Ongyerth 57babd2e13 Move initialization of wlr_tablet_pad into types/wlr_tablet_pad
5 years ago
Ivan Molodetskikh 020a33e057 presentation_feedback: add the sampled state
5 years ago
Simon Ser c808613287 compositor: disconnect client on OOM in create_surface
5 years ago
Versus Void 2ecfc46b93 xdg-output: send wl_output.done after xdg_output created
5 years ago
Sebastian Krzyszkowiak a14d650864 wlr_seat_touch: Destroy the touchpoint on client destroy
5 years ago
Ilia Bozhinov 8b0f1bc850 layer-shell: ignore ack_configure() on closed surfaces
5 years ago
Sebastian Krzyszkowiak cdfe836b03 Revert "wlr_xdg_popup: don't treat all surfaces of grabbing client as grabbing surfaces"
5 years ago
Brian Ashworth fa477c77c4 wlr-layer-shell-v1: destroy xdg popups on unmap
5 years ago
Brian Ashworth 9914784594 wlr_xdg_toplevel: reparent on parent unmap
5 years ago
Antonin Décimo 217cf18a4b Avoid loss of a fractional part
5 years ago
Antonin Décimo 0695324de7 xdg_shell: remove variable self-assignment
5 years ago
Antonin Décimo 8f3d73e3a3 wlr_surface: condition is always false
5 years ago
Antonin Décimo 3fc977d7da Fix memory leak
5 years ago
Sebastian Krzyszkowiak 52037d13f7 wlr_xdg_popup: don't treat all surfaces of grabbing client as grabbing surfaces
5 years ago
Sebastian Krzyszkowiak 78d96009e4 wlr_xdg_popup: grab touch events alongside pointer and keyboard
5 years ago
Sebastian Krzyszkowiak 40d17c1305 wlr_seat_touch: add a way for a grab to ignore a touch point
5 years ago
Drew DeVault 94f65e354d Add libinput-1.14 support
5 years ago
Sebastian Krzyszkowiak 913cac1835 wlr_input_method_v2: Remove input method's resource from the list on destroy
5 years ago
Rouven Czerwinski 01f903874b Revert "output: atomic mode"
5 years ago
Simon Ser 6396710976 xdg-output: add support for xdg-output-unstable-v1 version 3
5 years ago
Simon Ser ee5f98ad49 output: atomic mode, enabled, scale and transform
5 years ago
Jason Francis d20aee6c9d export-dmabuf-v1: fix segfault on output disable
5 years ago