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:
Derek Foreman 2016-11-16 14:23:19 -06:00
parent 9f8e2e0d9c
commit 8611aa83bc
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}