ee_drm: Fix tick job timestamps for funny GPU clocks

Summary:
The animator timestamps were only getting the offset applied when they
came from page flips.  The "early tick" logic failed to apply the offset.

This likely only changes behaviour on vmware's graphics stack, and
only the env var ECORE_EVAS_DRM_GPU_CLOCK_WRONG is set.

Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: bu5hm4n, cedric, #reviewers, #committers, zmike

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D6792
This commit is contained in:
Derek Foreman 2018-08-08 16:58:33 -04:00 committed by Chris Michael
parent 74b56eedd1
commit 91a4bcd10e
1 changed files with 1 additions and 1 deletions

View File

@ -767,7 +767,7 @@ _tick_job(void *data)
ecore_drm2_output_info_get(edata->output, &x, &y, &w, &h, NULL);
ecore_evas_animator_tick(ee, &(Eina_Rectangle){x, y, w, h},
edata->tick_job_timestamp);
edata->tick_job_timestamp - edata->offset);
}
static void