render/pass: add wlr_render_texture_options.transfer_function

Also add a bit in wlr_renderer.features to indicate support.
This commit is contained in:
Simon Ser 2025-02-23 14:58:04 +01:00
parent c8d94000a6
commit dd3d9be41e
2 changed files with 7 additions and 0 deletions

View file

@ -41,6 +41,10 @@ struct wlr_renderer {
} events;
struct {
/**
* Whether color transforms are supported for input textures
*/
bool input_color_transform;
/**
* Does the renderer support color transforms on its output?
*/