738bbf01ee 
								
							
								 
							
						 
						
							
							
								
								cursor: add support for linux-drm-syncobj-v1  
							
							
 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								fe429b2463 
								
							
								 
							
						 
						
							
							
								
								Switch to stable tablet-v2 protocol  
							
							... 
							
							
 
							
							References: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/284  
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								78c76ddd09 
								
							
								 
							
						 
						
							
							
								
								backend: add wlr_backend_{test,commit}()  
							
							
 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								811ca199c4 
								
							
								 
							
						 
						
							
							
								
								xdg-shell: drop automatic surface configuration  
							
							... 
							
							
 
							
							Compositors now are expected to wait for an initial commit by checking
wlr_xdg_surface.initial_commit on every surface commit and send
(schedule) configure events manually. 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								4b3553409a 
								
							
								 
							
						 
						
							
							
								
								xdg-shell: use wlr_surface_synced for popups  
							
							
 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								9201431c29 
								
							
								 
							
						 
						
							
							
								
								xdg-shell: use wlr_surface_synced for toplevel  
							
							
 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								c31ca04264 
								
							
								 
							
						 
						
							
							
								
								output: drop stale references to wlr_output_attach_render()  
							
							... 
							
							
 
							
							It turns out we forgot about the function declaration in the header.
Also some docs were still referring to that function.
Move the wlr_output_attach_render() docs to
wlr_output_begin_render_pass(). 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								86b2cac921 
								
							
								 
							
						 
						
							
							
								
								Add missing type declarations in headers  
							
							
 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								d1ddd4ca3a 
								
							
								 
							
						 
						
							
							
								
								wlr_scene_surface: Introduce scene_surface_set_clip  
							
							
 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								a09d649439 
								
							
								 
							
						 
						
							
							
								
								docs: replace the less commonly used "::" with "."  
							
							
 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								83af3202f9 
								
							
								 
							
						 
						
							
							
								
								output: defer fake present events until after commit  
							
							... 
							
							
 
							
							Since headless and wayland-without-presentation-feedback were firing
present inside their commit impls, present was getting fired before
commit, which is cursed. Defer this with an idle timer so that commit
handlers can run before present handlers. 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								e5fc8cd4c7 
								
							
								 
							
						 
						
							
							
								
								output: trigger frame/present events on all commits on enabled output  
							
							... 
							
							
 
							
							Up until now, frame/present events were only triggered when the
user submitted a buffer. Change the wlr_output API so that these
events are triggered when any commit is applied on an enabled
output.
Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3708  
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								bd5c4f4a4a 
								
							
								 
							
						 
						
							
							
								
								xdg-shell: rework roles  
							
							
 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								f0cc712af1 
								
							
								 
							
						 
						
							
							
								
								xdg-shell: don't return anything from create_xdg_surface()  
							
							
 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								9b8cd1f5d6 
								
							
								 
							
						 
						
							
							
								
								buffer: make wlr_client_buffer functions private  
							
							... 
							
							
 
							
							We want to eventually remove this. Let's make sure compositors
don't start using either of these functions. 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								000081db19 
								
							
								 
							
						 
						
							
							
								
								cursor, output: apply viewport to cursor  
							
							... 
							
							
 
							
							Instead of passing the scale, pass the source and destination
boxes.
Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3676  
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								b625a13156 
								
							
								 
							
						 
						
							
							
								
								output: attach buffer to state in output_ensure_buffer()  
							
							
 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								3dc646ea88 
								
							
								 
							
						 
						
							
							
								
								Add some missing includes/declarations  
							
							
 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								49e9be62ae 
								
							
								 
							
						 
						
							
							
								
								subcompositor: consider mapping on parent map  
							
							... 
							
							
 
							
							Fixes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3654  
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								b0437fc416 
								
							
								 
							
						 
						
							
							
								
								xdg-shell: use unified map logic  
							
							
 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								90d08f8f1c 
								
							
								 
							
						 
						
							
							
								
								wlr_drm_format: Rework wlr_drm_format_intersect  
							
							... 
							
							
 
							
							Now it takes a reference to a destination format 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								b64e7e88bf 
								
							
								 
							
						 
						
							
							
								
								output: add output_cursor_set_texture()  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								00489b11a0 
								
							
								 
							
						 
						
							
							
								
								seat: Provide dummy resources for inert seats  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								b1e38fc7ea 
								
							
								 
							
						 
						
							
							
								
								output: Drop output_is_direct_scanout  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								a3489f2c64 
								
							
								 
							
						 
						
							
							
								
								xdg-shell: improve unmapping logic slightly  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								7215bd1e0f 
								
							
								 
							
						 
						
							
							
								
								output: expose wlr_output_state_set_buffer()  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								6c277e3c39 
								
							
								 
							
						 
						
							
							
								
								buffer: drop wlr_shm_client_buffer  
							
							... 
							
							
 
							
							It's been superseded by wlr_shm. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								acd5a64fd1 
								
							
								 
							
						 
						
							
							
								
								xdg-shell: use role object destroy handler  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								8e8b9a7217 
								
							
								 
							
						 
						
							
							
								
								output: fix back buffer checks  
							
							... 
							
							
 
							
							The back buffer is no longer set at commit time since 0556aa0c59https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3496  
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								69c47717c2 
								
							
								 
							
						 
						
							
							
								
								buffer: split into multiple files  
							
							... 
							
							
 
							
							wlr_buffer.c is difficult to read because it contains a mixed bag
