take advantage of cacheburst

SVN revision: 18249
This commit is contained in:
Carsten Haitzler 2005-11-03 13:07:29 +00:00
parent cfca0a1809
commit 2d417c37e5
1 changed files with 12 additions and 0 deletions

View File

@ -24,6 +24,7 @@ static int _e_main_cb_signal_hup(void *data, int ev_type, void *ev);
static int _e_main_cb_x_flusher(void *data);
static int _e_main_cb_idler_before(void *data);
static int _e_main_cb_idler_after(void *data);
static int _e_main_cb_eet_cacheburst_end(void *data);
static int _e_main_cb_startup_fake_end(void *data);
@ -251,6 +252,7 @@ main(int argc, char **argv)
}
}
/* init edje and set it up in frozen mode */
edje_init();
edje_freeze();
@ -264,6 +266,9 @@ main(int argc, char **argv)
}
_e_main_shutdown_push(ecore_shutdown);
eet_cacheburst(1);
ecore_timer_add(1.0, _e_main_cb_eet_cacheburst_end, NULL);
/* init the file system */
if (!ecore_file_init())
{
@ -1096,6 +1101,13 @@ _e_main_cb_idler_after(void *data __UNUSED__)
return 1;
}
static int
_e_main_cb_eet_cacheburst_end(void *data __UNUSED__)
{
eet_cacheburst(0);
return 0;
}
static int
_e_main_cb_startup_fake_end(void *data __UNUSED__)
{