summaryrefslogtreecommitdiff
path: root/src/modules/ecore_evas
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/ecore_evas')
-rw-r--r--src/modules/ecore_evas/engines/drm/ecore_evas_drm.c6
1 files changed, 4 insertions, 2 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 79c1c58623..2d8e7897fb 100644
--- a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
+++ b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
@@ -612,7 +612,7 @@ _cb_drm_event(void *data, Ecore_Fd_Handler *hdlr EINA_UNUSED)
612} 612}
613 613
614static void 614static void
615_cb_pageflip(int fd EINA_UNUSED, unsigned int frame EINA_UNUSED, unsigned int sec EINA_UNUSED, unsigned int usec EINA_UNUSED, void *data) 615_cb_pageflip(int fd EINA_UNUSED, unsigned int frame EINA_UNUSED, unsigned int sec, unsigned int usec, void *data)
616{ 616{
617 Ecore_Evas *ee; 617 Ecore_Evas *ee;
618 Ecore_Evas_Engine_Drm_Data *edata; 618 Ecore_Evas_Engine_Drm_Data *edata;
@@ -627,7 +627,9 @@ _cb_pageflip(int fd EINA_UNUSED, unsigned int frame EINA_UNUSED, unsigned int se
627 627
628 if (edata->ticking) 628 if (edata->ticking)
629 { 629 {
630 ecore_evas_animator_tick(ee, NULL, ecore_loop_time_get()); 630 double t = (double)sec + ((double)usec / 1000000);
631
632 ecore_evas_animator_tick(ee, NULL, t);
631 ecore_drm2_fb_flip(NULL, edata->output); 633 ecore_drm2_fb_flip(NULL, edata->output);
632 } 634 }
633 else if (ret) ecore_drm2_fb_flip(NULL, edata->output); 635 else if (ret) ecore_drm2_fb_flip(NULL, edata->output);