of unrelated things: base buffer type, buffer implementations,
buffer resource factory, and client buffer.
Split each of these into their own file. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								3abedaf211 
								
							
								 
							
						 
						
							
							
								
								subcompositor: move+rename subsurface_parent_commit()  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								29291cb47c 
								
							
								 
							
						 
						
							
							
								
								render/texture: drop wlr_texture_is_opaque  
							
							... 
							
							
 
							
							Whether a texture is opaque or not doesn't depend on the renderer
at all, it just depends on the source buffer. Instead of forcing
all renderers to implement wlr_texture_impl.is_opaque, let's move
this in common code and use the wlr_buffer format to know whether
a texture will be opaque. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								96b594110d 
								
							
								 
							
						 
						
							
							
								
								matrix: remove wlr_matrix_projection()  
							
							... 
							
							
 
							
							69477051cc 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								0deef6fe44 
								
							
								 
							
						 
						
							
							
								
								output: fix leak of empty back buffer lock  
							
							... 
							
							
 
							
							This refactors output_ensure_buffer() to not mutate the state passed,
making the previous subtle behavior much more explicit.
Fixes: d483dd2fCloses : #3442  
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								9e25d3074d 
								
							
								 
							
						 
						
							
							
								
								output: pass wlr_output_state to rendering functions  
							
							... 
							
							
 
							
							No functional change. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								927661d246 
								
							
								 
							
						 
						
							
							
								
								output: pass wlr_output_state to output_pending_resolution  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								4a968576e4 
								
							
								 
							
						 
						
							
							
								
								xdg-popup: add proper configure flow  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								5f56246571 
								
							
								 
							
						 
						
							
							
								
								wlr_scene: Pull scene_node_get_root into a private header  
							
							... 
							
							
 
							
							We will need this for surface emulation on buffers. 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								9a17200446 
								
							
								 
							
						 
						
							
							
								
								types/wlr_keyboard: uniformize events name  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								5879e77d68 
								
							
								 
							
						 
						
							
							
								
								xdg-positioner: rename structs  
							
							... 
							
							
 
							
							To be consistent with other wlr_xdg_* structs,
wlr_xdg_positioner_resource is renamed to wlr_xdg_positioner and made
public, and wlr_xdg_positioner is renamed to wlr_xdg_positioner_rules.
Functions which operated on wlr_xdg_positioner were renamed and updated
accordingly. 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								b5b15b2625 
								
							
								 
							
						 
						
							
							
								
								xdg-{toplevel,popup}: extract destructors  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								88f3040438 
								
							
								 
							
						 
						
							
							
								
								xdg-popup: destroy popup-less grab  
							
							... 
							
							
 
							
							This also fixes a seat destruction segfaulting if xdg-shell was
destroyed first. 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								c35d14ecfa 
								
							
								 
							
						 
						
							
							
								
								xdg-shell: extract role-specific unmap logic  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								27c8865a4d 
								
							
								 
							
						 
						
							
							
								
								xdg-shell: unify function arguments' names  
							
							... 
							
							
 
							
							`wlr_xdg_surface`s are now named "surface" everywhere, and
`wlr_surface`s are called "wlr_surface". 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								41412cadbe 
								
							
								 
							
						 
						
							
							
								
								xdg-popup: fix functions' main argument type  
							
							... 
							
							
 
							
							With this commit, `wlr_xdg_popup_*()` functions now expect
a `wlr_xdg_popup` instead of a `wlr_xdg_surface`. 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								affe0d8713 
								
							
								 
							
						 
						
							
							
								
								xdg-toplevel: fix functions' main argument type  
							
							... 
							
							
 
							
							With this commit, `wlr_xdg_toplevel_*()` functions now expect
a `wlr_xdg_toplevel` instead of a `wlr_xdg_surface`. 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								ee52c32915 
								
							
								 
							
						 
						
							
							
								
								xdg-shell: fix create_xdg_popup() param type  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								05dd990e43 
								
							
								 
							
						 
						
							
							
								
								xdg-shell: rename surface role handlers  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								50827ed7f5 
								
							
								 
							
						 
						
							
							
								
								surface: improve role precommit hook  
							
							... 
							
							
 
							
							Now the role precommit hook is called before the commit, not on
wl_surface.commit request, and takes a state which is to be applied. 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								36b5d5888c 
								
							
								 
							
						 
						
							
							
								
								surface: move impl to types/wlr_{sub,}compositor.c  
							
							
 
							
						 
						
							4 years ago