Enlightenment CVS committal Author : raster Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/modules/loaders/xpm Modified Files: evas_image_load_xpm.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/xpm/evas_image_load_xpm.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -3 -r1.9 -r1.10 --- evas_image_load_xpm.c 24 Sep 2006 23:31:21 -0000 1.9 +++ evas_image_load_xpm.c 28 Oct 2006 03:02:22 -0000 1.10 @@ -1,7 +1,6 @@ #include "evas_common.h" #include "evas_private.h" - int evas_image_load_file_head_xpm(RGBA_Image *im, const char *file, const char *key); int evas_image_load_file_data_xpm(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