discomfitor pushed a commit to branch enlightenment-0.21.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=4b29b6aff17544392edd269c122036e3af72e205

commit 4b29b6aff17544392edd269c122036e3af72e205
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Thu Dec 15 09:59:21 2016 -0600

    Use a monotonic clock for frame callback times
---
 src/bin/e_pixmap.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_pixmap.c b/src/bin/e_pixmap.c
index 1061da6..ee5d8f7 100644
--- a/src/bin/e_pixmap.c
+++ b/src/bin/e_pixmap.c
@@ -346,7 +346,7 @@ e_pixmap_new(E_Pixmap_Type type, ...)
         else
           {
              pixmaps[type] = eina_hash_int64_new((Eina_Free_Cb)_e_pixmap_free);
-             wayland_time_base = ecore_time_unix_get();
+             wayland_time_base = ecore_time_get();
           }
         cp = _e_pixmap_new(type);
         cp->win = id;
@@ -804,7 +804,7 @@ e_pixmap_image_clear(E_Pixmap *cp, Eina_Bool cache)
              cd->frames = NULL;
              EINA_LIST_FREE(free_list, cb)
                {
-                  double t = ecore_time_unix_get() - wayland_time_base;
+                  double t = ecore_time_get() - wayland_time_base;
                   wl_callback_send_done(cb, t * 1000);
                   wl_resource_destroy(cb);
                }

-- 


Reply via email to