renderer: add field to indicate color transform support

This commit is contained in:
Manuel Stoeckl 2024-04-14 12:20:08 -04:00 committed by Simon Ser
parent 391410deb5
commit 82b4bc3f5f
4 changed files with 10 additions and 0 deletions

View file

@ -40,6 +40,13 @@ struct wlr_renderer {
struct wl_signal lost;
} events;
struct {
/**
* Does the renderer support color transforms on its output?
*/
bool output_color_transform;
} features;
// private state
const struct wlr_renderer_impl *impl;