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:
parent
8b962d24ac
commit
f0a96ec53c
|
@ -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 &&
|
||||
|
|
Loading…
Reference in New Issue