summaryrefslogtreecommitdiff
path: root/src/modules/ecore_evas
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2016-11-16 14:23:19 -0600
committerDerek Foreman <derekf@osg.samsung.com>2016-11-16 14:26:58 -0600
commit8611aa83bc9c17932362ce142b7534bf50461d2c (patch)
tree70780c2e3f933660966352cd8d449dc54e2ead81 /src/modules/ecore_evas
parent9f8e2e0d9c9b4150cce2fc9bfb825d4f49ba7840 (diff)
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.
Diffstat (limited to 'src/modules/ecore_evas')
-rw-r--r--src/modules/ecore_evas/engines/drm/ecore_evas_drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
index 5e34d13852..e86c4a3c57 100644
--- a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
+++ b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
@@ -686,7 +686,7 @@ _drm_animator_register(Ecore_Evas *ee)
686 686
687 edata = ee->engine.data; 687 edata = ee->engine.data;
688 edata->ticking = EINA_TRUE; 688 edata->ticking = EINA_TRUE;
689 if (!edata->pending) ecore_drm2_fb_flip(NULL, edata->output); 689 if (!edata->pending && !ee->in_async_render) ecore_drm2_fb_flip(NULL, edata->output);
690 edata->pending = EINA_TRUE; 690 edata->pending = EINA_TRUE;
691} 691}
692 692