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:
parent
0bbb78f29e
commit
2a6e8f7188
2 changed files with 15 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue