2639 Commits (310a5eb61c8792bbc00e1351c36b1aad5201b0f1)

Author SHA1 Message Date
Simon Ser 0e3d2222c2 xdg-decoration: use wlr_surface_synced for toplevel
11 months ago
Simon Ser 96aec06b0a subcompositor: use wlr_surface_synced
11 months ago
Simon Ser 1c3c24825f presentation-time: use wlr_surface_synced
11 months ago
Simon Ser 4b3553409a xdg-shell: use wlr_surface_synced for popups
11 months ago
Simon Ser 9201431c29 xdg-shell: use wlr_surface_synced for toplevel
11 months ago
Simon Ser 69d9a4e2cb xdg-shell: use wlr_surface_synced for wlr_xdg_surface
11 months ago
Simon Ser 7e1ae5548c compositor: add wlr_surface_role.client_commit
11 months ago
Simon Ser d847516765 compositor: add wlr_surface_synced
11 months ago
Simon Ser 34d5af4172 compositor: add wlr_surface_state_has_buffer()
11 months ago
Simon Ser 66b6c349e7 compositor: remove unnecessary wlr_surface.has_buffer
11 months ago
Simon Ser cd157a0bd9 compositor: adjust surface_state_move() comment
11 months ago
Simon Ser da5f53b461 pointer-constraints-v1: reset committed on commit
11 months ago
Simon Ser 85f44f3684 pointer-constraints-v1: add cursor_hint.enabled
11 months ago
Simon Ser df27b29d49 compositor: reset wlr_surface.current.committed on commit
11 months ago
Simon Ser 11e3c376e7 output-layout: fix missing global for outputs with a custom mode
11 months ago
Guido Günther b032161785 input-method: Simplify resetting of input state
11 months ago
pastel raschke 3bf9000a52 input-method-v2: validate commit serial
11 months ago
pastel raschke 6ee5bd9eee input-method-v2: free current strings on commit
11 months ago
Simon Ser 81f5607ad9 input-method-v2: drop unnecessary variable and cast
11 months ago
Simon Ser d7ac8c0cc1 cursor: drop unnecessary commented code
12 months ago
Simon Ser 7ef62cc995 cursor: fix initial cursor position for new outputs
12 months ago
Simon Ser 3475b1880f linux-dmabuf-v1: ignore scanout output for secondary DRM backends
12 months ago
Simon Ser 6a2ff0dffe compositor: drop surface precommit event
12 months ago
Simon Ser 78836298ef cursor: send surface scale events
12 months ago
Alexander Orzechowski 6287b61025 wlr_damage_ring: Fix inverted conditional
12 months ago
Alexander Orzechowski 62169bf5ac wlr_scene: fix transformed outputs backend damage clearing
12 months ago
Alexander Orzechowski 364d7cba42 wlr_scene: Apply output damage once
12 months ago
Alexander Orzechowski fe8916fef0 wlr_scene: Don't damage whole damage ring when exiting direct scanout
12 months ago
Alexander Orzechowski 0619c99dc7 wlr_scene: Use wlr_damage_ring_rotate_buffer()
12 months ago
Alexander Orzechowski 06d301bf1a wlr_scene: Track output damage separately
12 months ago
Alexander Orzechowski 3ed1268f64 render: Nuke old read pixels API
12 months ago
Alexander Orzechowski b3575fedbc screencopy_v1: Use new read pixels API
12 months ago
Simon Ser a165261f7f output: replace wlr_render_timer arg with wlr_buffer_pass_options
12 months ago
Simon Zeni 5d639394f3 types/output: emit destroy event before destroying global
12 months ago
Alexander Orzechowski 7702a19739 output: Drop back_buffer
12 months ago
Alexander Orzechowski fc6000251c output: Drop wlr_output_attach_render
12 months ago
Simon Ser 2093564616 damage_ring: add wlr_damage_ring_rotate_buffer()
12 months ago
Simon Ser 4fbe648faf viewporter: fix src buffer bounds check
1 year ago
Simon Ser 7dcb045176 viewporter: listen to client_commit
1 year ago
Simon Ser d1c88a22a3 viewporter: rename state var in viewport_handle_surface_commit()
1 year ago
Kirill Primak 87346b3393 Revert "subcompositor: emit new_subsurface immediately"
1 year ago
Simon Ser 56ec13596a Cleanup wlr_matrix.h includes
1 year ago
Kirill Primak 7661ab2bf1 compositor: deprecate wlr/types/wlr_region.h
1 year ago
Alexander Orzechowski 26158d0718 output: Drop transform matrix
1 year ago
Kirill Primak 78a09573af output: fix display destroy listener double removal
1 year ago
Kirill Primak 504b9491f0 subcompositor: emit new_subsurface immediately
1 year ago
Kirill Primak 43fd3a007e subcompositor: don't map unadded subsurfaces
1 year ago
Kirill Primak e841366068 layer-shell: emit new_surface event at the proper time
1 year ago
Kirill Primak c85838892d xdg-{shell,decoration}: improve events
1 year ago
Simon Ser d61ec694b3 output: take wl_event_loop in wlr_output_init()
1 year ago
Simon Ser d23d8ed3ba output: setup display destroy listener in wlr_output_create_global()
1 year ago
Simon Ser 5717e27c06 output: take wl_display in wlr_output_create_global()
1 year ago
Simon Ser 6a7463bb8e output-layout: take wl_display in constructor
1 year ago
Simon Ser 2eb225236e util/transform: add wlr_output_transform_coords()
1 year ago
Simon Ser 9e702e9cfe util/transform: move over wl_output_transform helpers
1 year ago
Manuel Stoeckl a3d22dbe97 xdg-toplevel: check that title provided actually is UTF-8
1 year ago
Simon Ser 0c83c331ca output/cursor: drop legacy rendering API
1 year ago
Kirill Primak 5dd614b9ad input-inhibitor: drop
1 year ago
Simon Ser fe6a432299 linux-dmabuf-v1: skip import check on split render/display SoCs
1 year ago
Alexander Orzechowski 515681503e screencopy: Use box size instead for shm copy
1 year ago
Alexander Orzechowski 7a22030071 screencopy: Move frame bounds sanity check into common code
1 year ago
Alexander Orzechowski c8861a2865 screencopy: Define proper destination for dmabuf copy
1 year ago
Alexander Orzechowski 303f23d7dd wlr_scene: Update outputs if subpixel status changes
1 year ago
Alexander Orzechowski 50446fe75e wlr_scene: Update outputs when primary output is changed
1 year ago
Alexander Orzechowski 889c5ed5ff wlr_scene: Update outputs when output scale/transform changes
1 year ago
Alexander Orzechowski 3d3cca9164 wlr_scene: Introduce wlr_scene_subsurface_tree_set_clip
1 year ago
Alexander Orzechowski d1ddd4ca3a wlr_scene_surface: Introduce scene_surface_set_clip
1 year ago
Alexander Orzechowski c6d356648c set_buffer_with_surface_state: Take whole surface struct
1 year ago
Alexander Orzechowski 1c0b10b61a wlr_scene_subsurface_tree: Addon to scene
1 year ago
Alexander Orzechowski 33b437d574 wlr_scene: Amend scene_buffer.point_accepts_input to take coordinate pointers
1 year ago
Simon Ser 319e4125ab xdg-shell: add wlr_xdg_{toplevel,popup}_try_from_wlr_surface()
1 year ago
Väinö Mäkelä 5de9e1a99d wlr-output-management: Send custom modes to clients
1 year ago
Simon Ser 22df8d3847 cursor: log missing XCursor
1 year ago
sunzhguy dbf20b0ad3 wlr_cursor: update cursor when output enable and transform changed
1 year ago
Simon Ser 1c24b1182b backend: drop wlr_backend_get_presentation_clock()
1 year ago
Kirill Primak 5fac9b1beb xdg-toplevel: don't send maximized if tiled is requested but not supported
1 year ago
Simon Ser 55be74ad86 util/token: rename TOKEN_STRLEN to TOKEN_SIZE
1 year ago
Kirill Primak d253d70786 xdg-shell: use wlr_surface.unmap_commit
1 year ago
Kirill Primak d8515b3446 layer-shell: track surface init state
1 year ago
Kirill Primak f750c7445d layer-shell: don't use wlr_surface_role.unmap hook
1 year ago
Kirill Primak 4d2e310122 compositor: add wlr_surface.unmap_commit
1 year ago
Kirill Primak e1c2671725 layer-shell: check the configured flag earlier
1 year ago
eri bfc42e0f62
linux_dmabuf_v1: convert to try_from
1 year ago
eri c46d3da976
drm: convert to try_from
1 year ago
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()
1 year ago
Simon Ser f8d70fbece cursor: remove usage of wlr_output_cursor_set_image()
1 year ago
Simon Ser 0fc532f8de cursor: remove wlr_cursor_set_image()
1 year ago
Simon Ser 18bafbfc57 xcursor-manager: drop wlr_xcursor_manager_set_cursor_image()
1 year ago
Simon Ser 71c87ff4b8 cursor: add wlr_cursor_set_buffer()
1 year ago
Simon Ser bb91787b5f cursor: stop using set_image() in wlr_cursor_unset_image()
1 year ago
Manuel Stoeckl bbd53b3b46 screencopy-v1: fix logical->physical region transform
1 year ago
Alexander Orzechowski 57a0313779 wlr_scene: Don't recompute node location during rendering
1 year ago
Alexander Orzechowski 48f2a7a3a1 wlr_scene: Simplify direct scanout handling
1 year ago
Alexander Orzechowski 9613b3bc8a wlr_scene: Wrap render_list nodes in struct
1 year ago
Simon Ser 53b07b5b72 cursor: set image for new outputs
1 year ago
Simon Ser d5581e42d4 cursor: add cursor_update_outputs()
1 year ago
Simon Ser d1d6cd9008 cursor: keep track of XCursor manager and name
1 year ago
Simon Ser 69c44de22f cursor: track surface globally, instead of per-output
1 year ago
Simon Ser c46fabe45c cursor: use wlr_cursor_unset_image() in wlr_cursor_set_surface()
1 year ago
Simon Ser f0b8a68654 cursor: store wlr_cursor inline in wlr_cursor_state
1 year ago
Alexander Orzechowski 8243399385 output: Set output mode during main commit
1 year ago
Alexander Orzechowski ea3c6fde3a wlr_scene: Add opaque region blend mode optimization
1 year ago
Kirill Primak 71b57b8d27 fullscreen-shell: set surface role
1 year ago
Simon Ser be05097968 output: add wlr_output_state_init()
1 year ago
Simon Ser 8a5b5e6f28 compositor: listen to role_resource destroy signal
1 year ago
Simon Ser 89cb484220 compositor: replace role_data with role_resource
1 year ago
Simon Ser 00f1870d35 input-method-v2: add popup_surface_from_resource()
1 year ago
Kirill Primak fc9b58e84d compositor: don't call role unmap hook without an object
1 year ago
Kirill Primak 0f67580aab compositor: introduce wlr_surface_set_role_object()
1 year ago
Kirill Primak 0040c78c0b compositor: fix wlr_surface_set_role() error messages
1 year ago
Simon Ser d59749aa44 cursor: add support for animated XCursor
1 year ago
Simon Ser 6dd8b092e9 output/swapchain: fix error return value types
1 year ago
Alexander Orzechowski b5eaa47049 scene: Use wlr_output_state_copy for direct scanout path
1 year ago
Alexander Orzechowski 4b7c526578 output: Introduce wlr_output_state_copy()
1 year ago
Simon Ser 1e68e1f661 seat: fix keyboard/pointer/touch resource destroy
1 year ago
Simon Ser c4d4409deb output: stop using wlr_output.back_buffer in output_ensure_buffer()
1 year ago
Simon Ser b625a13156 output: attach buffer to state in output_ensure_buffer()
1 year ago
Alexander Orzechowski 2ac31fc630 wlr_scene: Introduce wlr_scene_buffer_set_filter_mode
1 year ago
Alexander Orzechowski 64c0272f81 output_state: Gamma lut should be freed only if committed
1 year ago
Simon Ser 220402b717 cursor: add wlr_cursor_unset_image()
1 year ago
Simon Ser da04b066ea cursor: add wlr_cursor_set_xcursor()
1 year ago
Alexander Orzechowski 58a2f8bd5c wlr_scene: Clear damage ring on transform change
1 year ago
Alexander Orzechowski 61667404ce wlr_scene: Clear damage ring on scale change
1 year ago
Alexander Orzechowski 96b95bf775 wlr_scene: Reset damage ring bounds every frame
1 year ago
Alexander Orzechowski 4391845910 wlr_damage_ring_set_bounds: Ignore duplicate size requests
1 year ago