Enlightenment CVS committal Author : raster Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/modules/loaders/gif Modified Files: evas_image_load_gif.c Log Message: i was just playing with adding thread supprot to INTERNALS of evas (ie the renderer gets threaded). if i thread at the simplest levels (low down in for example the image scaler code - one of the most expensvie gfx routnes) on an actual dual core system - performance drops by 40%. this just doesn't work well at that level. thread creates and joins per render op are just a bad thing (tm) :) so this really needs to go in much higher up and that presents problems. :( i will need to clearly define entry and exit points to and from threaded space (and thus all the locks) - remove all nested calls (where internal code goes thru the same entry/exit points traditionally so it deadlocks itself).. anyway - this here has all that code stripepd out i played with - it is just the autofoo and build stuff so we can turn on/off thread support at will in the build. =================================================================== RCS file: /cvs/e/e17/libs/evas/src/modules/loaders/gif/evas_image_load_gif.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- evas_image_load_gif.c 30 Sep 2006 10:18:36 -0000 1.3 +++ evas_image_load_gif.c 28 Oct 2006 03:02:22 -0000 1.4 @@ -1,11 +1,11 @@ +#include "evas_common.h" +#include "evas_private.h" + #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <gif_lib.h> - -#include "evas_common.h" -#include "evas_private.h" int evas_image_load_file_head_gif(RGBA_Image *im, const char *file, const char *key); ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs