340700cb70 
								
							
								 
							
						 
						
							
							
								
								wlr_drm_format: Change wlr_drm_format_dup to copy  
							
							
 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								e1335a792a 
								
							
								 
							
						 
						
							
							
								
								output-layer: add feedback event  
							
							
 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								49cb85ad72 
								
							
								 
							
						 
						
							
							
								
								input-method-v2: convert to try_from  
							
							... 
							
							
 
							
							References: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/884  
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								711a1a3ed4 
								
							
								 
							
						 
						
							
							
								
								xdg-shell: convert to try_from  
							
							... 
							
							
 
							
							References: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/884  
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								fbf5982e38 
								
							
								 
							
						 
						
							
							
								
								xwayland/xwm: introduce wlr_xwayland_surface_try_from_wlr_surface()  
							
							... 
							
							
 
							
							This new function replaces wlr_surface_is_xwayland_surface() and
wlr_xwayland_surface_from_wlr_surface(). 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								3668c9d86c 
								
							
								 
							
						 
						
							
							
								
								examples, tinywl: use "default" cursor instead of "left_ptr"  
							
							... 
							
							
 
							
							"left_ptr" is the X11 name, "default" is the cursor spec name. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								0f24d27e0b 
								
							
								 
							
						 
						
							
							
								
								xdg-shell: rename wlr_xdg_popup.committed to sent_initial_configure  
							
							... 
							
							
 
							
							We made a similar change to wlr_xdg_toplevel. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								df0c926a7a 
								
							
								 
							
						 
						
							
							
								
								xdg-shell: rename wlr_xdg_toplevel.added to sent_initial_configure  
							
							... 
							
							
 
							
							This is more descriptive, and avoids the confusion with
wlr_xdg_surface.added. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								0e54b861e9 
								
							
								 
							
						 
						
							
							
								
								seat/keyboard: constify wlr_seat_keyboard_notify_enter()  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								695d28c250 
								
							
								 
							
						 
						
							
							
								
								seat/keyboard: constify wlr_seat_keyboard_notify_modifiers()  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								e44834595d 
								
							
								 
							
						 
						
							
							
								
								seat/keyboard: constify args in wlr_seat_keyboard_enter()  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								12e04d8f83 
								
							
								 
							
						 
						
							
							
								
								seat/keyboard: constify wlr_seat_keyboard_send_modifiers()  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								5007e713b4 
								
							
								 
							
						 
						
							
							
								
								wlr_scene: Send intersecting list of scene outputs for outputs_update signal  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								843b874f22 
								
							
								 
							
						 
						
							
							
								
								output-layout: improve closest point for no outputs case  
							
							... 
							
							
 
							
							Without outputs, all points are equally invalid anyway, but for e.g.
cursor warping it makes more sense to preserve the original position. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								e93ecc669c 
								
							
								 
							
						 
						
							
							
								
								tablet-tool: revert bitfield in enum wlr_tablet_tool_tip_state  
							
							... 
							
							
 
							
							This was changed to a bitfield by mistake.
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3484#note_1697926  
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								869af1cfbb 
								
									
								
							
								 
							
						 
						
							
							
								
								session-lock: send more protocol errors  
							
							... 
							
							
 
							
							The invalid_destroy and invalid_unlock protocol errors aren't currently
sent by wlroots and instead left up to the compositor. However, we can
handle these as well without much additional complexity.
This also adds a missing wl_resource_destroy() call if the lock is inert
in lock_handle_unlock_and_destroy(). 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								7081687843 
								
							
								 
							
						 
						
							
							
								
								keyboard: improve documentation  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								7f6d646e0a 
								
							
								 
							
						 
						
							
							
								
								keyboard: only update LEDs when changed  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								8f58c060fd 
								
							
								 
							
						 
						
							
							
								
								util/region: forbid "shrinking" a region with wlr_region_expand()  
							
							... 
							
							
 
							
							The logic isn't correct. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								f8e70af318 
								
							
								 
							
						 
						
							
							
								
								wlr_xdg_activation_v1: add new_token event  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								097ea84cda 
								
							
								 
							
						 
						
							
							
								
								output-layout: improve API  
							
							... 
							
							
 
							
							- wlr_output_layout_add{,_auto}() now return a bool indicating whether
  the function has succeeded.
