2505 Commits (3cc43745421efda2090e74d14b6345103ef241d4)

Author SHA1 Message Date
eri 8ccbe45143
buffer: convert to try_from
1 year ago
Kirill Primak 0de3659698 Drop wl_client and user data assertions in bind handlers
1 year ago
Simon Ser ccb153f024 security-context-v1: add commit event
1 year ago
Simon Ser c58deb7a7d security-context-v1: new protocol implementation
1 year ago
Kirill Primak 65f6f556d9 layer-shell: check for NULL in wlr_layer_surface_v1_destroy()
1 year ago
Kenny Levinsen 2cf78f4c5b output: allow_artifacts -> allow_reconfiguration
1 year ago
Alexander Orzechowski 291431c14f scene/output_layout: Add assert for duplicate output insertion
1 year ago
Kirill Primak b06c2f3d1f scene-output-layout: assert lo->output == so->output
1 year ago
Alexander Orzechowski e1e911d425 scene_output_layout: Don't destroy output when output layout is destroyed
1 year ago
Alexander Orzechowski 5fb0007e02 output_event_commit: Remove committed and buffer
1 year ago
Alexander Orzechowski 03e240a7f2 wlr_output: Add applied state to commit event
1 year ago
Kirill Primak 86c30b8715 seat: remove wlr_seat_validate_grab_serial()
1 year ago
Simon Zeni a289f812d6 drop KDE idle protocol support
1 year ago
Alexander Orzechowski 1b0694b794 treewide: Migrate from sizeof(struct) to sizeof(*pointer) where practical
1 year ago
Kirill Primak a09d649439 docs: replace the less commonly used "::" with "."
1 year ago
Kirill Primak 0fdbdc36c0 xdg-surface: fix init state flow
1 year ago
Kirill Primak 016494af1b xdg-surface: assert that xdg_surface isn't inert
1 year ago
Alexander Orzechowski 5ef42e8e8a output_defer_present: Calloc right struct
1 year ago
Rose Hudson 83af3202f9 output: defer fake present events until after commit
1 year ago
Alexander Orzechowski c044aef5f0 cursor: Unset cursor if texture upload failed
1 year ago
Alexander Orzechowski 7ef2c0a506 cursor: Remove dead code
1 year ago
Alexander Orzechowski 00dcc68e16 cursor: Unset cursor image when there is not available xcursor theme
1 year ago
Simon Zeni 9816b59b0e types/wlr_tearing_control_v1: use safe list iteration on destroy
1 year ago
vaxerski c2aa7fd965 backend/drm: Add async page flip support to legacy
1 year ago
vaxerski 5dec1c8bcb staging/tearing-control: Add protocol support
1 year ago
Brian J. Tarricone eacb4cf6d2 Fix possible crash in server-decoration when surface destroyed
1 year ago
Manuel Stoeckl dbc7a5cada screencopy_v1: only bind, not render with, buffer in shm copy path
1 year ago
Alexander Orzechowski 6c54c34713 output: Mutate frame_pending needs_frame when there is an explicit output commit
1 year ago
Leo Li b18a849fc3 wlr_scene: Use cached node coordinates where possible
1 year ago
Kirill Primak e315068b98 xdg-popup: validate parent
1 year ago
Simon Ser e5fc8cd4c7 output: trigger frame/present events on all commits on enabled output
1 year ago
Rose Hudson 462f04db9e output: don't forbid multiple commits per frame
1 year ago
Rose Hudson f5917f0247 scene_output_layout: make output adding explicit
1 year ago
Rose Hudson 91f813ffb7 output_layout: return wlr_output_layout_output when adding output
1 year ago
Alexander Orzechowski e85c79051c wlr_output: Set current_mode during new custom mode
1 year ago
Simon Ser 72787db98a compositor: drop wlr_surface_destroy_role_object()
1 year ago
Kirill Primak bd5c4f4a4a xdg-shell: rework roles
1 year ago
Kirill Primak e5300c225e xdg-popup: avoid using wlr_surface_destroy_role_object()
1 year ago
Kirill Primak 10ba8ebc70 Don't assume xdg_surface.{toplevel,popup} is non-NULL
1 year ago
Kirill Primak f0cc712af1 xdg-shell: don't return anything from create_xdg_surface()
1 year ago
Leonardo Hernández Hernández bdc34401ba
xdg-decoration: store an xdg_toplevel instead of xdg_surface
1 year ago
Alexander Orzechowski 568b1943b9 wlr_output: Nuke wlr_output_update_enabled
1 year ago
Alexander Orzechowski 63351cf81f output: Schedule mode updates to happen with rest of output events
1 year ago
Alexander Orzechowski f042de3f51 output: Inline wlr_output_update_{custom,}_mode
1 year ago
Alexander Orzechowski f1ba70ffa6 wlr_output: Make wlr_output_update_{custom,}_mode private
1 year ago
Alexander Orzechowski 6cda3e251c output: Add initialization state to wlr_output_init
1 year ago
Alexander Orzechowski 8f67446cc7 output: Extract common commit logic
1 year ago
Alexander Orzechowski aee31edaad screencopy_v1: Implement copy regions with gpu blit path
1 year ago
Alexander Orzechowski b4cbaa4549 screencopy_v1: Use new renderer API for gpu blit path
1 year ago
Simon Ser c74f89d4f8 Avoid using memcpy() to copy structs
1 year ago
JiDe Zhang 73db481037 wlr_output: update cursor when scale changed
1 year ago
JiDe Zhang 61903ed66b wlr_output_cursor: assert renderer isn't NULL
1 year ago
Simon Zeni 60ca6f17eb types/wlr_drm_lease_v1: downgrade DRM backend error message to debug
1 year ago
Kirill Primak 7df11ada5e Unmap wlr_surface before making its role object inert
1 year ago
Leonardo Hernández Hernández e8d545a977
xdg-shell: add support for v6
1 year ago
Simon Ser 04e4e06986 cursor-shape-v1: new protocol implementation
1 year ago
Alexander Orzechowski fd540f6d07 wlr_scene: Don't damage when setting opaque region
1 year ago
Alexander Orzechowski a32180afa7 wlr_scene: Fix damage tracking with non atomic opaque region configuration
1 year ago
Rouven Czerwinski 63f5851b6f session-lock: add missing lock_surface_destroy
1 year ago
Rose Hudson 71daec9441 export-dmabuf, screencopy: schedule_frame -> needs_frame
1 year ago
Simon Ser 000081db19 cursor, output: apply viewport to cursor
1 year ago
Ronan Pigott b18c76642a scene: apply rounding when translating buffer damage
1 year ago
Leonardo Hernández Hernández 4de9c9c47f scene: send wl_surface.preferred_buffer_scale
1 year ago
Simon Ser 67447d6cb4 presentation-time: add separate helper for zero-copy
1 year ago
Simon Ser fe84bfc8d9 scene: add wlr_scene_output_sample_event
1 year ago
Simon Ser 88942d43fd scene: rename output_present event to output_sample
1 year ago
Alexander Orzechowski d8585d661c wlr_scene: Fix buffer damage for output state
1 year ago
Simon Ser fe06e5f49a Use wl_container_of() instead of casts
1 year ago
Rose Hudson 214df8eda0 scene_output: optionally record and report timings
1 year ago
Kirill Primak f4eaab12a0 input-method-v2: don't remove inert role resource
1 year ago
Kirill Primak dc7686c114 session-lock: don't remove inert role resource
1 year ago
Kirill Primak 7f2ed1e62c layer-shell: don't remove inert role resource
1 year ago
Kirill Primak 7d176b6237 subcompositor: don't remove inert role resource
1 year ago
Simon Ser 7a9f8d8d6b Use struct initializers instead of memset()
1 year ago
Kirill Primak 4966857f21 viewporter: check for an existing viewport
1 year ago
Simon Ser 6f8287128b output: drop wlr_output_cursor_set_image()
2 years ago
Simon Ser f8d70fbece cursor: remove usage of wlr_output_cursor_set_image()
2 years ago
Simon Ser 0fc532f8de cursor: remove wlr_cursor_set_image()
2 years ago
Simon Ser 18bafbfc57 xcursor-manager: drop wlr_xcursor_manager_set_cursor_image()
2 years ago
Simon Ser 71c87ff4b8 cursor: add wlr_cursor_set_buffer()
2 years ago
Simon Ser bb91787b5f cursor: stop using set_image() in wlr_cursor_unset_image()
2 years ago
Manuel Stoeckl bbd53b3b46 screencopy-v1: fix logical->physical region transform
2 years ago
Alexander Orzechowski 57a0313779 wlr_scene: Don't recompute node location during rendering
2 years ago
Alexander Orzechowski 48f2a7a3a1 wlr_scene: Simplify direct scanout handling
2 years ago
Alexander Orzechowski 9613b3bc8a wlr_scene: Wrap render_list nodes in struct
2 years ago
Simon Ser 53b07b5b72 cursor: set image for new outputs
2 years ago
Simon Ser d5581e42d4 cursor: add cursor_update_outputs()
2 years ago
Simon Ser d1d6cd9008 cursor: keep track of XCursor manager and name
2 years ago
Simon Ser 69c44de22f cursor: track surface globally, instead of per-output
2 years ago
Simon Ser c46fabe45c cursor: use wlr_cursor_unset_image() in wlr_cursor_set_surface()
2 years ago
Simon Ser f0b8a68654 cursor: store wlr_cursor inline in wlr_cursor_state
2 years ago
Alexander Orzechowski 8243399385 output: Set output mode during main commit
2 years ago
Alexander Orzechowski ea3c6fde3a wlr_scene: Add opaque region blend mode optimization
2 years ago
Kirill Primak 71b57b8d27 fullscreen-shell: set surface role
2 years ago
Simon Ser be05097968 output: add wlr_output_state_init()
2 years ago
Simon Ser 8a5b5e6f28 compositor: listen to role_resource destroy signal
2 years ago
Simon Ser 89cb484220 compositor: replace role_data with role_resource
2 years ago
Simon Ser 00f1870d35 input-method-v2: add popup_surface_from_resource()
2 years ago
Kirill Primak fc9b58e84d compositor: don't call role unmap hook without an object
2 years ago
Kirill Primak 0f67580aab compositor: introduce wlr_surface_set_role_object()
2 years ago
Kirill Primak 0040c78c0b compositor: fix wlr_surface_set_role() error messages
2 years ago
Simon Ser d59749aa44 cursor: add support for animated XCursor
2 years ago
Simon Ser 6dd8b092e9 output/swapchain: fix error return value types
2 years ago
Alexander Orzechowski b5eaa47049 scene: Use wlr_output_state_copy for direct scanout path
2 years ago
Alexander Orzechowski 4b7c526578 output: Introduce wlr_output_state_copy()
2 years ago
Simon Ser 1e68e1f661 seat: fix keyboard/pointer/touch resource destroy
2 years ago
Simon Ser c4d4409deb output: stop using wlr_output.back_buffer in output_ensure_buffer()
2 years ago
Simon Ser b625a13156 output: attach buffer to state in output_ensure_buffer()
2 years ago
Alexander Orzechowski 2ac31fc630 wlr_scene: Introduce wlr_scene_buffer_set_filter_mode
2 years ago
Alexander Orzechowski 64c0272f81 output_state: Gamma lut should be freed only if committed
2 years ago
Simon Ser 220402b717 cursor: add wlr_cursor_unset_image()
2 years ago
Simon Ser da04b066ea cursor: add wlr_cursor_set_xcursor()
2 years ago
Alexander Orzechowski 58a2f8bd5c wlr_scene: Clear damage ring on transform change
2 years ago
Alexander Orzechowski 61667404ce wlr_scene: Clear damage ring on scale change
2 years ago
Alexander Orzechowski 96b95bf775 wlr_scene: Reset damage ring bounds every frame
2 years ago
Alexander Orzechowski 4391845910 wlr_damage_ring_set_bounds: Ignore duplicate size requests
2 years ago
Alexander Orzechowski 3896b6b107 wlr_scene: Fix transforms with non 1 scale
2 years ago
Kirill Primak 753f3cc4fa compositor: add wlr_surface_role.no_object
2 years ago
Simon Ser 670915eeea output: add wlr_output_state_set_layers()
2 years ago
Alexander Orzechowski 0925a500d1 wlr_scene: Don't use direct scanout if trying to commit a new render_format
2 years ago
Alexander Orzechowski a09bb1314d wlr_output_state: Consider gamma_lut uninitialized if not committed
2 years ago
Alexander Orzechowski b80e67d6e6 wlr_output_state: Consider buffer uninitialized if not committed
2 years ago
Simon Ser 6e8fb5509f cursor: only reset the cursor when the surface changes
2 years ago
Alexander Orzechowski 05dd08afe5 scene: introduce wlr_scene_output_build_state()
2 years ago
Alexander Orzechowski 7e67b8152b scene: Don't rely on output current state during rendering
2 years ago
Alexander Orzechowski ae7bad86dd output: introduce wlr_output_state_set_damage()
2 years ago
Simon Ser 36376e2ddf gamma-control-v1: stop applying gamma LUTs implicitly
2 years ago
Simon Ser ec9b79ef19 gamma-control-v1: add wlr_gamma_control_v1_send_failed_and_destroy()
2 years ago
Simon Ser 026fc6eda0 gamma-control-v1: add wlr_gamma_control_v1_apply()
2 years ago
Simon Ser 5d5cf34486 output: add wlr_output_state_set_gamma_lut()
2 years ago
Simon Ser 6e635d2fd3 gamma-control-v1: add wlr_gamma_control_manager_v1_get_control()
2 years ago
Simon Ser 70c1a57248 gamma-control-v1: introduce set_gamma event
2 years ago
Kirill Primak 63f3802e0f subcompositor: set role_data with wlr_surface_set_role()
2 years ago
Kirill Primak 24a479a501 drag: don't set icon's role_data
2 years ago
Kirill Primak 31d958f70a cursor: fix applying hotspot offset
2 years ago
Simon Ser 544c0622fa presentation-time: constify wlr_presentation_feedback_send_presented()
2 years ago
Kirill Primak 25a62a3775 subcompositor: simplify subsurface_consider_map(), call on add
2 years ago
Kirill Primak 2acc74a3db Clear input regions if they're ignored
2 years ago
Alexander Orzechowski 9f28366b55 wlr_tablet_v2_tool: Tablet tool surfaces are always mapped
2 years ago
Alexander Orzechowski d700bd2d7c wlr_seat_pointer: cursor surfaces are always mapped
2 years ago
Rose Hudson 9e8947e4d5 add render timer API
2 years ago
Kirill Primak 37b5f8a89e compositor: unmap subsurfaces too on unmap
2 years ago
Kenny Levinsen 15f2f6642f gamma-control: Read ramps using pread
2 years ago
Kirill Primak b61d5922f1 compositor: notify subsurfaces about a commit in the rendering order
2 years ago
Kirill Primak 49e9be62ae subcompositor: consider mapping on parent map
2 years ago
Väinö Mäkelä a2f94b500c virtual-keyboard: Handle inert seats
2 years ago
Väinö Mäkelä f9f17b6236 virtual-pointer: Handle inert seats
2 years ago
Väinö Mäkelä 07e27ba854 xdg-popup: Handle inert seats
2 years ago
Väinö Mäkelä 0601813ab6 text-input: Handle inert seats
2 years ago
Väinö Mäkelä bcb69b1827 primary-selection: Handle inert seats
2 years ago