devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=91a4bcd10e27faa00838493399b7a5e80d4dcf92
commit 91a4bcd10e27faa00838493399b7a5e80d4dcf92 Author: Derek Foreman <[email protected]> Date: Wed Aug 8 16:58:33 2018 -0400 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 --- src/modules/ecore_evas/engines/drm/ecore_evas_drm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 --
