wlroots/render
Simon Ser 22594d3723 render/gles2: unify fragment shader
Instead of having 3 different fragment shaders for textures and 1
more for quads, unify them all and compile different variants via
a SOURCE constant.

In the future, we will have more variant dimensions: pre-multiplied
alpha on/off, color transformation, etc. It will become inpractical
to have one file per combination.

Weston has a similar approach:
https://gitlab.freedesktop.org/wayland/weston/-/blob/main/libweston/renderer-gl/fragment.glsl
2022-10-27 16:37:17 +02:00
..
allocator render/allocator/drm_dumb: drop finish_buffer() 2022-10-01 19:45:29 +00:00
gles2 render/gles2: unify fragment shader 2022-10-27 16:37:17 +02:00
pixman render: drop wlr_renderer_read_pixels() flags 2022-10-04 09:15:19 +02:00
vulkan render/vulkan: add missing entries in vulkan_strerror() 2022-10-18 16:57:00 +02:00
dmabuf.c dmabuf: Don't leak file descriptors on error path 2022-06-06 00:50:41 -04:00
drm_format_set.c render/drm-format-set: add wlr_drm_format_set_intersect 2021-12-03 14:42:41 +00:00
egl.c egl: add WLR_EGL_NO_MODIFIERS 2022-10-21 09:52:18 +02:00
meson.build render: use internal_features to indicate EGL support 2022-06-24 07:20:42 +02:00
pixel_format.c pixel_format: RGBA4444 and RGBA5551 have alpha components 2022-09-06 18:48:41 -04:00
swapchain.c Move allocator stuff into new directory 2021-08-25 09:57:20 -04:00
wlr_renderer.c render: drop wlr_renderer_read_pixels() flags 2022-10-04 09:15:19 +02:00
wlr_texture.c render: replace wlr_texture_write_pixels with update_from_buffer 2022-08-12 08:41:32 +00:00