2164 Commits (e1335a792aff0dfbe3d95389e3a576297906b700)

Author SHA1 Message Date
Kirill Primak 099b9de752 compositor: drop role object NULL checks in handlers
2 years ago
Kirill Primak acd5a64fd1 xdg-shell: use role object destroy handler
2 years ago
Kirill Primak 92fbfda2ca drag-icon: use role object destroy handler
2 years ago
Kirill Primak 75af6a0a39 input-method: use role object destroy handler
2 years ago
Kirill Primak bcf6b2bbf8 session-lock: use role object destroy handler
2 years ago
Kirill Primak 2518ace573 subcompositor: use role object destroy handler
2 years ago
Kirill Primak 3da2cf3eb3 layer-shell: use role object destroy handler
2 years ago
Kirill Primak 756260ac05 compositor: introduce wlr_surface_destroy_role_object()
2 years ago
Kirill Primak 1243a855d4 xdg-shell: fix geometry types
2 years ago
Kirill Primak 92e3c5b798 scene: fix buffer source box transforming
2 years ago
Isaac Freund a773231c42 wlr-output-management: implement adaptive sync
2 years ago
Alexander Orzechowski c2d2773df5 wlr_scene: Handle fractional scaling better
2 years ago
Simon Ser f0ee563416 output: try to use fixed mode in wlr_output_set_custom_mode()
2 years ago
Alexander Orzechowski c07424411a wlr_scene: Destroy the texture when setting a new buffer.
2 years ago
Simon Ser 3a949ea8eb idle-notify-v1: new protocol implementation
2 years ago
Kirill Primak a049d66dd7 xdg-toplevel: send invalid_parent error
2 years ago
Alexander Orzechowski 5ba6cf517b wlr_scene: use wl_container_of() instead of casts
2 years ago
Simon Ser 650f955507 output: fix crash in output_test_with_back_buffer()
2 years ago
Alexander Orzechowski 99f55303aa wlr_scene: Apply source box translation
2 years ago
Alexander Orzechowski ceff381747 wlr_scene: Ignore disabled outputs
2 years ago
Alexander Orzechowski f0e31e806f wlr_scene: Fix not updating the scene node when setting a new buffer
2 years ago
Alexander Orzechowski dd9cfd3e2f wlr_scene: Be resilient against overflow conditions
2 years ago
Simon Ser 5b0719b17c drm-lease-v1: reject the lease request by default
2 years ago
Simon Ser 11d073ab09 drm-lease-v1: send finished event on failure in submit request
2 years ago
Simon Ser 5c382f6344 drm-lease-v1: fix error codepath
2 years ago
Simon Ser 3be6658ee7 output: allocate swapchain on first commit
2 years ago
Simon Ser e92b272616 output/render: make output_ensure_buffer() no-op when missing renderer
2 years ago
Simon Ser 7d8284ec10 output/render: early return in output_ensure_buffer()
2 years ago
Kirill Primak 7eedbde878 tablet-v2: fix event parameters
2 years ago
Kirill Primak ff9c52801f output: add a swapchain NULL check in wlr_output_commit_state()
2 years ago
Kirill Primak dd0665d822 output-damage: drop precommit listener
2 years ago
Kirill Primak b9155c5b80 output-damage: fix setting pending_attach_render
2 years ago
Simon Ser 6832ae14aa render: drop wlr_renderer_read_pixels() flags
2 years ago
Simon Ser 50cc1ef4d3 screencopy-v1: simplify frame_dma_copy() error path
2 years ago
Simon Ser 0af4affd0b screencopy-v1: fix frame_shm_copy() error path
2 years ago
Kirill Primak b7e2a2584e foreign-toplevel-management: fix indentation
2 years ago
Simon Ser e40d492b78 output: fix typo in error message
2 years ago
Simon Ser a0345f2854 output: add wlr_output_state.allow_artifacts
2 years ago
Simon Ser c153ae3c5d screencopy-v1: use wlr_buffer APIs
2 years ago
Simon Ser f03da48491 screencopy-v1: rename wlr_screencopy_frame_v1.stride
2 years ago
Simon Ser 77b829e15f screencopy-v1: use DRM format code for shm buffers
2 years ago
Simon Ser 4885c08f38 screencopy-v1: rename wlr_screencopy_frame_v1.{format,fourcc}
2 years ago
John Lindgren 68c8cef38e cursor: Don't warp to (0,0) when last output is disconnected
2 years ago
John Lindgren 5417a182e5 cursor: Add a more general check for infinite/NaN cursor position
2 years ago
Simon Ser 8e8b9a7217 output: fix back buffer checks
2 years ago
Simon Ser 0556aa0c59 output: rejigger attach/clear for back buffer
2 years ago
Simon Ser 0213da60bb output: drop back_buffer variable in wlr_output_commit_state()
2 years ago
Simon Ser 679d5ba699 output: inline output_attach_render()
2 years ago
Simon Ser 2ad25b1460 output: fix wlr_output_set_gamma() with zero size
2 years ago
Kirill Primak ebd4c83cd6 xdg-toplevel: validate resize_edge
2 years ago
Simon Ser 69c47717c2 buffer: split into multiple files
2 years ago
John Lindgren 1facdeabe5 wlr_drm_lease_v1: Fix use-after-free in backend_destroy()
2 years ago
Simon Ser 7d9c595f19 output/cursor: downgrade error messages
2 years ago
Simon Ser b5a474189e output/render: log human-readable format
2 years ago
Kirill Primak 42ae1e75aa subcompositor: consider mapping after adding
2 years ago
Kirill Primak 3abedaf211 subcompositor: move+rename subsurface_parent_commit()
2 years ago
Kirill Primak 4cc3abb966 xdg-foreign-v2: s/unmap/destroy
2 years ago
Kirill Primak ba7bbab3ab xdg-foreign-v1: s/unmap/destroy
2 years ago
Simon Ser d8ef9a95de xdg-foreign-v2: return wlr_xdg_toplevel in verify_is_toplevel()
2 years ago
Simon Ser 053bb42a6d xdg-foreign-v1: return wlr_xdg_toplevel in verify_is_toplevel()
2 years ago
Consolatis 0cff058f38 wlr_virtual_pointer_v1: fix discrete scrolling
2 years ago
Alexander Orzechowski 2e06ff5688 wlr_scene: Clarify surface commit frame events
2 years ago
Alexander Orzechowski 35d94d779c wlr_scene: Consider screen position when culling background
2 years ago
Kirill Primak 26e1812ab3 output-layout: improve wlr_output_layout_output_in_direction()
2 years ago
Kirill Primak 2ea80eb115 output-layout: avoid uninitialized wlr_box fields
2 years ago
Kirill Primak 4462f5dcb3 cursor: avoid uninitialized wlr_box fields
2 years ago
Alexander Orzechowski 138d21464d wlr_compositor: Don't leak region32 when calculating opaque region
2 years ago
Alexander Orzechowski 78cf39b6bd wlr_scene: Don't leak a region32 when texture failed to upload
2 years ago
Alexander Orzechowski fe9e193ab5 wlr_scene: More sanity checking
2 years ago
Kirill Primak 7333a4602a util/set: overhaul
2 years ago
Kirill Primak 20c208d46a util/array: unclutter
2 years ago
Isaac Freund d94d1bf0ea
output: clean up after modifierless test failure
2 years ago
Alexander Orzechowski fa7d2cb8d6 wlr_scene: Only consider visible parts of the node when culling background
2 years ago
yiqiang 6a11256cd0 scene/wlr_scene:fix judgment of invisible node
2 years ago
Alexander Orzechowski 525506559a wlr_compositor: Use wlr_fbox_equal
2 years ago
Isaac Freund d452a729cb
wlr-output-management: fix broken asserts
2 years ago
Isaac Freund 4c1afb126b wlr-output-management: Implement version 3 release requests
2 years ago
Alexander Orzechowski d3cb6b73a2 wlr_scene: Initialize region32 before trying to use it
2 years ago
Alexander Orzechowski 8bd7170fd9 Use env helpers
2 years ago
Alexander Orzechowski e7477c7114 wlr_scene: Improve awkward code style
2 years ago
Alexander Orzechowski 9bba4284e4 wlr_scene: Cull background
2 years ago
Alexander Orzechowski 6d1b8b376d wlr_scene: Only enable black rect optimization if culling is enabled
2 years ago
Alexander Orzechowski 4d4f823263 wlr_scene: Simplify calculate_visibilty option
2 years ago
Kenny Levinsen 7c575922c0 wlr_scene: Convert render_list to wl_array
2 years ago
Mark Bolhuis 9ab819684d types/wlr_xdg_output_v1: Fix wl_output.done bug.
2 years ago
Alexander Orzechowski ef4baea0e2 Use wl_signal_emit_mutable
2 years ago
yiqiang 3621c14b82 wlr_scene: fix color value when filtering black boxes
2 years ago
Alexander Orzechowski bea4bd43e3 wlr_scene: Use wlr_box_equal
2 years ago
Alexander Orzechowski bcf7a79357 wlr_scene: Use wlr_fbox_equals
2 years ago
Alexander Orzechowski 919e67da7d wlr_scene: Account for occlusion by other scene nodes when calculating visibility
2 years ago
Alexander Orzechowski ce57485e6a wlr_scene: Calculate output intersections based on node visibility
2 years ago
Alexander Orzechowski 342830e99c wlr_scene/surface: Hook through opaque metadata
2 years ago
Alexander Orzechowski 18417026be wlr_scene: Introduce buffer opaque region metadata
2 years ago
Alexander Orzechowski 0a9a941ba3 wlr_scene: Rewrite direct scan out logic to rely on visibility
2 years ago
Alexander Orzechowski 14f4cfffba wlr_scene: Don't render non visible parts of textures/rects
2 years ago
Alexander Orzechowski d16d341381 wlr_scene: Only send frame done events for visible buffers
2 years ago
Alexander Orzechowski 6d62300324 wlr_scene_set_buffer_with_damage: Only damage the visible parts of the node
2 years ago
Alexander Orzechowski c6246272fd wlr_scene: Rework damage handling
2 years ago
Alexander Orzechowski 028606512d wlr_scene: Add per scene node visibility
2 years ago
Alexander Orzechowski f411ca040e wlr_scene: Damage scene on node destroy by disabling node
2 years ago
Alexander Orzechowski 7f17774d18 wlr_scene: Introduce scene_nodes_in_box
2 years ago
Simon Ser c2359d0321 surface: implement wl_surface.offset
2 years ago
Simon Ser 42d68d7532 surface: add WLR_SURFACE_STATE_OFFSET
2 years ago
Simon Ser 98cf38601f render: replace wlr_texture_write_pixels with update_from_buffer
2 years ago
Alexander Orzechowski f72aeacd6e wlr_scene: Add option to disable direct scanout
2 years ago
Kenny Levinsen 3baf2a6bcf scene/layer_shell: Ignore unmapped exclusion zone
2 years ago
Kenny Levinsen 7abe8352db xdg_shell: Destroy popups after unmap event
2 years ago
Kenny Levinsen 668b2740ff Set mapped before firing map/unmap events
2 years ago
Simon Ser b24b50ec0c single-pixel-buffer-v1: new protocol implementation
2 years ago
Simon Ser f1e05a6493 xdg-shell: add support for v5
2 years ago
Quantum 30bf8a4303 seat/pointer: fix uninitialized variable warning
2 years ago
Kirill Primak 7298c42139 seat/pointer: rework sending axis events
2 years ago
José Expósito add44b3e2e seat: support low-resolution clients
2 years ago
José Expósito 40dc5121aa seat: support high-resolution clients
2 years ago
José Expósito 65c436407f pointer: transform low-res to high-res axis events
2 years ago
Alexander Orzechowski 5dc1d4671d wlr_scene: Maintain damage highlight regions per output
2 years ago
Alexander Orzechowski fdfdd01a79 wlr_scene: Use direct assignment for damage indicator timestamps
2 years ago
Kirill Primak 694b8c6683 scene: add missing output damage listener
2 years ago
Kirill Primak 97f0347780 scene: switch to wlr_damage_ring
2 years ago
Kirill Primak e0accb2d50 types: add wlr_damage_ring
2 years ago
Simon Ser 10a821a87d output: fix missing buffer when using direct scanout
2 years ago
Kenny Levinsen 03dc7e2df5 wlr_{keyboard,pointer,touch}: Update event docs
2 years ago
Isaac Freund 91943a68a6 wlr_input_device: remove anon union field
2 years ago
Kirill Primak 5c4384a133 xdg-popup: use configure fields
2 years ago
Kirill Primak 8d2fa15e9d xdg-toplevel: post no memory on strdup() fail
2 years ago
Kirill Primak ec8b49c93f subcompositor: consider map on creation
2 years ago
Rouven Czerwinski 2a1d7d40f4 cursor: re-enable NULL buffer for cursor
2 years ago
Simon Ser d89285f783 output-management-v1: add wlr_output_head_v1_state_apply()
2 years ago
Simon Ser 29291cb47c render/texture: drop wlr_texture_is_opaque
2 years ago
Kirill Primak e7b217efb9 xdg-shell: improve shell version check
2 years ago
Johan Malm d57d2e0e36 scene/layer_shell_v1.c: fix bug in width/height calculations
2 years ago
Simon Ser 96b594110d matrix: remove wlr_matrix_projection()
2 years ago
Simon Ser c2e4ba1dd0 output: use state setters in wlr_output_set_*
2 years ago
Simon Ser 43a9b0fbb9 output: compare state before commit
2 years ago
Simon Ser 6688a3d9ea output: add output state setters
2 years ago
Consolatis 0173275f7e scene/output_layout: Fix crash in scene_output_layout_output_destroy
2 years ago
Simon Ser 09498499f6 output: fix make/model/serial memory leak
2 years ago
Isaac Freund 0deef6fe44 output: fix leak of empty back buffer lock
2 years ago
Simon Ser 99f63b03e7 Remove remaining wl_signal_emit calls
3 years ago
Alexander Orzechowski 808e660291 wlr_output_commit_state: Make sure to clear the back buffer
3 years ago
Alexander Orzechowski cc5a02e75d wlr_scene_buffer: Update primary_output on output destroy
3 years ago
Alexander Orzechowski 4772eec93d wlr_scene_buffer: Call output enter/leave after primary_output calculation
3 years ago
Simon Ser e383c1f1db xdg-shell: add support for v4
3 years ago
Simon Ser 18595000f3 compositor: send WL_SURFACE_ERROR_INVALID_SIZE for non-cursor surfaces
3 years ago
Kirill Primak 1284f85da4 scene/output-layout: add initial outputs
3 years ago
Kirill Primak 0c2eed533e scene/output-layout: improve ownership logic
3 years ago
Kirill Primak d3bc17d5d1 scene: add wlr_scene_output.events.destroy
3 years ago
Simon Ser 638c5cda51 output: drop wlr_output_cursor.events.destroy
3 years ago
Simon Ser 1ab3e582ac output: re-implement set_image with set_buffer
3 years ago
Simon Ser 459a642e83 output: introduce wlr_output_cursor_set_buffer
3 years ago