i was just playing with adding thread supprot to INTERNALS of evas (ie the
authorCarsten Haitzler <raster@rasterman.com>
Sat, 28 Oct 2006 03:02:23 +0000 (03:02 +0000)
committerCarsten Haitzler <raster@rasterman.com>
Sat, 28 Oct 2006 03:02:23 +0000 (03:02 +0000)
commitfd60c655b0cfae131b9aa37121ac0b8815a85cd9
treed34627d7a398a47cfc54d2db19bde11de586c385
parent03e6eca6dab609b2795efe6097ca2b4d827592bc
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.

SVN revision: 26817
18 files changed:
legacy/evas/configure.in
legacy/evas/src/lib/Makefile.am
legacy/evas/src/lib/engines/common/Makefile.am
legacy/evas/src/lib/file/evas_path.c
legacy/evas/src/lib/include/evas_common.h
legacy/evas/src/modules/loaders/edb/evas_image_load_edb.c
legacy/evas/src/modules/loaders/eet/evas_image_load_eet.c
legacy/evas/src/modules/loaders/gif/evas_image_load_gif.c
legacy/evas/src/modules/loaders/jpeg/evas_image_load_jpeg.c
legacy/evas/src/modules/loaders/png/evas_image_load_png.c
legacy/evas/src/modules/loaders/svg/evas_image_load_svg.c
legacy/evas/src/modules/loaders/tiff/evas_image_load_tiff.c
legacy/evas/src/modules/loaders/xpm/evas_image_load_xpm.c
legacy/evas/src/modules/savers/edb/evas_image_save_edb.c
legacy/evas/src/modules/savers/eet/evas_image_save_eet.c
legacy/evas/src/modules/savers/jpeg/evas_image_save_jpeg.c
legacy/evas/src/modules/savers/png/evas_image_save_png.c
legacy/evas/src/modules/savers/tiff/evas_image_save_tiff.c