cb03a41a3b 
								
							
								 
							
						 
						
							
							
								
								Use enum wl_shm_format for gles2 texture formats  
							
							... 
							
							
 
							
							Also rephrase the write_pixels comment. 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								cd28637187 
								
							
								 
							
						 
						
							
							
								
								Remove fmt parameter from wlr_texture_write_pixels  
							
							... 
							
							
 
							
							It's not allowed to change the format of a texture so remove
the confusing parameter. 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								affbfb6a28 
								
							
								 
							
						 
						
							
							
								
								Support older wlr_linux_dmabuf_v1 clients  
							
							... 
							
							
 
							
							If a client uses an older version of the dmabuf protocol, use the
`formats` event instead of `modifiers` (since that didn't exist in older
versions).
With a bit of necessary guessing, support dmabuf importing even when
EGL_EXT_image_dma_buf_import_modifiers isn't present instead of
failing up front. 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								fd3fa760d3 
								
							
								 
							
						 
						
							
							
								
								Revert "Revert "Merge pull request  #1194  from ascent12/meson_feature""  
							
							... 
							
							
 
							
							This reverts commit 9c886f20b9 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								9c886f20b9 
								
							
								 
							
						 
						
							
							
								
								Revert "Merge pull request  #1194  from ascent12/meson_feature"  
							
							... 
							
							
 
							
							This breaks wlroots when used as a meson subproject.
This reverts commit dea311992e6db9c4b746 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								51892e0d74 
								
							
								 
							
						 
						
							
							
								
								Install headers explicitly  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								211ae764fd 
								
							
								 
							
						 
						
							
							
								
								Initial pass on API stability guarantees  
							
							... 
							
							
 
							
							This introduces -DWLR_USE_UNSTABLE and adds information regarding the
stability status to all headers. I started with a conservative set of
headers to mark as stable:
- types/wlr_matrix.h
- util/edges.h
- util/log.h
- util/region.h
- xcursor.h 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								c4915d1492 
								
							
								 
							
						 
						
							
							
								
								render: add wlr_texture_is_opaque  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								2b9cbaddf3 
								
									
								
							
								 
							
						 
						
							
							
								
								screencopy: add support for frame flags  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								57548b557a 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into screencontent  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								f1a62a3200 
								
							
								 
							
						 
						
							
							
								
								Rename egl.exts to match the extension names  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								5ec6d8230d 
								
							
								 
							
						 
						
							
							
								
								Split eglSwapBuffersWithDamage feature detection  
							
							... 
							
							
 
							
							Detecting whether eglSwapBuffersWithDamageEXT or
eglSwapBuffersWithDamageKHR is used should be based on the extension
string, not only on the availability of the function. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								457bfcab19 
								
									
								
							
								 
							
						 
						
							
							
								
								render/egl: only request high priority context on DRM  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								d425edc96c 
								
									
								
							
								 
							
						 
						
							
							
								
								render/egl: consistent extension checking  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								cbfe0e834a 
								
									
								
							
								 
							
						 
						
							
							
								
								Request a high priority EGL context  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								21928cbe61 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into screencontent  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								135721118a 
								
									
								
							
								 
							
						 
						
							
							
								
								render: remove wlr_renderer_check_import_dmabuf  
							
							... 
							
							
 
							
							It's possible to implement it outside the renderer, by creating a
texture and destroying it right away. This reduces the API surface
of the renderer. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								28020ff577 
								
									
								
							
								 
							
						 
						
							
							
								
								Only allow one modifier per DMA-BUF, split attributes struct in render/  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								5ba1a9af56 
								
									
								
							
								 
							
						 
						
							
							
								
								render: add wlr_texture_to_dmabuf  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								6eb4b5b54d 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #993  from emersion/bind-wl-drm-in-renderer  
							
							... 
							
							
 
							
							render: bind wl_drm in renderer 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								41130fe54b 
								
									
								
							
								 
							
						 
						
							
							
								
								render: bind wl_drm in renderer  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								449f06556a 
								
									
								
							
								 
							
						 
						
							
							
								
								Destroy wlr_surface with wlr_renderer  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								018b82c01e 
								
									
								
							
								 
							
						 
						
							
							
								
								render/egl: allow passing NULL to surface and image destructors  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								eaed6bd03b 
								
									
								
							
								 
							
						 
						
							
							
								
								render/egl: add wlr_egl_destroy_surface  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								70d820be25 
								
									
								
							
								 
							
						 
						
							
							
								
								Add wlr_renderer_init_wl_shm to advertize supported renderer formats  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								d2ebbd103c 
								
									
								
							
								 
							
						 
						
							
							
								
								backend: remove wlr_backend_get_egl  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								f3f61bed3e 
								
									
								
							
								 
							
						 
						
							
							
								
								Untie wlr_gles2_renderer and wlr_gles2_texture  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								a7bb48b404 
								
									
								
							
								 
							
						 
						
							
							
								
								render/egl: add wlr_egl_create_image_from_wl_drm  
							
							... 
							
							
 
							
							This allows external renderers and potential future GL-based
