Emotion Test: remove unuseful funtion enter_idle

was used to show FPS before. but a long time it doesn't
do anything.


SVN revision: 65021
This commit is contained in:
Bruno Dilly 2011-11-10 12:24:56 +00:00
parent 66f18fc49f
commit 3d38f4d08e
1 changed files with 0 additions and 19 deletions

View File

@ -630,24 +630,6 @@ init_video_object(const char *module_filename, const char *filename)
evas_object_show(oe);
}
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__)
{
@ -740,7 +722,6 @@ main(int argc, char **argv)
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();