Change time unit to milli-second from second when send event of frame done for waylan...
authorSeunghun Lee <shiin.lee@samsung.com>
Mon, 7 Jul 2014 13:03:48 +0000 (09:03 -0400)
committerChris Michael <cp.michael@samsung.com>
Tue, 26 Aug 2014 14:10:37 +0000 (10:10 -0400)
Summary: that's because weston sample client supposed that the time passed by frame callback is milli-second.

Reviewers: devilhorns, zmike, raster

CC: cedric
Differential Revision: https://phab.enlightenment.org/D1133

src/bin/e_comp_wl.c

index e2a0294..641a14a 100644 (file)
@@ -710,7 +710,7 @@ _e_comp_wl_cb_render_post(void *data EINA_UNUSED, Evas *evas EINA_UNUSED, void *
         if (!ec->wl_comp_data) continue;
         EINA_LIST_FREE(ec->wl_comp_data->frames, cb)
           {
-             wl_callback_send_done(cb, ecore_loop_time_get());
+             wl_callback_send_done(cb, (ecore_loop_time_get() * 1000));
              wl_resource_destroy(cb);
           }