mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-07 19:20:40 +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. |
||
|---|---|---|
| .. | ||
| backend | ||
| interfaces | ||
| render | ||
| types | ||
| util | ||
| wlr | ||
| xcursor | ||
| xwayland | ||
| meson.build | ||