Allow efl_webview_app to run on desktop with mesa software backends
authorPiotr Tworek <p.tworek@samsung.com>
Wed, 4 Feb 2015 13:01:32 +0000 (14:01 +0100)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
Some people like to test efl_webview_app over ssh. Unfortunately
hardware accelerated OpenGL does not work over ssh. The only working
backend for such configuration is mesa llfmpipe/softpipe. Those backends
however are considered as unsupported and are blacklisted by EFL.
Fortunately EFL allows us to ignore it's blacklist through
EVAS_GL_NO_BLACKLIST environment variable.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=10918
Reviewed by: Antonio Gomes, Kamil Klimek

Change-Id: I6bc14e5303e94b9c911afa107435608ea423060c
Signed-off-by: Piotr Tworek <p.tworek@samsung.com>
tizen_src/ewk/efl_webview_app/efl_webview_app.sh

index 9ee1d8a..1b06c1a 100755 (executable)
@@ -25,5 +25,8 @@ CHROMIUM_EFL_DEPENDENCIES_LIBDIR=$(cd $SCRIPTDIR/../Dependencies/Root/$_LIBDIR;
 
 export LD_LIBRARY_PATH=$CHROMIUM_EFL_DEPENDENCIES_LIBDIR:$CHROMIUM_EFL_LIBDIR:${LD_LIBRARY_PATH}
 echo "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}"
-${SCRIPTDIR}/efl_webview_app $@
 
+# Allow chromium-efl to work with llvmpipe or softpipe mesa backends
+export EVAS_GL_NO_BLACKLIST=1
+
+exec ${SCRIPTDIR}/efl_webview_app "$@"