73755ad348 
								
									
								
							
								 
							
						 
						
							
							
								
								screencopy-v1: add basic implementation  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								0e19b024c6 
								
							
								 
							
						 
						
							
							
								
								Add minimum version for ffmpeg 4.0 libraries  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								86942d8a6a 
								
							
								 
							
						 
						
							
							
								
								Check for libavutil/hwcontext_drm.h  
							
							... 
							
							
 
							
							This is an optional feature of libavutil, so this will cause a build
failure if it's not present (e.g. on Debian/Ubuntu). 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								5707653e85 
								
							
								 
							
						 
						
							
							
								
								examples/dmabuf-capture: move encoding to a separate thread  
							
							... 
							
							
 
							
							Drop new frames if too slow. Speeds up encoding significantly, even with vaapi. 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								ed7d5b0f53 
								
							
								 
							
						 
						
							
							
								
								Fix example  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								bd0c1b7949 
								
									
								
							
								 
							
						 
						
							
							
								
								export-dmabuf: update protocol  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								9eddcbc376 
								
							
								 
							
						 
						
							
							
								
								Update example and protocol  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								21928cbe61 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into screencontent  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								d1cf9acbd5 
								
							
								 
							
						 
						
							
							
								
								cleanup: Use void for zero-parameter functions  
							
							... 
							
							
 
							
							Signed-off-by: Genki Sky <sky@genki.is> 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								8c9d0f15ce 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1017  from tobiasblass/examples_rotation_fix_doublefree  
							
							... 
							
							
 
							
							Fix double-free in the rotation.c example. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								0c1f50168b 
								
									
								
							
								 
							
						 
						
							
							
								
								examples/output-layout: destroy wl_display  
							
							... 
							
							
 
							
							Thanks @tobiasblass for pointing this out. See #1017 . 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								a21894a844 
								
							
								 
							
						 
						
							
							
								
								Fix double-free in the tablet.c and touch.c examples  
							
							... 
							
							
 
							
							The wl_display_destroy function already destroys the backend's renderer.
Freeing it by hand causes a segmentation fault. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								75f9feb6de 
								
							
								 
							
						 
						
							
							
								
								Fix double-free in the rotation.c example.  
							
							... 
							
							
 
							
							The wl_display_destroy function already destroys the backend's renderer.
Freeing it by hand causes a segmentation fault. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								70d324a0f9 
								
									
								
							
								 
							
						 
						
							
							
								
								examples/dmabuf-capture: simplify event loop and fix style  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								85b6b4b0c8 
								
									
								
							
								 
							
						 
						
							
							
								
								examples/dmabuf-capture: make building this example optional  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								2198fd5eed 
								
									
								
							
								 
							
						 
						
							
							
								
								examples/dmabuf-capture: fix indentation  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								f204a9127c 
								
									
								
							
								 
							
						 
						
							
							
								
								Command line parsing  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								b9b397ef80 
								
									
								
							
								 
							
						 
						
							
							
								
								Add a demo client for dmabuf export  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								24cf70ae96 
								
							
								 
							
						 
						
							
							
								
								backends: implement custom EGL and renderer initialization  
							
							... 
							
							
 
							
							Compositors now have more control over how the backend creates its
