wlroots/render
Manuel Stoeckl dbe7fb7027 render/vulkan: undo alpha premult for 8-bpc ARGB/ABGR
When a texel from the Vulkan format VK_FORMAT_B8G8R8A8_SRGB is read,
the sRGB to linear conversion is applied independently to the R, G,
and B channels; the A channel has no influence on this. However,
DRM_FORMAT_ARGB8888 buffers are, per Wayland protocol, not encoded
in this fashion; one must first unpremultiply the color channels
before doing sRGB to linear conversion. This commit switches to
handling ARGB8888 and ABGR8888 formats using the general fragment
shader conversion from electrical to optical values.
2023-11-21 11:08:55 +00:00
..
allocator render/allocator: log message when GBM is disabled 2023-10-06 09:10:31 +00:00
gles2 Remove unnecessary code 2023-10-31 15:59:38 +00:00
pixman treewide: Migrate from sizeof(struct) to sizeof(*pointer) where practical 2023-10-03 01:51:07 -04:00
vulkan render/vulkan: undo alpha premult for 8-bpc ARGB/ABGR 2023-11-21 11:08:55 +00:00
dmabuf_fallback.c render/dmabuf: add dmabuf_export_sync_file() 2022-12-06 14:54:09 +00:00
dmabuf_linux.c render/dmabuf: add dmabuf_export_sync_file() 2022-12-06 14:54:09 +00:00
dmabuf.c Avoid using memcpy() to copy structs 2023-08-03 14:40:28 +00:00
drm_format_set.c Use struct initializers instead of memset() 2023-07-07 17:31:11 +02:00
egl.c treewide: Migrate from sizeof(struct) to sizeof(*pointer) where practical 2023-10-03 01:51:07 -04:00
meson.build Add a new renderer API 2023-04-25 17:25:10 +02:00
pass.c render/pass: Remove empty box early return 2023-09-21 02:25:34 -04:00
pixel_format.c render/pixel-format: add YVYU and VYUY 2023-05-21 20:28:45 +00:00
swapchain.c Use struct initializers instead of memset() 2023-07-07 17:31:11 +02:00
wlr_renderer.c render: log error when requested renderer is compile-time disabled 2023-10-06 09:10:31 +00:00
wlr_texture.c Use struct initializers instead of memset() 2023-07-07 17:31:11 +02:00