Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_main.c 


Log Message:


cacheburst used all the time now :) any time we are just doign a lot of
stuff... cacheburst :)

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_main.c,v
retrieving revision 1.135
retrieving revision 1.136
diff -u -3 -r1.135 -r1.136
--- e_main.c    3 Nov 2005 13:18:00 -0000       1.135
+++ e_main.c    3 Nov 2005 15:09:17 -0000       1.136
@@ -35,6 +35,7 @@
 #define MAX_LEVEL 32
 static int (*_e_main_shutdown_func[MAX_LEVEL]) (void);
 static int _e_main_level = 0;
+static int _e_cacheburst = 0;
 
 static Evas_List *_e_main_idler_before_list = NULL;
 
@@ -267,8 +268,9 @@
    _e_main_shutdown_push(ecore_shutdown);
    
 /* disabled for now - seems to break config loading??? */   
-/*   eet_cacheburst(1);*/
-   ecore_timer_add(1.0, _e_main_cb_eet_cacheburst_end, NULL);
+   _e_cacheburst++;
+   eet_cacheburst(_e_cacheburst);
+   ecore_timer_add(5.0, _e_main_cb_eet_cacheburst_end, NULL);
    
     /* init the file system */
    if (!ecore_file_init())
@@ -1089,6 +1091,8 @@
             free(eb);
          }
      }
+   _e_cacheburst--;
+   eet_cacheburst(_e_cacheburst);
    edje_thaw();
 //   printf("IN to idle... %3.3f\n", ecore_time_get());
    return 1;
@@ -1099,13 +1103,16 @@
 {
 //   printf("OUT of idle... %3.3f\n", ecore_time_get());
    edje_freeze();
+   _e_cacheburst++;
+   eet_cacheburst(_e_cacheburst);
    return 1;
 }
 
 static int
 _e_main_cb_eet_cacheburst_end(void *data __UNUSED__)
 {
-   eet_cacheburst(0);
+   _e_cacheburst--;
+   eet_cacheburst(_e_cacheburst);
    return 0;
 }
 




-------------------------------------------------------
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