Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_main.c 


Log Message:


take advantage of cacheburst

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_main.c,v
retrieving revision 1.133
retrieving revision 1.134
diff -u -3 -r1.133 -r1.134
--- e_main.c    28 Oct 2005 09:23:54 -0000      1.133
+++ e_main.c    3 Nov 2005 13:07:29 -0000       1.134
@@ -24,6 +24,7 @@
 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 @@
          }
      }
    
+   
    /* init edje and set it up in frozen mode */
    edje_init();
    edje_freeze();
@@ -264,6 +266,9 @@
      }
    _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())
      {
@@ -1097,6 +1102,13 @@
 }
 
 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__)
 {
    e_init_hide();




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to