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
@ -1333,3 +1333,15 @@ clutter_stage_view_get_color_state (ClutterStageView *view)
|
|||||||
|
|
||||||
return priv->color_state;
|
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
|
CLUTTER_EXPORT
|
||||||
ClutterColorState * clutter_stage_view_get_color_state (ClutterStageView *view);
|
ClutterColorState * clutter_stage_view_get_color_state (ClutterStageView *view);
|
||||||
|
|
||||||
|
CLUTTER_EXPORT
|
||||||
|
ClutterColorState * clutter_stage_view_get_output_color_state (ClutterStageView *view);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user