ecore_evas_drm: Refuse to start a ticker for a manually rendered canvas

With atomic mode setting this has the hilarious side effect of waking
up the display from dpms.

Attempting to tick when manual render is set is likely a bug, so
log an ERR.

fix T5462
This commit is contained in:
Derek Foreman 2017-07-10 16:07:15 -05:00
parent cae1927554
commit a795629e8c
1 changed files with 6 additions and 0 deletions

View File

@ -652,6 +652,12 @@ _drm_animator_register(Ecore_Evas *ee)
{
Ecore_Evas_Engine_Drm_Data *edata;
if (ee->manual_render)
{
ERR("Attempt to schedule tick for manually rendered canvas");
return;
}
edata = ee->engine.data;
edata->ticking = EINA_TRUE;
if (!edata->pending && !ee->in_async_render)