Replace some ecore_time_get users with ecore_loop_time_get

I'm confident these sites can use loop time safely, and they're
frequent callers.
This commit is contained in:
Derek Foreman 2017-02-10 15:18:19 -06:00
parent 089b0b248d
commit 1fe5b56500
2 changed files with 3 additions and 3 deletions

View File

@ -408,7 +408,7 @@ _e_comp_cb_update(void)
Evas_Coord x = 0, y = 0, w = 0, h = 0;
E_Zone *z;
t = ecore_time_get();
t = ecore_loop_time_get();
if (conf->fps_average_range < 1)
conf->fps_average_range = 30;
else if (conf->fps_average_range > 120)

View File

@ -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_get();
wayland_time_base = ecore_loop_time_get();
}
cp = _e_pixmap_new(type);
cp->win = id;
@ -803,7 +803,7 @@ e_pixmap_image_clear(E_Pixmap *cp, Eina_Bool cache)
cd->frames = NULL;
EINA_LIST_FREE(free_list, cb)
{
double t = ecore_time_get() - wayland_time_base;
double t = ecore_loop_time_get() - wayland_time_base;
wl_callback_send_done(cb, t * 1000);
wl_resource_destroy(cb);
}