renderer. Currently all backends create an EGL/GLES2 renderer, so
the necessary attributes for creating the context are passed to a
user-provided callback function. It is responsible for initializing
provided wlr_egl and to return a renderer. On fail, return 0.
Fixes  #987  
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								a078e50ec0 
								
							
								 
							
						 
						
							
							
								
								rename sample state to "state"  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								e9fab2cc70 
								
							
								 
							
						 
						
							
							
								
								pointer example: use xcursor manager  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								aedd3c6d46 
								
							
								 
							
						 
						
							
							
								
								make pointer show up in pointer example  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								9a1d0e42d2 
								
									
								
							
								 
							
						 
						
							
							
								
								Fixed emersion's issues  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								7da50d065b 
								
									
								
							
								 
							
						 
						
							
							
								
								Fixed style issues  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								7f1230fe78 
								
									
								
							
								 
							
						 
						
							
							
								
								Remvoed unnecessary wayland socket in examples  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								167ca57b18 
								
									
								
							
								 
							
						 
						
							
							
								
								Fixed up building examples  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								583654405f 
								
									
								
							
								 
							
						 
						
							
							
								
								Made output layout example standalone  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								8fd25cbc5b 
								
									
								
							
								 
							
						 
						
							
							
								
								Fixed indentation  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								b3ca73c0ac 
								
									
								
							
								 
							
						 
						
							
							
								
								Multi-pointer ported over  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								b510c0f6c2 
								
									
								
							
								 
							
						 
						
							
							
								
								Made rotation example standalone  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								7be5dfecc0 
								
									
								
							
								 
							
						 
						
							
							
								
								Made tablet standalone  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								c622a0c7fb 
								
									
								
							
								 
							
						 
						
							
							
								
								Made touch standalone  
							
							... 
							
							
 
							
							TODO test 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								4c1d74ef91 
								
									
								
							
								 
							
						 
						
							
							
								
								Made examples/pointer standalone  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								7284709370 
								
									
								
							
								 
							
						 
						
							
							
								
								simple now works on DRM  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								44b2bf18f0 
								
									
								
							
								 
							
						 
						
							
							
								
								Can now quit the simple example  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								b98779a674 
								
									
								
							
								 
							
						 
						
							
							
								
								Got simple working without keyboard input  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								ad6d40c7c6 
								
									
								
							
								 
							
						 
						
							
							
								
								Moved cat out of support, removed support  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								eaed6bd03b 
								
									
								
							
								 
							
						 
						
							
							
								
								render/egl: add wlr_egl_destroy_surface  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								67a10cc1f6 
								
							
								 
							
						 
						
							
							
								
								examples/layer-shell: take an explicit grab on the popup  
							
							... 
							
							
 
							
							This demonstrates popups can be closed by clicking on the area outside
the popup and parent. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								32e043f996 
								
							
								 
							
						 
						
							
							
								
								examples: Allow to close the popup  
							
							... 
							
							
 
							
							So we can the xdg_popup_destroy path. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								5209c79702 
								
							
								 
							
						 
						
							
							
								
								examples: Handle input entering popup in layer-shell  
							
							... 
							
							
 
							
							Change the cursor when entering the popup and make mouse buttons change
