diff options
author | Derek Foreman <derek.foreman.samsung@gmail.com> | 2018-08-08 16:58:33 -0400 |
---|---|---|
committer | Chris Michael <cp.michael@samsung.com> | 2018-08-08 16:58:33 -0400 |
commit | 91a4bcd10e27faa00838493399b7a5e80d4dcf92 (patch) | |
tree | f23c8d615640eb495ba87bc11883b6290cfa9148 | |
parent | 74b56eedd1e0f7c51500bf880b59257ecea0bd0e (diff) | |
download | efl-91a4bcd10e27faa00838493399b7a5e80d4dcf92.tar.gz |
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
-rw-r--r-- | src/modules/ecore_evas/engines/drm/ecore_evas_drm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c index c1c60f8b15..794cf841fd 100644 --- a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c +++ b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c @@ -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 |