Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/modules/savers/jpeg


Modified Files:
        evas_image_save_jpeg.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/savers/jpeg/evas_image_save_jpeg.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- evas_image_save_jpeg.c      6 Sep 2006 07:28:46 -0000       1.3
+++ evas_image_save_jpeg.c      28 Oct 2006 03:02:23 -0000      1.4
@@ -1,10 +1,9 @@
-#include <stdio.h>
-#include <jpeglib.h>
-#include <setjmp.h>
-
 #include "evas_common.h"
 #include "evas_private.h"
 
+#include <stdio.h>
+#include <jpeglib.h>
+#include <setjmp.h>
 
 int evas_image_save_file_jpeg(RGBA_Image *im, const char *file, const char 
*key, int quality, int compress);
 



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

Reply via email to