Enlightenment CVS committal Author : raster Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/modules/engines/software_x11 Modified Files: evas_outbuf.c Log Message: cedric's eet and edje patches to use eet dictionaries for strings. =================================================================== RCS file: /cvs/e/e17/libs/evas/src/modules/engines/software_x11/evas_outbuf.c,v retrieving revision 1.16 retrieving revision 1.17 diff -u -3 -r1.16 -r1.17 --- evas_outbuf.c 1 Feb 2008 01:50:56 -0000 1.16 +++ evas_outbuf.c 1 Mar 2008 06:38:09 -0000 1.17 @@ -6,7 +6,8 @@ static Evas_List *shmpool = NULL; static int shmsize = 0; - +static int shmmemlimit = 10 * 1024 * 1024; +static int shmcountlimit = 32; static X_Output_Buffer * _find_xob(Display *d, Visual *v, int depth, int w, int h, int shm, void *data) { @@ -74,8 +75,8 @@ { shmpool = evas_list_prepend(shmpool, xob); shmsize += xob->psize * xob->xim->depth / 8; - while ((shmsize > (1024 * 4096)) || - (evas_list_count(shmpool) > 32)) + while ((shmsize > (shmmemlimit)) || + (evas_list_count(shmpool) > shmcountlimit)) { Evas_List *xl; ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs