6b40e08148 
								
							
								 
							
						 
						
							
							
								
								compositor: introduce unified map logic  
							
							
 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								75d03f2b68 
								
							
								 
							
						 
						
							
							
								
								xwm: introduce associate/dissociate events  
							
							... 
							
							
 
							
							We'll soon introduce a unified wlr_surface map event. Up until now, compositors
have been using wlr_xwayland_surface's map event to setup various wlr_surface
related listeners (e.g. commit). This will no longer be possible when that
event is moved over to wlr_surface. Introduce new events where the compositor
can add/remove wlr_surface event listeners. 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								0ba3ea3bcd 
								
							
								 
							
						 
						
							
							
								
								render/vulkan: improve error handling in render_pass_submit()  
							
							... 
							
							
 
							
							Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3644  
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								30aca4df0d 
								
							
								 
							
						 
						
							
							
								
								backend/drm: introduce wlr_drm_mode_get_info()  
							
							... 
							
							
 
							
							This allows compositors to get back the raw drmModeModeInfo and
look at DRM-specific fields and flags. 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								3f0487d310 
								
							
								 
							
						 
						
							
							
								
								backend/drm: move forward decl up for drmModeModeInfo  
							
							... 
							
							
 
							
							This allows doc generators to properly associate the doc comment
with the function instead of the typedef. 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								93a6acae9f 
								
							
								 
							
						 
						
							
							
								
								output: add wlr_output_begin_render_pass()  
							
							
 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								95062904c7 
								
							
								 
							
						 
						
							
							
								
								wlr_scene: Introduce wlr_scene_buffer_set_opacity  
							
							
 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								2346b90a9f 
								
							
								 
							
						 
						
							
							
								
								wlr_scene: Make scene_rect_from_node public  
							
							... 
							
							
 
							
							This is in an effort to be more consistent with both already public
getters: wlr_scene_buffer_from_node and wlr_scene_tree_from_node 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								88f80c4a7c 
								
							
								 
							
						 
						
							
							
								
								wlr_scene: Make scene_tree_from_node public  
							
							... 
							
							
 
							
							This is to allow for compositors that want to be more implicit about
how their scene is organized. Such a compositor may want to walk up
at a certain scene node to find something such as a surface to focus on. 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								61c157269e 
								
							
								 
							
						 
						
							
							
								
								wlr_scene: Add documentation to wlr_scene_buffer_from_node  
							
							
 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								e07c77f846 
								
							
								 
							
						 
						
							
							
								
								render/vulkan: implement render pass API  
							
							
 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								8af00d5534 
								
							
								 
							
						 
						
							
							
								
								renderer/gles2: Implement render pass interface  
							
							
 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								b1d26ed47b 
								
							
								 
							
						 
						
							
							
								
								renderer/gles2: Compute texture coordinates based off of vertex positions  
							
							
 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								f60b367db7 
								
							
								 
							
						 
						
							
							
								
								render/vulkan: drop unused vulkan_has_extension()  
							
							
 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								42eec38ab6 
								
							
								 
							
						 
						
							
							
								
								render/vulkan: drop unused vulkan_change_layout_queue()  
							
							
 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								c7ae9dfaf8 
								
							
								 
							
						 
						
							
							
								
								render/vulkan: generalize YCbCr format support  
							
							
 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								5ea0eb3468 
								
							
								 
							
						 
						
							
							
								
								render/vulkan: add vulkan_get_pipeline_layout()  
							
							... 
							
							
 
							
							Will make it easier to add more pipeline layouts for other YCbCr
formats. 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								fd38761676 
								
							
								 
							
						 
						
							
							
								
								render/vulkan: introduce struct wlr_vk_pipeline_layout  
							
							... 
							
							
 
							
							This will make it easier to create one pipeline layout (plus related
objects) per YCbCr format. 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								5f4a35290d 
								
							
								 
							
						 
						
							
							
								
								util/box: always treat NULL boxes as empty  
							
							
 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								96f3f3c92e 
								
							
								 
							
						 
						
							
							
								
								render/pixel-format: add support for block-based formats  
							
							... 
							
							
 
							
							Some formats like sub-sampled YCbCr use a block of bytes to
store the color values for more than one pixel. Update our format
table to be able to handle such formats. 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								78a1ac540e 
								
							
								 
							
						 
						
							
							
								
								render/pixel-format: add docs  
							
							
 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								10dd416694 
								
							
								 
							
						 
						
							
							
								
								render/vulkan: allow rendering to non-8-bit buffers  
							
							... 
							
							
 
							
							This is implemented by a two-subpass rendering scheme; the first
subpass draws (and blends) onto a linear R16G16B16A16_SFLOAT buffer,
while the second subpass performs linear->srgb conversion, writing
onto the actual output buffer. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								300bd80772 
								
							
								 
							
						 
						
							
							
								
								wlr_drm_format_set: Store formats on array  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								90d08f8f1c 
								
							
								 
							
						 
						
							
							
								
								wlr_drm_format: Rework wlr_drm_format_intersect  
							
							... 
							
							
 
							
							Now it takes a reference to a destination format 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								340700cb70 
								
							
								 
							
						 
						
							
							
								
								wlr_drm_format: Change wlr_drm_format_dup to copy  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								099a147439 
								
							
								 
							
						 
						
							
							
								
								wlr_drm_format: Change wlr_drm_format_create to init  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								e427e019c4 
								
							
								 
							
						 
						
							
							
								
								wlr_drm_format: Don't take double pointer in wlr_drm_format_add  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								e6879616e7 
								
							
								 
							
						 
						
							
							
								
								wlr_drm_format: Make structure constant length  
							
							... 
							
							
 
							
							Don't store modifiers as part of the struct. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								84d07e7119 
								
							
								 
							
						 
						
							
							
								
								wlr_drm_format_set: Remove redundant text in comment for finish function  
							
							... 
							
							
 
							
							This is implied by the fact that this function finishes the state instead
of destroying it. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								b45396c790 
								
							
								 
							
						 
						
							
							
								
								wlr_drm_format: Introduce drm_format_finish  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								2a1234a820 
								
							
								 
							
						 
						
							
							
								
								wlr-export-dmabuf-v1: handle output destroy  
							
							... 
							
							
 
							
							We were storing a wlr_output without listening for the destroy
event.
Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3646  
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								d933f5204b 
								
							
								 
							
						 
						
							
							
								
								output: drop wlr_output_cursor_set_surface  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								b64e7e88bf 
								
							
								 
							
						 
						
							
							
								
								output: add output_cursor_set_texture()  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								b03f71fe5f 
								
							
								 
							
						 
						
							
							
								
								render/vulkan: add support for NV12  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								5adb1be3a7 
								
							
								 
							
						 
						
							
							
								
								drm_format_set_intersect: Require initialized dst and remove assert  
							
							... 
							
							
 
							
							The usages in linux_dmabuf zero out the dst before passing it so this
change should be fine. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								1ee75786b4 
								
							
								 
							
						 
						
							
							
								
								drm_format_set_union: Require initialized dst and remove assert  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								d7917d2076 
								
							
								 
							
						 
						
							
							
								
								xwayland: allow compositor to set withdrawn state  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								394accbe4a 
								
							
								 
							
						 
						
							
							
								
								wlr_compositer: Keep track if surface has committed a buffer before.  
							
							... 
							
							
 
							
							This would break if you are running with a NULL renderer. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								2dd9549085 
								
							
								 
							
						 
						
							
							
								
								drm_format_set: Mark as unstable  
							
							... 
							
							
 
							
							This is supposed to be an unstable interface and it was a mistake that
this header was not included. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								ec37d55a5e 
								
							
								 
							
						 
						
							
							
								
								Add union function for format sets  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								a93fc8afd6 
								
							
								 
							
						 
						
							
							
								
								render: introduce blend mode  
							
							... 
							
							
 
							
							Allow callers to pick the blend mode when rendering a rect. The
"none" mode can be used to disable blending and clear rects. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								f5a5712a02 
								
							
								 
							
						 
						
							
							
								
								render/vulkan: use VK_KHR_synchronization2  
							
							... 
							
							
 
							
							This simplifies the vkQueueSubmit call, removing the need to pass
timeline semaphore point values as separate arrays. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								6830bfc17f 
								
							
								 
							
						 
						
							
							
								
								render/pixman: implement render pass API  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								6ce371a317 
								
							
								 
							
						 
						
							
							
								
								render/pixman: add begin_pixman_data_ptr_access()  
							
							... 
							
							
 
							
							This logic is used twice. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								587852056c 
								
							
								 
							
						 
						
							
							
								
								output: add wlr_output_add_software_cursors_to_render_pass()  
							
							... 
							
							
 
							
							Same as wlr_output_render_software_cursors(), but takes a