- wlr_output_layout_move() is removed.
Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/1083  
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								27ea18cc33 
								
							
								 
							
						 
						
							
							
								
								output-layout: remove wlr_output_layout_output_state  
							
							... 
							
							
 
							
							wlroots uses "// private state" comments to denote structure fields
which shouldn't be accessed by compositors, so let's drop
wlr_output_layout_output_state and inline its fields into
wlr_output_layout_output; this also simplifies layout output creation. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								604df8b327 
								
							
								 
							
						 
						
							
							
								
								output-layout: fix function decl indentation  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								532f3d3c20 
								
							
								 
							
						 
						
							
							
								
								xwayland/xwm: replace role with addon  
							
							... 
							
							
 
							
							Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3545  
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								512deebd82 
								
							
								 
							
						 
						
							
							
								
								compositor: add wlr_surface.events.precommit  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								c4727240af 
								
							
								 
							
						 
						
							
							
								
								compositor: document wlr_surface_{enter,leave,send_frame_done}  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								ec846adb54 
								
							
								 
							
						 
						
							
							
								
								wlr_drm: Add missing wlr_buffer import  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								f36a5915da 
								
							
								 
							
						 
						
							
							
								
								wl-drm: don't store wlr_renderer  
							
							... 
							
							
 
							
							Query the formats at init time, then forget about the renderer.
This will allow wl_drm to be created with a list of formats instead
of a renderer, and will behave better after a GPU reset. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								c8eb24d30e 
								
							
								 
							
						 
						
							
							
								
								output: drop enable/mode events  
							
							... 
							
							
 
							
							The backend no longer changes the output state behind the
compositor's back. Instead, compositors can listen to the "commit"
event and check for WLR_OUTPUT_STATE_ENABLED/WLR_OUTPUT_STATE_MODE.
Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/2300  
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								19dfe99496 
								
							
								 
							
						 
						
							
							
								
								output-damage: stop listening for output mode events  
							
							... 
							
							
 
							
							These will go away. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								fecbaa2bd6 
								
							
								 
							
						 
						
							
							
								
								scene: stop listening for output enable/mode events  
							
							... 
							
							
 
							
							These will go away. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								fe891ebd4e 
								
							
								 
							
						 
						
							
							
								
								output_init_render: Allow re-initialization  
							
							... 
							
							
 
							
							This lets the compositor call this function after the fact to replace
the renderer/allocator after a renderer context lost. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								db0e962368 
								
							
								 
							
						 
						
							
							
								
								wlr_texture: Expose owning renderer  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								f103dc74d8 
								
							
								 
							
						 
						
							
							
								
								linux-dmabuf-v1: introduce wlr_linux_dmabuf_v1_create()  
							
							... 
							
							
 
							
							Some compositors may want to use the linux-dmabuf-v1 implementation
with a completely custom renderer. Add a function to create the
global with a default feedback. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								9c04fd2496 
								
							
								 
							
						 
						
							
							
								
								linux-dmabuf-v1: drop wlr_renderer field  
							
							... 
							
							
 
							
							This isn't used anymore. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								88493d1f7c 
								
							
								 
							
						 
						
							
							
								
								linux-dmabuf-v1: don't use wlr_renderer to send legacy format list  
							
							... 
							
							
 
							
							The wlr_renderer field will go away in a subsequent commit.
Build the legacy device list from the default feedback instead. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								d45cffb865 
								
							
								 
							
						 
						
							
							
								
								linux-dmabuf-v1: don't use wlr_renderer to sanity check DMA-BUFs  
							
							... 
							
							
 
							
							The wlr_renderer field will go away in a subsequent commit.
