ecore_evas_drm: Only check for gpu time offset if env var set

Since most systems shouldn't need this, and it's possible
that it's causing trouble for some systems, make it off by
default.

Fix T5806
This commit is contained in:
Derek Foreman 2017-07-29 08:52:16 -05:00
parent e1605e6405
commit 1a175cd537
1 changed files with 5 additions and 0 deletions

View File

@ -833,6 +833,11 @@ _ecore_evas_new_internal(const char *device, int x, int y, int w, int h, Eina_Bo
return NULL;
}
if (!getenv("ECORE_EVAS_DRM_GPU_CLOCK_WRONG"))
{
edata->once = EINA_TRUE;
edata->offset = 0.0;
}
edata->x = x;
edata->y = y;
edata->w = w;