renderers to re-use this function. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								33a2eb4b77 
								
									
								
							
								 
							
						 
						
							
							
								
								Untie wlr_backend from wlr_renderer  
							
							
 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								c42fd1018b 
								
									
								
							
								 
							
						 
						
							
							
								
								render: remove GL calls from wlr_egl  
							
							
 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								a854c2f246 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into gles2-renderer-redesign  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								b1f93bc5cc 
								
									
								
							
								 
							
						 
						
							
							
								
								render/egl: use EGL_KHR_debug  
							
							
 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								95e86e675a 
								
									
								
							
								 
							
						 
						
							
							
								
								render/gles2: remove global state, use OpenGL debug extension  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								c41de2d1be 
								
									
								
							
								 
							
						 
						
							
							
								
								render: split render.h into wlr_renderer.h and wlr_texture.h  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								876f07e9f1 
								
									
								
							
								 
							
						 
						
							
							
								
								renderer: replace wlr_texture_get_matrix by wlr_render_texture  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								8b58e1a3ad 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into matrix-redesign  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								824a95ad19 
								
									
								
							
								 
							
						 
						
							
							
								
								matrix: use 2D matrices  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								14cdb6153f 
								
							
								 
							
						 
						
							
							
								
								Add initial linux_dmabuf protocol support  
							
							... 
							
							
 
							
							Tested with
    ./weston-simple-dmabuf-drm
    ./weston-simple-dmabuf-drm --import-immediate=1
    ./weston-simple-dmabuf-drm --y-inverted=1
    (and combinations)
Supports only single plane XRGB dmabufs for now. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								d26b67cb06 
								
									
								
							
								 
							
						 
						
							
							
								
								matrix: unify API, don't use array pointers  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								b6a3f240c7 
								
									
								
							
								 
							
						 
						
							
							
								
								matrix: move to types/  
							
							
 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								c2e1474010 
								
									
								
							
								 
							
						 
						
							
							
								
								Reformat all #include directives  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								bf6d245400 
								
									
								
							
								 
							
						 
						
							
							
								
								Swap buffers with damage  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								ddb1779f9f 
								
									
								
							
								 
							
						 
						
							
							
								
								render: make wlr_renderer_clear take a float[4] for the color  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								51c22d39a4 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/master' into output-damage  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								ed5b1fdedd 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #580  from emersion/screenshooter-renderer-backport  
							
							... 
							
							
 
							
							Backport screenshooter fixes from the renderer redesign v1 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								6281deb90f 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/master' into output-damage  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								4fa90b0511 
								
									
								
							
								 
							
						 
						
							
							
								
								Backport screenshooter fixes from the renderer redesign v1  
							
							... 
							
							
 
							
							This backports some changes to #319  to fix the screenshooter data
format. This also adds wlr_backend_get_renderer which will be
useful to support multiple renderers. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								415a2b7c56 
								
									
								
							
								 
							
						 
						
							
							
								
								render: add wlr_renderer_clear and wlr_renderer_scissor  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								85a6939cf2 
								
							
								 
							
						 
						
							
							
								
								rename matrix model box to project box  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								d13114520a 
								
							
								 
							
						 
						
							
							
								
								move matrix model code to matrix.h  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								0365b587f0 
								
									
								
							
								 
							
						 
						
							
							
								
								output: add damage tracking via buffer age  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								b99d1f4fcc 
								
									
								
							
								 
							
						 
						
							
							
								
								Refactor wlr_egl_init to accept config_attribs  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								23fb663ea4 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #453  from emersion/surface-transform  
							
							... 
							
							
 
							
							Add surface transforms support 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								18eb1eee3f 
								
									
								
							
								 
							
						 
						
							
							
								
								Listen to display destroy in xwayland, rename wlr_egl_free  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								f4754ad1a2 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix surface transforms  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								9b984253e2 
								
							
								 
							
						 
						
							
							
								
								Move egl.h to render/egl.h  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								0ce3135304 
								
									
								
							
								 
							
						 
						
							
							
								
								Move read_pixels from output to renderer  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								009c3747a8 
								
							
								 
							
						 
						
							
							
								
								Multi-GPU DRM  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								427bdb5b55 
								
									
								
							
								 
							
						 
						
							
							
								
								Use more consistent include guard names  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								f24b3df980 
								
							
								 
							
						 
						
							
							
								
								wlr renderer/texture: rename init to create when it does alloc  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								72a33b736f 
								
							
								 
							
						 
						
							
							
								
								implement texture get buffer size  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								de6f32c84e 
								
							
								 
							
						 
						
							
							
								
								Refactor away wlr_renderer_state  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								94e6e6334b 
								
							
								 
							
						 
						
							
							
								
								Refactor out wlr_texture_state  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								c24351681f 
								
							
								 
							
						 
						
							
							
								
								Refactor EGL handling  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								67369173aa 
								
							
								 
							
						 
						
							
							
								
								Implement drm (egl) buffer attaching  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								4de930542f 
								
							
								 
							
						 
						
							
							
								
								Implement partial texture uploads  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								e167f41fde 
								
							
								 
							
						 
						
							
							
								
								Rename wlr_surface -> wlr_texture; attach -> upload  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								1db97a9af9 
								
							
								 
							
						 
						
							
							
								
								Updated DRM cursor rendering  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								8920b5d607 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'wlcore'  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								0cd94f0cf0 
								
							
								 
							
						 
						
							
							
								
								Added software cursor fallback  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								5a2796266f 
								
							
								 
							
						 
						
							
							
								
								Support wl_shm pixel formats in gles2 renderer  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								2aafb5dd19 
								
							
								 
							
						 
						
							
							
								
								Add wlcore/wl_shm (WIP)  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								b18209c904 
								
							
								 
							
						 
						
							
							
								
								Switch to GLES2  
							
							... 
							
							
 
							
							Closes  #13  
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								fd91244e83 
								
							
								 
							
						 
						
							
							
								
								Update everyone to use new headers  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								2443a070e7 
								
							
								 
							
						 
						
							
							
								
								Add colored quad and ellipse rendering primitives  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								cd6a40d816 
								
							
								 
							
						 
						
							
							
								
								Further improvements to rendering subsystem  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								fc1dc1b5b0 
								
							
								 
							
						 
						
							
							
								
								Use constant VBO for quad, add matrix stuff  
							
							
 
							
						 
						
							9 years ago