2680 Commits (a44cec9e11d76ba8b7d6a9e3897c4c18d44984d4)

Author SHA1 Message Date
Simon Ser 812451cd8f pointer: use enum wl_pointer_button_state
9 months ago
Simon Ser 9f4cf242d9 pointer: drop enum wlr_axis_source
9 months ago
Simon Ser e8b7fe8f39 output: use output_pending_enabled() in output_basic_test()
9 months ago
Kenny Levinsen 2b1c0ffdd0 gamma-control-v1: Remove dead variable assignment
9 months ago
Kenny Levinsen 0cb091f1a2 drm-lease-v1: Free the wlr_drm_lease_v1 on error
9 months ago
Simon Ser cf7b91cc5f buffer: add single-pixel-buffer-v1 special case in buffer_is_opaque()
9 months ago
Simon Ser 431e8a7fd7 scene: ignore duplicate wlr_scene_output_layout_add_output() calls
9 months ago
Simon Ser 842093bb84 Define _POSIX_C_SOURCE globally
9 months ago
Kirill Primak 4c69bc47f4 ext-foreign-toplevel-list-v1: improve/fix update_state()
9 months ago
Paul Cercueil 220df2aa0f
Add more POSIX compliance macros to fix uClibc support
9 months ago
columbarius 9e426e70e6 ext-foreign-toplevel-list-v1: new protocol implementation
9 months ago
Kirill Primak cb815e8847 pointer-constraints: handle inert pointer resources correctly
10 months ago
Austin Shafer 4cd556ea20 linux_dmabuf_v1: allow callbacks for checking dmabuf import
10 months ago
Kirill Primak 811ca199c4 xdg-shell: drop automatic surface configuration
10 months ago
Kirill Primak 5b08f91004 compositor: don't handle size or viewport src change in surface_update_damage()
10 months ago
Kirill Primak 7dfbd87771 compositor: drop wlr_surface.external_damage
10 months ago
Kirill Primak 56cc25185d cursor: fix and simplify region mapping
10 months ago
Leo Li 71fb55f3bf render/pixel-format: Move has_alpha into it's own array
10 months ago
Andri Yngvason 3a91dc1b48 Create & implement transient seat protocol
10 months ago
Simon Ser 435ca39960 linux-dmabuf-v1: bump to v5
10 months ago
Simon Ser 6991f03767 linux-dmabuf-v1: switch to stable
10 months ago
Alexander Orzechowski 8dff1bb9bd wlr_damage_ring: Replace wlr_damage_ring_rotate_buffer with original list impl
10 months ago
Kirill Primak 4688a371e0 compositor: don't get buffer from pending buffer resource too early
10 months ago
Simon Ser 4ec901bb33 scene: release shm buffers once uploaded
10 months ago
Kirill Primak 0052078bd3 compositor: introduce wlr_surface_reject_pending()
10 months ago
Alexander Orzechowski cca2bfbe92 output: Drop pending state
10 months ago
Simon Ser 00bb1b0f84 seat/pointer: add support for axis_relative_direction event
10 months ago
Simon Ser b80337a8f2 xdg-shell: assert that configure events carry positive or zero sizes
10 months ago
Kirill Primak be1c48cbfb layer-shell: forbid set_size with values ≥INT32_MAX
10 months ago
Kirill Primak 0b090c83fb single-pixel-buffer: send wl_buffer.release
10 months ago
Kirill Primak 58bb49a00b security-context-v1: fix possible leaks on wl_client_create() and state copying errors
10 months ago
Isaac Freund 7129eaa1f2 keyboard: fix type of wlr_keyboard_modifiers.group
10 months ago
Simon Ser a0b1329ee6 Fix bool return types
11 months ago
Simon Ser ab924064f2 scene: drop wlr_scene_set_presentation()
11 months ago
Simon Ser d68ba9d6c2 presentation-time: drop wlr_presentation arg
11 months ago
Simon Ser 1968ada213 tearing-control-v1: synchronize state with surface
11 months ago
Simon Ser 0ea6b6e2cc session-lock-v1: use wlr_surface_synced
11 months ago
Simon Ser aa32d1a127 session-lock-v1: drop negative buffer size checks
11 months ago
Simon Ser dc3b2b9439 content-type-v1: use wlr_surface_synced
11 months ago
Simon Ser 90e12fb978 pointer-constraints-v1: use wlr_surface_synced
11 months ago
Simon Ser a6122c3ec5 layer-shell-v1: use wlr_surface_synced
11 months ago
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