clutter/stage-view: Add method to peek scanout
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1421
This commit is contained in:
parent
21a21e7f68
commit
098360f2c2
@ -1009,6 +1009,18 @@ clutter_stage_view_take_scanout (ClutterStageView *view)
|
||||
return g_steal_pointer (&priv->next_scanout);
|
||||
}
|
||||
|
||||
/**
|
||||
* clutter_stage_view_peek_scanout: (skip)
|
||||
*/
|
||||
CoglScanout *
|
||||
clutter_stage_view_peek_scanout (ClutterStageView *view)
|
||||
{
|
||||
ClutterStageViewPrivate *priv =
|
||||
clutter_stage_view_get_instance_private (view);
|
||||
|
||||
return priv->next_scanout;
|
||||
}
|
||||
|
||||
void
|
||||
clutter_stage_view_schedule_update (ClutterStageView *view)
|
||||
{
|
||||
|
@ -76,4 +76,7 @@ void clutter_stage_view_get_offscreen_transformation_matrix (ClutterStageView *v
|
||||
CLUTTER_EXPORT
|
||||
ClutterFrameClock * clutter_stage_view_get_frame_clock (ClutterStageView *view);
|
||||
|
||||
CLUTTER_EXPORT
|
||||
CoglScanout * clutter_stage_view_peek_scanout (ClutterStageView *view);
|
||||
|
||||
#endif /* __CLUTTER_STAGE_VIEW_H__ */
|
||||
|
Loading…
Reference in New Issue
Block a user