ee_drm: prevent extra flips

Similarly to commit 8b962d24ac prevent
extra flips in the drm engine.

These are potentially more harmful to DRM as they can cause frame
drops and missed render opportunities.
This commit is contained in:
Derek Foreman 2018-03-15 14:49:56 -05:00
parent 8b962d24ac
commit f0a96ec53c
1 changed files with 6 additions and 0 deletions

View File

@ -809,6 +809,12 @@ _drm_animator_register(Ecore_Evas *ee)
}
}
if (ee->animator_ticked || ee->animator_ran)
{
edata->ticking = EINA_TRUE;
return;
}
if (edata->tick_job) ERR("Double animator register");
else
if (!edata->ticking &&