982498fab3 
								
							
								 
							
						 
						
							
							
								
								render: introduce renderer_get_render_buffer_caps  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								10c5199d85 
								
							
								 
							
						 
						
							
							
								
								render/gles2: introduce wlr_gles2_renderer_create_with_drm_fd  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								0d90dddfab 
								
							
								 
							
						 
						
							
							
								
								render: introduce pixman renderer  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								84dea55b20 
								
							
								 
							
						 
						
							
							
								
								render: rename get_dmabuf_render_formats into get_render_formats  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								a109a80dca 
								
							
								 
							
						 
						
							
							
								
								render: drop support for ellipses  
							
							... 
							
							
 
							
							For anything more complicated than quads, compositors can easily
ship their own shaders.
Closes: https://github.com/swaywm/wlroots/issues/2759  
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								9ecfa4343a 
								
							
								 
							
						 
						
							
							
								
								render: remove wlr_texture_to_dmabuf  
							
							... 
							
							
 
							
							This is unused in wlroots, and the use-cases for compositors are
pretty niche since they can access the original DMA-BUF via the
wlr_buffer. 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								1cdef8da57 
								
							
								 
							
						 
						
							
							
								
								render: drop wlr_renderer_blit_dmabuf  
							
							... 
							
							
 
							
							It can be replaced with wlr_renderer_bind_buffer. blit_dmabuf is
broken as-is (dies on an assertion). 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								cf5b09ede2 
								
							
								 
							
						 
						
							
							
								
								Remove unnecessary wayland-server-protocol.h includes  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								27fba3df43 
								
							
								 
							
						 
						
							
							
								
								render: use DRM formats in wlr_texture_from_pixels  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								b54ef3372d 
								
							
								 
							
						 
						
							
							
								
								render: use DRM formats in wlr_renderer_read_pixels  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								00bf6674b3 
								
							
								 
							
						 
						
							
							
								
								output: use DRM format in wlr_output_preferred_read_format  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								ddfee63055 
								
							
								 
							
						 
						
							
							
								
								render: use DRM formats in wlr_renderer_get_shm_texture_formats  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								3d7aa73867 
								
							
								 
							
						 
						
							
							
								
								render/dmabuf: make src arg const in wlr_dmabuf_attributes_copy  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								8aa38fe73e 
								
							
								 
							
						 
						
							
							
								
								render/egl: remove *config_attribs and wlr_egl->config  
							
							... 
							
							
 
							
							Breaking changes:
Both "EGLint *config_attribs" and "wlr_egl->config" no longer exist. 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								705b3da7cb 
								
							
								 
							
						 
						
							
							
								
								render/egl: remove wlr_egl_{create,destroy}_surface  
							
							... 
							
							
 
							
							Breaking changes:
wlr_egl_create_surface and wlr_egl_destroy_surface have been
removed and no longer exist. 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								7c995b78b2 
								
							
								 
							
						 
						
							
							
								
								Revert "render: add wlr_egl_create_from_drm_fd function"  
							
							... 
							
							
 
							
							This reverts commit ee31be167b 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								54e5ef39c0 
								
							
								 
							
						 
						
							
							
								
								Revert "render/egl: remove unused gbm_device member"  
							
							... 
							
							
 
							
							This reverts commit 306cf11d87 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								306cf11d87 
								
							
								 
							
						 
						
							
							
								
								render/egl: remove unused gbm_device member  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								ee31be167b 
								
							
								 
							
						 
						
							
							
								
								render: add wlr_egl_create_from_drm_fd function  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								08a4c62aac 
								
							
								 
							
						 
						
							
							
								
								render: remove egl include from wlr_renderer  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								e128e6c08d 
								
							
								 
							
						 
						
							
							
								
								render: drop egl parameters from wlr_renderer_autocreate  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								3f7e0cf5f0 
								
							
								 
							
						 
						
							
							
								
								render/egl: remove surface and buffer age args from make_current  
							
							... 
							
							
 
							
							These aren't used anymore. 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								1d461687d2 
								
							
								 
							
						 
						
							
							
								
								render/egl: replace init/finish with create/destroy  
							
							... 
							
							
 
							
							This ensures wlr_gles2_renderer can properly take ownership of the
wlr_egl.
Closes: https://github.com/swaywm/wlroots/issues/2612  
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								50b120927d 
								
							
								 
							
						 
						
							
							
								
								render/egl: remove wlr_egl_swap_buffers  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								76ed2255ef 
								
							
								 
							
						 
						
							
							
								
								render/egl: remove support for EGL_NATIVE_VISUAL_ID  
							
							... 
							
							
 
							
							Nobody uses it anymore. 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								64da8f0c8d 
								
									
								
							
								 
							
						 
						
							
							
								
								render/egl: document NULL config_attribs passed to wlr_egl_init  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								41aa80d4a1 
								
									
								
							
								 
							
						 
						
							
							
								
								render/egl: use KHR function pointer type  
							
							... 
							
							
 
							
							KHR is more "core" than EXT. 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								34b14d2fee 
								
									
								
							
								 
							
						 
						
							
							
								
								render/egl: document that config may be zero  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								9192c0480a 
								
							
								 
							
						 
						
							
							
								
								remove unnecessary egl includes  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								b899a412e3 
								
							
								 
							
						 
						
							
							
								
								backend: remove wlr_egl from all backends  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								07d75c99db 
								
							
								 
							
						 
						
							
							
								
								render: remove EGL config and visual from wlr_renderer_autocreate  
							
							... 
							
							
 
							
							This isn't used anymore by any backend.
