mirror of
https://github.com/brl/mutter.git
synced 2025-02-16 13:24:09 +00:00
clutter/stage-view: Add notify_ready()
Just as with the frame clock, add an API to communicate that a frame did not result in a presentation. This can't happen yet but will when we emulate atomic cursor plane changes using legacy drmMode API. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1488>
This commit is contained in:
parent
84f454fd4f
commit
88b06e39f4
@ -68,4 +68,6 @@ void clutter_stage_view_schedule_update (ClutterStageView *view);
|
|||||||
void clutter_stage_view_notify_presented (ClutterStageView *view,
|
void clutter_stage_view_notify_presented (ClutterStageView *view,
|
||||||
ClutterFrameInfo *frame_info);
|
ClutterFrameInfo *frame_info);
|
||||||
|
|
||||||
|
void clutter_stage_view_notify_ready (ClutterStageView *view);
|
||||||
|
|
||||||
#endif /* __CLUTTER_STAGE_VIEW_PRIVATE_H__ */
|
#endif /* __CLUTTER_STAGE_VIEW_PRIVATE_H__ */
|
||||||
|
@ -1134,6 +1134,15 @@ clutter_stage_view_notify_presented (ClutterStageView *view,
|
|||||||
clutter_frame_clock_notify_presented (priv->frame_clock, frame_info);
|
clutter_frame_clock_notify_presented (priv->frame_clock, frame_info);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
clutter_stage_view_notify_ready (ClutterStageView *view)
|
||||||
|
{
|
||||||
|
ClutterStageViewPrivate *priv =
|
||||||
|
clutter_stage_view_get_instance_private (view);
|
||||||
|
|
||||||
|
clutter_frame_clock_notify_ready (priv->frame_clock);
|
||||||
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
sanity_check_framebuffer (ClutterStageView *view)
|
sanity_check_framebuffer (ClutterStageView *view)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user