the red component of the square. This makes sure we can handle input
correctly. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								421652a450 
								
							
								 
							
						 
						
							
							
								
								examples: Animate popup in layer-shell  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								d1e82a8ede 
								
							
								 
							
						 
						
							
							
								
								examples: Drop unused variable  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								941f88ce23 
								
							
								 
							
						 
						
							
							
								
								Fix popup positioning & double popups  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								0a0627f5d0 
								
							
								 
							
						 
						
							
							
								
								Finish forward-porting @acrisci's positioner work  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								2e3d901ac5 
								
							
								 
							
						 
						
							
							
								
								Forward-port xdg-shell-v6 positioner improvements  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								d3cdb00208 
								
							
								 
							
						 
						
							
							
								
								Add (shitty) support for popups to layer example  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								4575f27932 
								
							
								 
							
						 
						
							
							
								
								Update layer shell example -o behavior  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								555206cf60 
								
							
								 
							
						 
						
							
							
								
								Fix gcc string truncation warnings  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								902d859c67 
								
							
								 
							
						 
						
							
							
								
								Fix syntax errors  
							
							... 
							
							
 
							
							Build before you commit, dumbass 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								7bb8512afb 
								
							
								 
							
						 
						
							
							
								
								Fix assertions with side-effects  
							
							... 
							
							
 
							
							Fixes  #1725  
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								3a8c7f283d 
								
							
								 
							
						 
						
							
							
								
								Add input-inhibitor example client  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								a94f4d0edc 
								
							
								 
							
						 
						
							
							
								
								Always give keyboard focus to the topmost layer  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								883d8d306c 
								
							
								 
							
						 
						
							
							
								
								Identify topmost interactive layer surface  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								f63a5d881d 
								
									
								
							
								 
							
						 
						
							
							
								
								examples: get wlr_renderer from the backend  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								33a2eb4b77 
								
									
								
							
								 
							
						 
						
							
							
								
								Untie wlr_backend from wlr_renderer  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								2053a4c144 
								
							
								 
							
						 
						
							
							
								
								Add more exotic cursor for layer shell example  
							
							... 
							
							
 
							
							So it's more obvious that it's being set 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								746e3759b7 
								
							
								 
							
						 
						
							
							
								
								Address review feedback  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								168f65fb7a 
								
							
								 
							
						 
						
							
							
								
								Minor bugfixes  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								e3eb487dc2 
								
							
								 
							
						 
						
							
							
								
								Add pointer support to layer shell example  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								ac219cbda6 
								
							
								 
							
						 
						
							
							
								
								Remove width_mm from tablet events  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								324b9d910d 
								
							
								 
							
						 
						
							
							
								
								Remove width_mm from wlr_touch events  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								a35a5786b0 
								
							
								 
							
						 
						
							
							
								
								Remove width_mm from wlr_pointer events  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								330ee08126 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #744  from emersion/texture-redesign  
							
							... 
							
							
 
							
							Redesign wlr_texture 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								13edb19a6c 
								
							
								 
							
						 
						
							
							
								
								Fix issue starting up client EGL on X11 backend  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								776b81d499 
								
							
								 
							
						 
						
							
							
								
								Fix surface layer damage tracking  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								0e318df13d 
								
							
								 
							
						 
						
							
							
								
								Add margin animation to the example demo  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								86ca4bea6d 
								
							
								 
							
						 
						
							
							
								
								Fix layer rendering/layout bugs  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								df9dbf3170 
								
							
								 
							
						 
						
							
							
								
								Fix rebase issues; rearrange layers on destroy  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								d1c0e6fe2c 
								
							
								 
							
						 
						
							
							
								
								Add layer_surface.close  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								b73c4f48c1 
								
							
								 
							
						 
						
							
							
								
								Fix exclusive zone among other layers  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								0f7e78f6aa 
								
							
								 
							
						 
						
							
							
								
								Fix issue with multiple outputs in layer example  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								f444a0d14c 
								
							
								 
							
						 
						
							
							
								
								Implement layer surface damage  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								4bf936360d 
								
							
								 
							
						 
						
							
							
								
								Arrange & render layer surfaces  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								fcf8c6c8a2 
								
							
								 
							
						 
						
							
							
								
								Fix issues preventing layer from getting allocated  
							
							... 
							
							
 
							
							Now all of the steps to get rootston a reference to the layer surface
are correctly wired up. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								4bc1cc49d5 
								
							
								 
							
						 
						
							
							
								
								Fix strcmp use  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								b31ce4220c 
								
							
								 
							
						 
						
							
							
								
								Add broken test client and rootston stubs  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								adf4fb08dd 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into texture-redesign  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								793c3b3047 
								
									
								
							
								 
							
						 
						
							
							
								
								render: add simple functions to render rectangles and ellipses  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								c63d94483b 
								
									
								
							
								 
							
						 
						
							
							
								
								Redesign wlr_texture  
							
							... 
							
							
 
							
							- Textures are now immutable (apart from those created from raw
  pixels), no more invalid textures
