From f33b096dea4f21601e9fbe870997c400abf93815 Mon Sep 17 00:00:00 2001 From: raster Date: Sat, 28 Aug 2010 02:43:15 +0000 Subject: [PATCH] unfortunate - but need to disable those async/pipe render options. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@51691 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- README.in | 8 ++++- configure.ac | 109 +++++++++++++++++++++++++++++++++-------------------------- 2 files changed, 69 insertions(+), 48 deletions(-) diff --git a/README.in b/README.in index 305e0bb..3248371 100644 --- a/README.in +++ b/README.in @@ -560,7 +560,7 @@ if you ask it to, and provide events when done. this goes hand-in-hand with --enable-pthreads and --enable-async-events. you really want all of these available. ---enable-async-render +--enable-async-render **DISABLED DUE TO BUGS** this enables a software multi-frame threaded renderer. this will allocate (for example) 2 frames to 2 cores, with one core of the cpu @@ -569,6 +569,12 @@ another core in the meantime allowing for higher framerates with software rendering, using more cpu resources that are available on modern multi-core cpu's. +--enable-pipe-render **DISABLED DUE TO BUGS** + +this enables a multiple-thread renderer that divides the rendering +into N regions (1 per core) to speed up rendering in software when you +have multiple cpu cores. + --enable-word-cache Cache rendered words and draw them as a single object, instead of diff --git a/configure.ac b/configure.ac index dbd6cde..24d48b0 100644 --- a/configure.ac +++ b/configure.ac @@ -816,55 +816,65 @@ AC_ARG_ENABLE(pthreads, ####################################### ## Pipe Renderer build_pipe_render="no" -AC_MSG_CHECKING(whether to build Threaded Pipe Rendering support) -AC_ARG_ENABLE(pipe-render, - AC_HELP_STRING([--enable-pipe-render], [enable threaded pipe rendering support]), - [ build_pipe_render=$enableval ] -) -AC_MSG_RESULT($build_pipe_render) - -AC_MSG_CHECKING(whether we can build Threaded Pipe Rendering support) -if test \( "x$build_pipe_render" = "xyes" -o "x$build_pipe_render" = "xauto" \); then - AC_MSG_RESULT(yes) - AC_DEFINE(BUILD_PIPE_RENDER, 1, [Build pipe render support]) - build_pipe_render="yes" - need_pthreads="yes" -else - AC_MSG_RESULT(no) - build_pipe_render="no" -fi +dnl +dnl ... DISABLED! some testing has shown that this seems to have some +dnl nasty bugs on both x86 and arm (tegra2 dual core tested), so just +dnl disabling this for now until it can be fixed +dnl +dnl AC_MSG_CHECKING(whether to build Threaded Pipe Rendering support) +dnl AC_ARG_ENABLE(pipe-render, +dnl AC_HELP_STRING([--enable-pipe-render], [enable threaded pipe rendering support]), +dnl [ build_pipe_render=$enableval ] +dnl ) +dnl AC_MSG_RESULT($build_pipe_render) +dnl +dnl AC_MSG_CHECKING(whether we can build Threaded Pipe Rendering support) +dnl if test \( "x$build_pipe_render" = "xyes" -o "x$build_pipe_render" = "xauto" \); then +dnl AC_MSG_RESULT(yes) +dnl AC_DEFINE(BUILD_PIPE_RENDER, 1, [Build pipe render support]) +dnl build_pipe_render="yes" +dnl need_pthreads="yes" +dnl else +dnl AC_MSG_RESULT(no) +dnl build_pipe_render="no" +dnl fi ####################################### ## Async Renderer build_async_render="no" -AC_MSG_CHECKING(whether to build Asynchronously Threaded Pipe Rendering support) -AC_ARG_ENABLE(async-render, - AC_HELP_STRING([--enable-async-render], [enable asynchronously threaded pipe rendering support]), - [ build_async_render=$enableval ] -) -AC_MSG_RESULT($build_async_render) - -AC_MSG_CHECKING(whether we can build Asynchronously Threaded Pipe Rendering support) -if test \( "x$build_async_render" = "xyes" \); then - AC_MSG_RESULT(yes) - AC_DEFINE(EVAS_FRAME_QUEUING, 1, [Build async render support]) - build_async_render="yes" - AC_DEFINE(BUILD_PIPE_RENDER, 1, [Build pipe render support]) - build_pipe_render="yes" - need_pthreads="yes" - - PKG_CHECK_MODULES([XEXT], - [xext < 1.1.1], - [ build_avoid_libXext_bug=yes ], - [ build_avoid_libXext_bug=no ] - ) - if test \( "x$build_avoid_libXext_bug" = "xyes" \); then - AC_DEFINE(LIBXEXT_VERSION_LOW, 1, [To avoid bug on old libXext version]) - fi -else - AC_MSG_RESULT(no) - build_async_render="no" -fi +dnl +dnl ... DISABLED! some testing has shown that this seems to have some +dnl nasty bugs on both x86 and arm (tegra2 dual core tested), so just +dnl disabling this for now until it can be fixed +dnl +dnl AC_MSG_CHECKING(whether to build Asynchronously Threaded Pipe Rendering support) +dnl AC_ARG_ENABLE(async-render, +dnl AC_HELP_STRING([--enable-async-render], [enable asynchronously threaded pipe rendering support]), +dnl [ build_async_render=$enableval ] +dnl ) +dnl AC_MSG_RESULT($build_async_render) +dnl +dnl AC_MSG_CHECKING(whether we can build Asynchronously Threaded Pipe Rendering support) +dnl if test \( "x$build_async_render" = "xyes" \); then +dnl AC_MSG_RESULT(yes) +dnl AC_DEFINE(EVAS_FRAME_QUEUING, 1, [Build async render support]) +dnl build_async_render="yes" +dnl AC_DEFINE(BUILD_PIPE_RENDER, 1, [Build pipe render support]) +dnl build_pipe_render="yes" +dnl need_pthreads="yes" +dnl +dnl PKG_CHECK_MODULES([XEXT], +dnl [xext < 1.1.1], +dnl [ build_avoid_libXext_bug=yes ], +dnl [ build_avoid_libXext_bug=no ] +dnl ) +dnl if test \( "x$build_avoid_libXext_bug" = "xyes" \); then +dnl AC_DEFINE(LIBXEXT_VERSION_LOW, 1, [To avoid bug on old libXext version]) +dnl fi +dnl else +dnl AC_MSG_RESULT(no) +dnl build_async_render="no" +dnl fi ####################################### ## Async events @@ -1620,8 +1630,13 @@ echo "Features:" echo " MAGIC_DEBUG.............: $want_evas_magic_debug" echo " Cache Server............: $want_evas_cserve" echo -echo " Threaded Pipe Rendering.: $build_pipe_render" -echo " Async Pipe Rendering....: $build_async_render" +dnl +dnl ... DISABLED! some testing has shown that this seems to have some +dnl nasty bugs on both x86 and arm (tegra2 dual core tested), so just +dnl disabling this for now until it can be fixed +dnl +dnl echo " Threaded Pipe Rendering.: $build_pipe_render" +dnl echo " Async Pipe Rendering....: $build_async_render" echo " Async Events............: $build_async_events" echo " Async Image Preload.....: $build_async_preload" echo -- 2.7.4