summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-05-21 21:17:37 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-05-21 21:17:37 +0100
commitfb5bcc24af4ffd5beda747865876960fe46602a5 (patch)
treea219246f5c04c88e582eb947a6dcbdd12a00ce3a /src
parentc742c011ae9160de938ad082f1fc8dfce1105850 (diff)
remove base time - not needed anymore
Diffstat (limited to 'src')
-rw-r--r--src/bin/e_pixmap.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/bin/e_pixmap.c b/src/bin/e_pixmap.c
index ea0542ba3..d688bd6bb 100644
--- a/src/bin/e_pixmap.c
+++ b/src/bin/e_pixmap.c
@@ -62,8 +62,6 @@ struct _E_Pixmap
62 62
63#ifdef HAVE_WAYLAND 63#ifdef HAVE_WAYLAND
64 64
65double wayland_time_base;
66
67static void 65static void
68_e_pixmap_cb_deferred_buffer_destroy(struct wl_listener *listener, void *data EINA_UNUSED) 66_e_pixmap_cb_deferred_buffer_destroy(struct wl_listener *listener, void *data EINA_UNUSED)
69{ 67{
@@ -393,7 +391,6 @@ e_pixmap_new(E_Pixmap_Type type, ...)
393 else 391 else
394 { 392 {
395 pixmaps[type] = eina_hash_int64_new((Eina_Free_Cb)_e_pixmap_free); 393 pixmaps[type] = eina_hash_int64_new((Eina_Free_Cb)_e_pixmap_free);
396 wayland_time_base = ecore_loop_time_get();
397 } 394 }
398 cp = _e_pixmap_new(type); 395 cp = _e_pixmap_new(type);
399 cp->win = id; 396 cp->win = id;
@@ -889,6 +886,7 @@ e_pixmap_image_clear(E_Pixmap *cp, Eina_Bool cache)
889 E_Comp_Wl_Client_Data *cd; 886 E_Comp_Wl_Client_Data *cd;
890 struct wl_resource *cb; 887 struct wl_resource *cb;
891 Eina_List *free_list; 888 Eina_List *free_list;
889 double t;
892 890
893 if ((!cp->client) || (!cp->client->comp_data)) return; 891 if ((!cp->client) || (!cp->client->comp_data)) return;
894 892
@@ -899,9 +897,9 @@ e_pixmap_image_clear(E_Pixmap *cp, Eina_Bool cache)
899 */ 897 */
900 free_list = cd->frames; 898 free_list = cd->frames;
901 cd->frames = NULL; 899 cd->frames = NULL;
900 t = ecore_loop_time_get();
902 EINA_LIST_FREE(free_list, cb) 901 EINA_LIST_FREE(free_list, cb)
903 { 902 {
904 double t = ecore_loop_time_get();
905 wl_callback_send_done(cb, t * 1000); 903 wl_callback_send_done(cb, t * 1000);
906 wl_resource_destroy(cb); 904 wl_resource_destroy(cb);
907 } 905 }