renderer/native: Make dummy power save flips symbolic
They won't have a timestamp, thus isn't meant to be used for timing calculations. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1488>
This commit is contained in:
parent
5f6aee3419
commit
ae812ca81e
@ -1231,7 +1231,12 @@ custom_egl_stream_page_flip (gpointer custom_page_flip_data,
|
|||||||
static void
|
static void
|
||||||
dummy_power_save_page_flip (CoglOnscreen *onscreen)
|
dummy_power_save_page_flip (CoglOnscreen *onscreen)
|
||||||
{
|
{
|
||||||
|
CoglFrameInfo *frame_info;
|
||||||
|
|
||||||
meta_onscreen_native_swap_drm_fb (onscreen);
|
meta_onscreen_native_swap_drm_fb (onscreen);
|
||||||
|
|
||||||
|
frame_info = g_queue_peek_tail (&onscreen->pending_frame_infos);
|
||||||
|
frame_info->flags |= COGL_FRAME_INFO_FLAG_SYMBOLIC;
|
||||||
meta_onscreen_native_notify_frame_complete (onscreen);
|
meta_onscreen_native_notify_frame_complete (onscreen);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user