struct wlr_render_pass. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								471249ae4f 
								
							
								 
							
						 
						
							
							
								
								render/pass: add legacy render pass implementation  
							
							... 
							
							
 
							
							Add a render pass implementation which leverages the legacy
rendering API. This is helpful during the migration. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								4a1ad32534 
								
							
								 
							
						 
						
							
							
								
								render: add render pass helpers  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								756dedae20 
								
							
								 
							
						 
						
							
							
								
								Add a new renderer API  
							
							... 
							
							
 
							
							Goals:
- Extensibility: we need to be able to add new params to the calls
  to render a texture/rect. For instance we'll need to add fences to
  the render texture operation for explicit sync purposes.
- No implicit state: no more bind_buffer, begin, end.
- No matrices: these hurt Pixman and we don't need them.
- Clip regions for optimized damage repainting.
Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3188  
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								44069dfd5e 
								
							
								 
							
						 
						
							
							
								
								output-layer: add cropping support  
							
							... 
							
							
 
							
							Add a src_box state field. Use the SRC_* KMS props in the DRM
backend, reject the layers in the Wayland backend (for now, we can
support it later via viewporter). 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								92b726ef67 
								
							
								 
							
						 
						
							
							
								
								render/vulkan: use full names for extension command fields  
							
							... 
							
							
 
							
							This makes grepping much easier. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								25d9055281 
								
							
								 
							
						 
						
							
							
								
								xcursor: sync with libwayland  
							
							... 
							
							
 
							
							xcursor.c was copied over from libwayland-cursor. A lot of
cosmetic imporvements have been merged upstream. Copy-paste the
new version. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								00489b11a0 
								
							
								 
							
						 
						
							
							
								
								seat: Provide dummy resources for inert seats  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								dae2deb3c9 
								
							
								 
							
						 
						
							
							
								
								compositor: add wlr_surface_set_preferred_buffer_transform()  
							
							... 
							
							
 
							
							References: https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/220  
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								42edd36785 
								
							
								 
							
						 
						
							
							
								
								compositor: add wlr_surface_set_preferred_buffer_scale()  
							
							... 
							
							
 
							
							References: https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/220  
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								0bb574239d 
								
							
								 
							
						 
						
							
							
								
								compositor: pass version in wlr_compositor_create  
							
							... 
							
							
 
							
							This allows wlroots to support newer versions of the interface
without breaking the API. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								b1e38fc7ea 
								
							
								 
							
						 
						
							
							
								
								output: Drop output_is_direct_scanout  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								9ef98452a3 
								
							
								 
							
						 
						
							
							
								
								output-damage: drop  
							
							... 
							
							
 
							
							Compositors can migrate to wlr_damage_ring. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								079ff9e6fb 
								
							
								 
							
						 
						
							
							
								
								output: add wlr_output_is_direct_scanout_allowed()  
							
							... 
							
							
 
							
							This lets compositors check whether direct scan-out is possible.
Compositors will soon be responsible for manually calling this
function. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								835208db98 
								
							
								 
							
						 
						
							
							
								
								output-layer: add support for scaling buffers  
							
							... 
							
							
 
							
							This allows callers to set a destination size different from the
