render/vulkan: add support for output color transforms

This commit is contained in:
Manuel Stoeckl 2024-01-07 10:02:47 -05:00 committed by Simon Ser
parent e443434876
commit ffdbfdbbbd
4 changed files with 316 additions and 8 deletions

View file

@ -30,6 +30,9 @@ struct wlr_render_timer;
struct wlr_buffer_pass_options {
/* Timer to measure the duration of the render pass */
struct wlr_render_timer *timer;
/* Color transform to apply to the output of the render pass,
* leave NULL to indicate sRGB/no custom transform */
struct wlr_color_transform *color_transform;
};
/**