was used to show FPS before. but a long time it doesn't
do anything.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@65021
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
}
static Eina_Bool
-enter_idle(void *data __UNUSED__)
-{
- double t;
- static double pt = 0.0;
- static int frames = 0;
-
- t = ecore_time_get();
- if (frames == 0) pt = t;
- frames++;
- if (frames == 100)
- {
-// printf("FPS: %3.3f\n", frames / (t - pt));
- frames = 0;
- }
- return EINA_TRUE;
-}
-
-static Eina_Bool
check_positions(void *data __UNUSED__)
{
const Eina_List *lst;
for (; args < argc; args++)
init_video_object(backend, argv[args]);
- ecore_idle_enterer_add(enter_idle, NULL);
ecore_animator_add(check_positions, NULL);
ecore_main_loop_begin();