path: root/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
diff options
authorDerek Foreman <>2018-08-08 16:58:33 -0400
committerChris Michael <>2018-08-08 16:58:33 -0400
commit91a4bcd10e27faa00838493399b7a5e80d4dcf92 (patch)
treef23c8d615640eb495ba87bc11883b6290cfa9148 /src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
parent74b56eedd1e0f7c51500bf880b59257ecea0bd0e (diff)
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:
Diffstat (limited to '')
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)
767 ecore_drm2_output_info_get(edata->output, &x, &y, &w, &h, NULL); 767 ecore_drm2_output_info_get(edata->output, &x, &y, &w, &h, NULL);
768 768
769 ecore_evas_animator_tick(ee, &(Eina_Rectangle){x, y, w, h}, 769 ecore_evas_animator_tick(ee, &(Eina_Rectangle){x, y, w, h},
770 edata->tick_job_timestamp); 770 edata->tick_job_timestamp - edata->offset);
771} 771}
772 772
773static void 773static void