re-enaqble async rendering. seems ok on 2 cores. might be a quad-core

issue and arm issue. need to check again monday.



SVN revision: 51696
This commit is contained in:
Carsten Haitzler 2010-08-28 13:15:38 +00:00
parent 3aa85b5f2d
commit acac588d58
2 changed files with 31 additions and 35 deletions

View File

@ -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 with --enable-pthreads and --enable-async-events. you really want all
of these available. of these available.
--enable-async-render **DISABLED DUE TO BUGS** --enable-async-render **CAUTION - MAY NOT WORK RIGHT**
this enables a software multi-frame threaded renderer. this will this enables a software multi-frame threaded renderer. this will
allocate (for example) 2 frames to 2 cores, with one core of the cpu allocate (for example) 2 frames to 2 cores, with one core of the cpu

View File

@ -842,39 +842,35 @@ dnl fi
####################################### #######################################
## Async Renderer ## Async Renderer
build_async_render="no" build_async_render="no"
dnl
dnl ... DISABLED! some testing has shown that this seems to have some AC_MSG_CHECKING(whether to build Asynchronously Threaded Pipe Rendering support)
dnl nasty bugs on both x86 and arm (tegra2 dual core tested), so just AC_ARG_ENABLE(async-render,
dnl disabling this for now until it can be fixed AC_HELP_STRING([--enable-async-render], [enable asynchronously threaded pipe rendering support]),
dnl [ build_async_render=$enableval ]
dnl AC_MSG_CHECKING(whether to build Asynchronously Threaded Pipe Rendering support) )
dnl AC_ARG_ENABLE(async-render, AC_MSG_RESULT($build_async_render)
dnl AC_HELP_STRING([--enable-async-render], [enable asynchronously threaded pipe rendering support]),
dnl [ build_async_render=$enableval ] 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($build_async_render) AC_MSG_RESULT(yes)
dnl AC_DEFINE(EVAS_FRAME_QUEUING, 1, [Build async render support])
dnl AC_MSG_CHECKING(whether we can build Asynchronously Threaded Pipe Rendering support) build_async_render="yes"
dnl if test \( "x$build_async_render" = "xyes" \); then AC_DEFINE(BUILD_PIPE_RENDER, 1, [Build pipe render support])
dnl AC_MSG_RESULT(yes) build_pipe_render="yes"
dnl AC_DEFINE(EVAS_FRAME_QUEUING, 1, [Build async render support]) need_pthreads="yes"
dnl build_async_render="yes"
dnl AC_DEFINE(BUILD_PIPE_RENDER, 1, [Build pipe render support]) PKG_CHECK_MODULES([XEXT],
dnl build_pipe_render="yes" [xext < 1.1.1],
dnl need_pthreads="yes" [ build_avoid_libXext_bug=yes ],
dnl [ build_avoid_libXext_bug=no ]
dnl PKG_CHECK_MODULES([XEXT], )
dnl [xext < 1.1.1], if test \( "x$build_avoid_libXext_bug" = "xyes" \); then
dnl [ build_avoid_libXext_bug=yes ], AC_DEFINE(LIBXEXT_VERSION_LOW, 1, [To avoid bug on old libXext version])
dnl [ build_avoid_libXext_bug=no ] fi
dnl ) else
dnl if test \( "x$build_avoid_libXext_bug" = "xyes" \); then AC_MSG_RESULT(no)
dnl AC_DEFINE(LIBXEXT_VERSION_LOW, 1, [To avoid bug on old libXext version]) build_async_render="no"
dnl fi fi
dnl else
dnl AC_MSG_RESULT(no)
dnl build_async_render="no"
dnl fi
####################################### #######################################
## Async events ## Async events
@ -1636,7 +1632,7 @@ 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 disabling this for now until it can be fixed
dnl dnl
dnl echo " Threaded Pipe Rendering.: $build_pipe_render" dnl echo " Threaded Pipe Rendering.: $build_pipe_render"
dnl echo " Async Pipe Rendering....: $build_async_render" echo " Async Pipe Rendering....: $build_async_render"
echo " Async Events............: $build_async_events" echo " Async Events............: $build_async_events"
echo " Async Image Preload.....: $build_async_preload" echo " Async Image Preload.....: $build_async_preload"
echo echo