render, render/vulkan: add primaries to wlr_render_texture_options

This commit is contained in:
Simon Ser 2025-02-27 17:52:37 +01:00
parent a8144088df
commit fa1feb447f
2 changed files with 17 additions and 1 deletions

View file

@ -104,6 +104,8 @@ struct wlr_render_texture_options {
enum wlr_render_blend_mode blend_mode;
/* Transfer function the source texture is encoded with */
enum wlr_color_transfer_function transfer_function;
/* Primaries describing the color volume of the source texture */
const struct wlr_color_primaries *primaries;
/* Wait for a timeline synchronization point before texturing.
*