forked from enlightenment/efl
ecore_evas_drm: Don't do a flip if we know a frame is coming
If the async renderer is running then something's going to trigger a pageflip naturally, and if we do one now we'll block it.
This commit is contained in:
parent
9f8e2e0d9c
commit
8611aa83bc
|
@ -686,7 +686,7 @@ _drm_animator_register(Ecore_Evas *ee)
|
|||
|
||||
edata = ee->engine.data;
|
||||
edata->ticking = EINA_TRUE;
|
||||
if (!edata->pending) ecore_drm2_fb_flip(NULL, edata->output);
|
||||
if (!edata->pending && !ee->in_async_render) ecore_drm2_fb_flip(NULL, edata->output);
|
||||
edata->pending = EINA_TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue