2607 Commits (42673a282137ad4dc39b6a70c011dba4d822b85c)

Author SHA1 Message Date
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
1 year ago
Alexander Orzechowski fc6000251c output: Drop wlr_output_attach_render
1 year ago
Simon Ser 2093564616 damage_ring: add wlr_damage_ring_rotate_buffer()
1 year 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
Alexander Orzechowski 3896b6b107 wlr_scene: Fix transforms with non 1 scale
1 year ago
Kirill Primak 753f3cc4fa compositor: add wlr_surface_role.no_object
1 year ago
Simon Ser 670915eeea output: add wlr_output_state_set_layers()
1 year ago
Alexander Orzechowski 0925a500d1 wlr_scene: Don't use direct scanout if trying to commit a new render_format
1 year ago
Alexander Orzechowski a09bb1314d wlr_output_state: Consider gamma_lut uninitialized if not committed
1 year ago
Alexander Orzechowski b80e67d6e6 wlr_output_state: Consider buffer uninitialized if not committed
1 year ago
Simon Ser 6e8fb5509f cursor: only reset the cursor when the surface changes
1 year ago
Alexander Orzechowski 05dd08afe5 scene: introduce wlr_scene_output_build_state()
1 year ago
Alexander Orzechowski 7e67b8152b scene: Don't rely on output current state during rendering
1 year ago
Alexander Orzechowski ae7bad86dd output: introduce wlr_output_state_set_damage()
1 year ago
Simon Ser 36376e2ddf gamma-control-v1: stop applying gamma LUTs implicitly
1 year ago
Simon Ser ec9b79ef19 gamma-control-v1: add wlr_gamma_control_v1_send_failed_and_destroy()
1 year ago
Simon Ser 026fc6eda0 gamma-control-v1: add wlr_gamma_control_v1_apply()
1 year ago
Simon Ser 5d5cf34486 output: add wlr_output_state_set_gamma_lut()
1 year ago
Simon Ser 6e635d2fd3 gamma-control-v1: add wlr_gamma_control_manager_v1_get_control()
1 year ago
Simon Ser 70c1a57248 gamma-control-v1: introduce set_gamma event
1 year ago
Kirill Primak 63f3802e0f subcompositor: set role_data with wlr_surface_set_role()
1 year ago
Kirill Primak 24a479a501 drag: don't set icon's role_data
1 year ago
Kirill Primak 31d958f70a cursor: fix applying hotspot offset
1 year ago
Simon Ser 544c0622fa presentation-time: constify wlr_presentation_feedback_send_presented()
1 year ago
Kirill Primak 25a62a3775 subcompositor: simplify subsurface_consider_map(), call on add
1 year ago
Kirill Primak 2acc74a3db Clear input regions if they're ignored
1 year ago
Alexander Orzechowski 9f28366b55 wlr_tablet_v2_tool: Tablet tool surfaces are always mapped
1 year ago
Alexander Orzechowski d700bd2d7c wlr_seat_pointer: cursor surfaces are always mapped
1 year ago
Rose Hudson 9e8947e4d5 add render timer API
1 year ago
Kirill Primak 37b5f8a89e compositor: unmap subsurfaces too on unmap
1 year ago
Kenny Levinsen 15f2f6642f gamma-control: Read ramps using pread
1 year ago
Kirill Primak b61d5922f1 compositor: notify subsurfaces about a commit in the rendering order
1 year ago
Kirill Primak 49e9be62ae subcompositor: consider mapping on parent map
1 year 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