Some examples still provide an EGL config to wlr_egl_init, so we can't
drop it yet there. 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								83a5d03bf3 
								
							
								 
							
						 
						
							
							
								
								render/egl: remove wlr_egl.external_only_dmabuf_formats  
							
							... 
							
							
 
							
							Replace it with wlr_egl.dmabuf_render_formats. 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								c94ab99ae2 
								
							
								 
							
						 
						
							
							
								
								render: rename wlr_renderer_get_formats  
							
							... 
							
							
 
							
							Rename wlr_renderer_get_formats to wlr_renderer_get_shm_texture_formats.
This makes it clear those formats are only suitable for shm import. 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								49115e9d5d 
								
							
								 
							
						 
						
							
							
								
								render: rename wlr_renderer_get_dmabuf_formats  
							
							... 
							
							
 
							
							Rename wlr_renderer_get_dmabuf_formats to
wlr_renderer_get_dmabuf_texture_formats. This makes it clear the formats
are only suitable for creating wlr_textures. 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								5d008d9030 
								
							
								 
							
						 
						
							
							
								
								render: introduce wlr_renderer_get_dmabuf_render_formats  
							
							... 
							
							
 
							
							It describes which DMA-BUF formats can be used to render. 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								61612ecb36 
								
							
								 
							
						 
						
							
							
								
								render: remove wlr_renderer_format_supported  
							
							... 
							
							
 
							
							Instead, callers can just use wlr_renderer_get_formats and iterate over
the list.
This function was unused in wlroots. 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								c15ca3793e 
								
							
								 
							
						 
						
							
							
								
								render: expand wlr_renderer_get{,_dmabuf}_formats docs  
							
							... 
							
							
 
							
							Make it clear formats returned are only suitable for import/sampling.
These formats can't be used to be rendered to. 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								6284af121f 
								
							
								 
							
						 
						
							
							
								
								texture: document that functions should not be called while rendering  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								e18599b05e 
								
							
								 
							
						 
						
							
							
								
								render/egl: stop including eglmesaext.h  
							
							... 
							
							
 
							
							This is a Mesa-specific header that was needed because some Wayland EGL
extensions were missing from the Khronos registry. Now that this has
been fixed [1] and Mesa [2] & glvnd [3] have sync'ed their headers, we
can drop this workaround.
[1]: https://github.com/KhronosGroup/EGL-Registry/pull/95 
[2]: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4953 
[3]: https://gitlab.freedesktop.org/glvnd/libglvnd/-/merge_requests/225  
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								eb8360bda3 
								
							
								 
							
						 
						
							
							
								
								render: introduce wlr_renderer_get_drm_fd  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								c8d95acc37 
								
							
								 
							
						 
						
							
							
								
								render/egl: introduce wlr_egl_dup_drm_fd  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								c88c54fb38 
								
							
								 
							
						 
						
							
							
								
								render: introduce wlr_renderer_bind_buffer  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								0724b3c453 
								
							
								 
							
						 
						
							
							
								
								Use uint32_t in wlr_renderer_begin signature  
							
							... 
							
							
 
							
							This matches the signature of wlr_renderer_impl.begin 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								f0ddcd361e 
								
									
								
							
								 
							
						 
						
							
							
								
								render: define EGL_NO_PLATFORM_SPECIFIC_TYPES ( #2452 )  
							
							... 
							
							
 
							
							This avoids Xlib.h inclusion via EGL headers. See [1] for discussion.
This change is based on a Weston commit [2].
[1]: https://github.com/KhronosGroup/EGL-Registry/pull/111 
[2]: https://gitlab.freedesktop.org/wayland/weston/commit/526765ddfdfd  
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								0f9b2bfa64 
								
							
								 
							
						 
						
							
							
								
								render/dmabuf: use bitmask for wlr_dmabuf_attributes_flags  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								26af316b3b 
								
							
								 
							
						 
						
							
							
								
								render/gles2: make wlr_gles2_texture_from_* private  
							
							... 
							
							
 
							
							These functions are unused by compositors (see e.g. [1]) and prevent
wlr_gles2_texture from accessing wlr_gles2_renderer state. This is an
issue for proper teardown [2] and for accessing GLES2 extensions.
[1]: https://github.com/swaywm/wlroots/pull/1962#issuecomment-569511830 
[2]: https://github.com/swaywm/wlroots/pull/1962  
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								315bf08733 
								
							
								 
							
						 
						
							
							
								
								render: add wlr_render_subtexture_with_matrix  
							
							... 
							
							
 
							
							This renders only a subset of the texture, instead of the full texture. 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								b64a8a7f98 
								
							
								 
							
						 
						
							
							
								
								render: Add wlr_renderer_blit_dmabuf()  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								11b598fe33 
								
							
								 
							
						 
						
							
							
								
								render: egl: Add utility functions for saving/restoring context  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								a3ba82885c 
								
							
								 
							
						 
						
							
							
								
								render: choose DMA-BUF texture target via eglQueryDmaBufModifiersEXT  
							
							... 
							
							
 
							
							EGL_EXT_image_dma_buf_import_modifiers tells us whether we should use
GL_TEXTURE_2D or GL_TEXTURE_EXTERNAL_OES. Using the right texture target
can fix some failures and/or improve performance on some drivers.
This does the same as a Weston commit [1].
[1]: https://gitlab.freedesktop.org/wayland/weston/commit/40c519a3e613 
Closes: https://github.com/swaywm/wlroots/issues/2173  
							
						 
						
							5 years ago