Instead of trying to create a texture, try to import the DMA-BUF
into the DRM device FD. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								c99c60090c 
								
							
								 
							
						 
						
							
							
								
								linux-dmabuf-v1: add version arg to create()  
							
							... 
							
							
 
							
							To be able to add support for newer versions without breaking
changes. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								444d94ef89 
								
							
								 
							
						 
						
							
							
								
								linux-dmabuf-v1: add "_with_renderer" suffix to create() function  
							
							... 
							
							
 
							
							Make it clear this is a helper consuming a wlr_renderer. We'll
add a lower-level create() function which doesn't take it in the
next commit. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								f0375eed24 
								
							
								 
							
						 
						
							
							
								
								backend/session: make optional  
							
							... 
							
							
 
							
							Some compositors are not interested in wlr_session, for instance
nested compositors.
Disabling wlr_session removes the udev dependency. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								76b3687739 
								
							
								 
							
						 
						
							
							
								
								shm: add create() function without a wlr_renderer  
							
							... 
							
							
 
							
							This allows compositors which don't use wlr_renderer to still use
wlroots' wl_shm implementation. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								060df4c6c0 
								
							
								 
							
						 
						
							
							
								
								scene: introduce wlr_scene_buffer.events.outputs_update  
							
							... 
							
							
 
							
							This event is useful for e.g. sending the preferred buffer scale to the
client. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								42016fa262 
								
							
								 
							
						 
						
							
							
								
								compositor: make renderer optional  
							
							... 
							
							
 
							
							This is a first step towards moving texture uploading out of
wlr_compositor.
This commit allows compositors to opt-out of the texture uploading
by passing a NULL wlr_renderer. An immediate user of this is
gamescope, which currently implements a stub wlr_renderer just to
make wlr_compositor happy. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								359df5ef84 
								
							
								 
							
						 
						
							
							
								
								compsitor: document wlr_compositor_create()  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								d47016abb2 
								
							
								 
							
						 
						
							
							
								
								backend/multi: stop pulling <wlr/backend/session.h>  
							
							... 
							
							
 
							
							Unused. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								0fa5743c26 
								
							
								 
							
						 
						
							
							
								
								render/gles2, render/pixman: stop pulling <wlr/backend.h>  
							
							... 
							
							
 
							
							No reason why the GLES2/Pixman renderers should depend on the
backend. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								b89a050e58 
								
							
								 
							
						 
						
							
							
								
								backend: stop pulling <wlr/backend/session.h>  
							
							... 
							
							
 
							
							We can just forward-declare the struct instead. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								ba13f471ea 
								
							
								 
							
						 
						
							
							
								
								backend/session: drop unused <libudev.h>  
							
							... 
							
							
 
							
							We don't actually need to pull that header here. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								99134c26b8 
								
							
								 
							
						 
						
							
							
								
								render: stop pulling <wlr/backend.h>  
							
							... 
							
							
 
							
							Let's just forward-declare struct wlr_backend instead.
We need to fixup the Vulkan renderer: it needs makedev(), which
got included by chance via <wlr/backend.h> → <wlr/backend/session.h>
→ <libudev.h>. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								4ff46e6cf9 
								
							
								 
							
						 
						
							
							
								
								xwayland/xwm: add support for xwayland-shell-v1  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								85b37127a6 
								
							
								 
							
						 
						
							
							
								
								xwayland/shell: add wlr_xwayland_shell_v1_surface_from_serial()  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								d19191ff6b 
								
							
								 
							
						 
						
							
							
								
								xwayland/server: delay non-lazy startup  
							
							... 
							
							
 
							
							This allows users to setup event listeners before the server is
actually started. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								3f40b0031f 
								
							
								 
							
						 
						
							
							
								
								xwayland/server: add start signal  
							
							... 
							
							
 
							
							This can be used to know when wlr_xwayland_server decides to start
a new Xwayland process. At that point the wl_client has already
been created but the Xwayland process hasn't been started yet. 
							
						 
						
							3 years ago