wlroots/render
Simon Ser 25d8151870 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-11-29 10:28:29 +01:00
..
allocator allocator/drm_dumb: use libdrm dumb buffer helpers 2022-11-17 08:05:55 +00:00
gles2 render/gles2: unify fragment shader 2022-11-29 10:28:29 +01:00
pixman render: allow wlr_renderer_impl.begin to fail 2022-11-15 15:50:19 +00:00
vulkan render/vulkan: import semaphore to DMA-BUF instead of blocking 2022-11-28 23:50:41 +00:00
dmabuf.c render/dmabuf: add dmabuf_import_sync_file 2022-11-28 23:50:41 +00:00
dmabuf_fallback.c render/dmabuf: add dmabuf_import_sync_file 2022-11-28 23:50:41 +00:00
dmabuf_linux.c render/dmabuf: add dmabuf_import_sync_file 2022-11-28 23:50:41 +00: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 render/egl: enable EGL_LOSE_CONTEXT_ON_RESET 2022-11-15 15:50:19 +00:00
meson.build render/dmabuf: add dmabuf_import_sync_file 2022-11-28 23:50:41 +00:00
pixel_format.c render/pixel_format: import pixel_format_info_check_stride() 2022-11-15 16:30:00 +00:00
swapchain.c Move allocator stuff into new directory 2021-08-25 09:57:20 -04:00
wlr_renderer.c render: use wlr_shm in wlr_renderer_init_wl_shm() 2022-11-15 16:30:00 +00:00
wlr_texture.c render/texture: constify wlr_texture_update_from_buffer() 2022-11-11 23:11:17 +00:00