mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
renderer: add field to indicate color transform support
This commit is contained in:
parent
391410deb5
commit
82b4bc3f5f
4 changed files with 10 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue