render, render/vulkan: add primaries to wlr_buffer_pass_options

This commit is contained in:
Simon Ser 2025-06-18 00:07:35 +02:00
parent a5706e2fb9
commit f3524de980
3 changed files with 39 additions and 5 deletions

View file

@ -33,6 +33,8 @@ struct wlr_buffer_pass_options {
/* 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;
/** Primaries describing the color volume of the destination buffer */
const struct wlr_color_primaries *primaries;
/* Signal a timeline synchronization point when the render pass completes.
*