1
0
Fork 0

clutter/stage-view: Add API to get output color state

Will be used for direct transforms from source to output color state.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3433>
This commit is contained in:
Jonas Ådahl 2024-06-20 15:58:38 +02:00 committed by Sebastian Wick
parent 0bbb78f29e
commit 2a6e8f7188
2 changed files with 15 additions and 0 deletions

View file

@ -1333,3 +1333,15 @@ clutter_stage_view_get_color_state (ClutterStageView *view)
return priv->color_state;
}
/**
* clutter_stage_view_get_output_color_state: (skip)
*/
ClutterColorState *
clutter_stage_view_get_output_color_state (ClutterStageView *view)
{
ClutterStageViewPrivate *priv =
clutter_stage_view_get_instance_private (view);
return priv->output_color_state;
}

View file

@ -97,3 +97,6 @@ ClutterPaintFlag clutter_stage_view_get_default_paint_flags (ClutterStageView *v
CLUTTER_EXPORT
ClutterColorState * clutter_stage_view_get_color_state (ClutterStageView *view);
CLUTTER_EXPORT
ClutterColorState * clutter_stage_view_get_output_color_state (ClutterStageView *view);