1817 Commits (d5480efc7a03641600df411dea93308e5edc8b27)

Author SHA1 Message Date
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
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
4 years ago
Simon Ser 3c5dbfd97c output: make rollback_render mandatory
4 years ago
Simon Ser bf93d2e67c output: rename impl->rollback to rollback_render
4 years ago
Simon Ser d177abecae surface: ignore viewport src rect on NULL buffer
4 years ago
Rouven Czerwinski c18c419b56 surface: don't unset width and height in finalize
4 years ago
Tudor Brindus c768309ab4 input/keyboard: send modifiers on first keyboard enter
4 years ago
Simon Ser 9e68ed2159 viewporter: new protocol implementation
4 years ago
Simon Ser c618a76540 surface: introduce wlr_surface_get_buffer_source_box
4 years ago
Simon Ser eb22ae97b0 surface: add wlr_surface_state.viewport
4 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