From 146b0ed8fff98cea16d9eabf40d4317a92b93d6f Mon Sep 17 00:00:00 2001 From: cedric Date: Thu, 5 Jul 2012 12:04:47 +0000 Subject: [PATCH] evas: disable pipe rendering for release as it doesn't help enough. NOTE: It will be enable again when async rendering will be in. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@73338 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- ChangeLog | 4 ++++ NEWS | 1 + configure.ac | 38 +++++++++++++++++++++----------------- 3 files changed, 26 insertions(+), 17 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4e86d73..2618a14 100644 --- a/ChangeLog +++ b/ChangeLog @@ -864,3 +864,7 @@ * Fixed Map pipe region issue. It caused the incorrect object rendering order on gl backened. + +2012-07-05 Cedric Bail + + * Strongly disable Evas pipe rendering. diff --git a/NEWS b/NEWS index 1a58bd0..de23f5d 100644 --- a/NEWS +++ b/NEWS @@ -25,6 +25,7 @@ Removal: * Remove EVAS_FRAME_QUEUING, EVAS_SLI, METRIC_CACHE and WORD_CACHE. * Remove librsvg svg loader (If you want to use it, use the evas_generic_loader variant). * Remove software DirectDraw 16 bits engine + * Pipe rendering now need a patch to be turned on. Evas 1.2.0 diff --git a/configure.ac b/configure.ac index 834e6fe..972fdd9 100644 --- a/configure.ac +++ b/configure.ac @@ -1147,23 +1147,27 @@ 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 +# Let disable pipe render strongly as it doesn't massively improve performance, but +# just hammer more watt for a few more percent. The code is kept as the understanding +# is that with an async pipeline things will be better. +# +#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 ####################################### ## Async events -- 2.7.4