summaryrefslogtreecommitdiff
path: root/legacy/evas/src/lib/engines/common/evas_draw_main.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2006-11-13 23:23:44 +0000
committerCarsten Haitzler <raster@rasterman.com>2006-11-13 23:23:44 +0000
commit9781eb9b3841811efa5afff72d34001c44f2106c (patch)
tree3e7078ee2ac85d0647356ec7c80706b201466e20 /legacy/evas/src/lib/engines/common/evas_draw_main.c
parent13ba0a5f57b6e9e0d036fa1af7e3131ede6f3aa0 (diff)
1. evas gets a pipeline with deferred rendering ability (sometimes faster,
sometimes slower) 2. --enable-pthreads will enable multi-threaded rendering (current support is for up to 4 threads so if you have a new fanled quad core or dual cpu dual core box or whatever you will in theory be able to max moe of its cpu grunt with the software rendering engine. this can only be done because i added the pipelines which means almsot entirely lock-free multithreading internally in evas. the only locks are for fonts but with a little work i might be able to remove some/most of those too) for now pthreaded rendering likely will be linux only (it relies on sched.h for setting scheduler params to force the slave threads to run on separate cpu's as linux likes to keep them on the same cpu otherwise and thus we get no speedups at all - only slowdowns). aso note that it is a bit of a mixed bag. complex ops (like smooth scaling with alpha blending) get speedups, but simple ops (like blits/fills) slow down. this all neds examination and tweaking still - but it's a start. SVN revision: 27098
Diffstat (limited to '')
-rw-r--r--legacy/evas/src/lib/engines/common/evas_draw_main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/legacy/evas/src/lib/engines/common/evas_draw_main.c b/legacy/evas/src/lib/engines/common/evas_draw_main.c
index 071195afd0..0516d61db0 100644
--- a/legacy/evas/src/lib/engines/common/evas_draw_main.c
+++ b/legacy/evas/src/lib/engines/common/evas_draw_main.c
@@ -22,8 +22,6 @@ void
22evas_common_shutdown(void) 22evas_common_shutdown(void)
23{ 23{
24 evas_font_dir_cache_free(); 24 evas_font_dir_cache_free();
25 evas_common_image_line_buffer_free();
26 evas_common_image_alpha_line_buffer_free();
27 evas_common_image_cache_free(); 25 evas_common_image_cache_free();
28} 26}
29 27