mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-08 15:10:50 +02:00
When importing a dmabuf to a new EGLImage, add the option to apply color-representation metadata to specify the color encoding and range. To get this information from the wlr_surface to the new EGLImage, I store it in wlr_dmabuf_v1_buffer. This seems reasonable because we can currently only apply color representation to dmabufs anyway. Note that this currently won't update if color-representation is changed on a surface which has already been rendered (so already has an EGLImage). It only works when color-representation is set before the first render. To fix this I think we'll need some mechanism to re-import the dmabuf if color-repr is changed. |
||
|---|---|---|
| .. | ||
| allocator | ||
| gles2 | ||
| pixman | ||
| vulkan | ||
| color.c | ||
| color_fallback.c | ||
| color_lcms2.c | ||
| dmabuf.c | ||
| dmabuf_fallback.c | ||
| dmabuf_linux.c | ||
| drm_format_set.c | ||
| drm_syncobj.c | ||
| egl.c | ||
| meson.build | ||
| pass.c | ||
| pixel_format.c | ||
| swapchain.c | ||
| wlr_renderer.c | ||
| wlr_texture.c | ||