unfortunate - but need to disable those async/pipe render options.

SVN revision: 51691
This commit is contained in:
Carsten Haitzler 2010-08-28 02:43:15 +00:00
parent 7a5677ad43
commit e3c63031ce
2 changed files with 69 additions and 48 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 --enable-async-render **DISABLED DUE TO BUGS**
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
@ -569,6 +569,12 @@ another core in the meantime allowing for higher framerates with
software rendering, using more cpu resources that are available on software rendering, using more cpu resources that are available on
modern multi-core cpu's. 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 --enable-word-cache
Cache rendered words and draw them as a single object, instead of Cache rendered words and draw them as a single object, instead of

View File

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