- Move all wl_drm stuff in wlr_renderer
- Most of wlr_texture fields are now private
- Remove some duplicated DMA-BUF code in the DRM backend
- Add more assertions
- Stride is now always given as bytes rather than pixels
- Drop wl_shm functions
Fun fact: this patch has been written 10,000 meters up in the air. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								3581573bdc 
								
									
								
							
								 
							
						 
						
							
							
								
								render/gles2: make wlr_renderer_begin take viewport size  
							
							... 
							
							
 
							
							This allows raw GL calls outside wlr_renderer to be removed. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								c41de2d1be 
								
									
								
							
								 
							
						 
						
							
							
								
								render: split render.h into wlr_renderer.h and wlr_texture.h  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								1956d3cedb 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #722  from emersion/matrix-redesign  
							
							... 
							
							
 
							
							Matrix redesign 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								876f07e9f1 
								
									
								
							
								 
							
						 
						
							
							
								
								renderer: replace wlr_texture_get_matrix by wlr_render_texture  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								824a95ad19 
								
									
								
							
								 
							
						 
						
							
							
								
								matrix: use 2D matrices  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								d26b67cb06 
								
									
								
							
								 
							
						 
						
							
							
								
								matrix: unify API, don't use array pointers  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								b6a3f240c7 
								
									
								
							
								 
							
						 
						
							
							
								
								matrix: move to types/  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								3bd1d876ae 
								
									
								
							
								 
							
						 
						
							
							
								
								examples: simplify screenshot client  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								bfc0e95d2c 
								
							
								 
							
						 
						
							
							
								
								Add mode support to libinput backend  
							
							... 
							
							
 
							
							And extend tablet example with tilt and ring support 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								3296365ce5 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #659  from agx/alpha  
							
							... 
							
							
 
							
							Make wlr_render_with_matrix use alpha 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								d08792bfff 
								
							
								 
							
						 
						
							
							
								
								Add alpha to wlr_render_with_matrix  
							
							... 
							
							
 
							
							so we can use the alpha channel to e.g. blend in textures 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								9dc868a27f 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #667  from Ongy/screenshot_tmpfile_template  
							
							... 
							
							
 
							
							prevent screenshot from resuing template array 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								8ab0073b49 
								
							
								 
							
						 
						
							
							
								
								prevent screenshot from resuing template array  
							
							... 
							
							
 
							
							The template array given to mkstemp was declared static. This reused the
memory, which caused mkstemp to fail if backingfile is run more than
once, because the array no longer contained the template syntax
(which is forced to end in XXXXXX) but the previous file name. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								b7b86a9591 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #641  from Ongy/idle-inhibit  
							
							... 
							
							
 
							
							Add idle-inhibit implementation 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								67285c1d57 
								
							
								 
							
						 
						
							
							
								
								idle-inhibit: style adjustments and motivation  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								b13f9fcfde 
								
							
								 
							
						 
						
							
							
								
								Don't use os_create_anonymous_file outside of wlroots  
							
							... 
							
							
 
							
							Use a stripped down version for the backing file in the screenshot
example. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								87a7afb641 
								
							
								 
							
						 
						
							
							
								
								idle-inhibit: second feedback pass  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								3016133f91 
								
							
								 
							
						 
						
							
							
								
								idle-inhibit: feedback pass  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								bab8c73d3c 
								
							
								 
							
						 
						
							
							
								
								handle xdg close event in idle-inhibit example  
							
							... 
							
							
 
							
							Fixes a crash when the idle-inhibit example application is closed by the
compositor, instead of Ctr+C on the spawning terminal, by actualy
handling the close request. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								a0bce86006 
								
							
								 
							
						 
						
							
							
								
								adds the client example for idle-inhibit  
							
							... 
							
							
 
							
							Adds a client example for the idle-inhibit-unsable-v1 protocol.
The client creates a surface and requests an idle inhibitor.
On pointer BTN_LEFT the inhibitor is destroyed if it exists, or
recreated if it was destroyed before.
The surfaces colour is based on the idle-inhibit state.
Green if an inhibitor exists, yellow if it does not. 
							
						 
						
							8 years ago