summaryrefslogtreecommitdiff
path: root/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2018-03-15 14:49:56 -0500
committerDerek Foreman <derekf@osg.samsung.com>2018-03-15 14:49:56 -0500
commitf0a96ec53c6ee07749c393df4213bc79867ee8c1 (patch)
treec3830bb10e02631cde2eeb5679c2f356f44b6c62 /src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
parent8b962d24acf192bd6c22de779c57eac73dd2f4db (diff)
ee_drm: prevent extra flips
Similarly to commit 8b962d24acf192bd6c22de779c57eac73dd2f4db prevent extra flips in the drm engine. These are potentially more harmful to DRM as they can cause frame drops and missed render opportunities.
Diffstat (limited to '')
-rw-r--r--src/modules/ecore_evas/engines/drm/ecore_evas_drm.c6
1 files changed, 6 insertions, 0 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 15851c0d56..89c5cb5f46 100644
--- a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
+++ b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
@@ -809,6 +809,12 @@ _drm_animator_register(Ecore_Evas *ee)
809 } 809 }
810 } 810 }
811 811
812 if (ee->animator_ticked || ee->animator_ran)
813 {
814 edata->ticking = EINA_TRUE;
815 return;
816 }
817
812 if (edata->tick_job) ERR("Double animator register"); 818 if (edata->tick_job) ERR("Double animator register");
813 else 819 else
814 if (!edata->ticking && 820 if (!edata->ticking &&