buffer size to scale them.
The DRM backend supports this. The Wayland backend doesn't yet
(we'd need to wire up viewporter). 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								89dcecba39 
								
							
								 
							
						 
						
							
							
								
								backend/wayland: only unmap layers when necessary  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								e00c4cd7dc 
								
							
								 
							
						 
						
							
							
								
								output-layer: cache current state  
							
							... 
							
							
 
							
							The will be used by the Wayland backend to figure out whether
updating sub-surface position is necessary. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								37f42e2df2 
								
							
								 
							
						 
						
							
							
								
								backend/wayland: support touch cancel events  
							
							... 
							
							
 
							
							since wayland doesn't provide a touch id in cancel events, track what
points are active so we can cancel all of them
timestamp is also not provided - use 0 because no one's paying attention
to that anyway
Closes  #3000  
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								5602fb1373 
								
							
								 
							
						 
						
							
							
								
								backend/wayland: fix undefined reference to wlr_wl_input_device_get_seat  
							
							... 
							
							
 
							
							Amend b7e9ad79https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3611  
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								a3489f2c64 
								
							
								 
							
						 
						
							
							
								
								xdg-shell: improve unmapping logic slightly  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								1b6fac4aa6 
								
							
								 
							
						 
						
							
							
								
								output-layer: require all layers in wlr_output_state.layers  
							
							... 
							
							
 
							
							- Simplifies the backends
- Avoids having two ways to do the same thing: previously one could
  disable a layer by either omitting it from wlr_output_state.layers,
  or by passing a NULL buffer
- We can change our mind in the future: we can allow users to omit
  some layers and define a meaning without breaking the API.
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4017#note_1783997  
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								ad51983b23 
								
							
								 
							
						 
						
							
							
								
								xwm: make atom_map static  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								cab47d33e2 
								
							
								 
							
						 
						
							
							
								
								util/log: prefix WLR_REL_SRC_DIR with underscore  
							
							... 
							
							
 
							
							Just like _WLR_FILENAME and _WLR_ATTRIB_PRINTF, this makes it more
obvious that this isn't part of our API. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								a160304289 
								
							
								 
							
						 
						
							
							
								
								backend/drm: use libdisplay-info for CVT mode generation  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								35da997001 
								
							
								 
							
						 
						
							
							
								
								backend/drm: use libdisplay-info to parse EDID  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								40117e1e0d 
								
							
								 
							
						 
						
							
							
								
								render/vulkan: prefer render node for wlr_renderer_get_drm_fd()  
							
							... 
							
							
 
							
							Instead of returning a primary node from wlr_renderer_get_drm_fd(),
prefer to return a render node if any. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								fef8ab22e3 
								
							
								 
							
						 
						
							
							
								
								output: introduce wlr_output_configure_primary_swapchain()  
							
							... 
							
							
 
							
							The goal is to simplify wlr_output by moving all of its rendering
API into separate helpers. Here is a first step to sunset
wlr_output_attach_render(). Instead, compositors call
wlr_output_configure_primary_swapchain(), wlr_swapchain_acquire(),
wlr_renderer_begin_with_buffer() and wlr_output_attach_buffer().
Note that compositors can supply a base struct wlr_output_state.
This is useful to allocate a buffer suitable for submission with
a modeset, for instance.
Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3079 
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3197 
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3984  
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								b33ab26fe7 
								
							
								 
							
						 
						
							
							
								
								render/swapchain: make public  
							
							... 
							
							
 
							
							We've had this struct for a while. It'd be useful for compositors
if they want to manage the swap chains themselves instead of being
forced to use wlr_output's. Some compositors might also want to use
a swapchain without an output. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								3874577d3c 
								
							
								 
							
						 
						
							
							
								
								output-layer: document interactions with screen capture  
							
							... 
							
							
 
							
							When e.g. screencopy-v1 is active, callers are responsible for
disabling output layers. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								8338d17d7e 
								
							
								 
							
						 
						
							
							
								
								backend/drm: drop wlr_drm_layer.pending_{width,height}  
							
							... 
							
							
 
							
							No need to store this info in struct wlr_drm_layer. We can just
extract the size when we need it. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								7215bd1e0f 
								
							
								 
							
						 
						
							
							
								
								output: expose wlr_output_state_set_buffer()  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								4629d0ef40 
								
							
								 
							
						 
						
							
							
								
								output: expose wlr_output_state_finish()  
							
							... 
							
							
 
							
							Same as the original function, but check for the bitfield before
calling pixman_region32_fini(), because that function expects an
initialized region. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								3ef9f91283 
								
							
								 
							
						 
						
							
							
								
								wlr_scene: Add dmabuf_feedback helper  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								323f0b94db 
								
							
								 
							
						 
						
							
							
								
								wlr_scene: Cleanup header includes  
							
							... 
							
							
 
							
							We don't need to pull wlr_compositor. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								849c362ffb 
								
							
								 
							
						 
						
							
							
								
								linux-dmabuf-v1: add helper for output layer feedback events  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								22d9df2af4 
								
							
								 
							
						 
						
							
							
								
								backend/drm: send output layer feedback events  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								e1335a792a 
								
							
								 
							
						 
						
							
							
								
								output-layer: add feedback event  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								4d6fbb2289 
								
							
								 
							
						 
						
							
							
								
								backend/drm: add support for output layers  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								2398621b8b 
								
							
								 
							
						 
						
							
							
								
								backend/drm: add libliftoff composition layer  
							
							... 
							
							
 
							
							This will be useful for implementing the output layers API. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								9d43e7e4d6 
								
							
								 
							
						 
						
							
							
								
								backend/drm: add libliftoff interface  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								b4e9487312 
								
							
								 
							
						 
						
							
							
								
								backend/drm: init wlr_drm_plane for all plane types  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								cd17b18495 
								
							
								 
							
						 
						
							
							
								
								backend/wayland: implement output layers  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								3e0ce761ad 
								
							
								 
							
						 
						
							
							
								
								output: add wlr_output_set_layers()  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								2f29b0c438 
								
							
								 
							
						 
						
							
							
								
								Add wlr_output_layer  
							
							... 
							
							
 
							
							This is based on previous work [1] [2].
This new API allows compositors to display buffers without needing to
perform rendering operations. This API can be implemented on Wayland
using subsurfaces and on DRM using KMS planes.
Compared to [1], this approach leverages wlr_addon_set to let backends
attach their own private state to layers, removes the pending
state (necessary for interop with wlr_output_commit_state()) and
enum wlr_output_layer_state_field.
[1]: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/1985 
[2]: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3447  
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								068280201a 
								
							
								 
							
						 
						
							
							
								
								xwayland: Read and publish _NET_WM_STRUT_PARTIAL property  
							
							... 
							
							
 
							
							This is needed for compositors that want to reserve space for
XWayland panels.  Such a feature can be useful in a "transitional"
setup, where only the X11 window manager and compositor is replaced
but other components of an X11 desktop environment are still used.
This change simply reads the X11 property; the compositor is free
to ignore it.  Thus, compositors that don't want to support such a
"transitional" feature are not impacted.
v2: Update xwayland_surface_associate() 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								1225f81a6a 
								
							
								 
							
						 
						
							
							
								
								scene: Add fractional scale handling  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								efb8df8b22 
								
							
								 
							
						 
						
							
							
								
								wp-fractional-scale-v1: new protocol implementation  
							
							... 
							
							
 
							
							This implements the WIP wp-fractional-scale-v1 protocol. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								0c966f102c 
								
							
								 
							
						 
						
							
							
								
								linux-dmabuf-v1: add wlr_linux_dmabuf_feedback_v1_init_with_options()  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								b264ec7767 
								
							
								 
							
						 
						
							
							
								
								linux-dmabuf-v1: add basic helpers for feedback  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								5cd14dfc91 
								
							
								 
							
						 
						
							
							
								
								linux-dmabuf-v1: stop using const in feedback  
							
							... 
							
							
 
							
							Instead of using const pointers, use structs owned by the tranche.
This will allow wlroots to expose helpers to build feedback
objects. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								7b32c25a4f 
								
							
								 
							
						 
						
							
							
								
								wlr_scene: Rename wlr_scene_surface_from_buffer  
							
							... 
							
							
 
							
							This renames it to wlr_scene_surface_try_from_buffer to be more clear
that this function can return NULL. This is inline with the rest of
wlroots[1].
[1] https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3991  
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								cfa7696d7b 
								
							
								 
							
						 
						
							
							
								
								backend/wayland: handle wl_registry.global_remove for wl_seat  
							
							... 
							
							
 
							
							Destroy the struct wlr_wl_seat when the global is removed. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								2b5eb0733e 
								
							
								 
							
						 
						
							
							
								
								backend/wayland: make destroy_wl_seats() handle a single seat  
							
							... 
							
							
 
							
							Instead of destroying all seats, destroy a single one. We only need
to destroy all seats at one call-site (backend_destroy), but we'll
need to destroy a single seat elsewhere in the next commit. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								eb3e8f08a8 
								
							
								 
							
						 
						
							
							
								
								subcompositor: convert to try_from  
							
							... 
							
							
 
							
							References: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/884  
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								c5f7f8ab98 
								
							
								 
							
						 
						
							
							
								
								ext-session-lock-v1: convert to try_from  
							
							... 
							
							
 
							
							References: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/884  
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								f9bd416d41 
								
							
								 
							
						 
						
							
							
								
								layer-shell-v1: convert to try_from  
							
							... 
							
							
 
							
							References: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/884  
							
						 
						
							3 years ago