diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-07-27 12:44:37 +0900 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-07-27 12:44:37 +0900 |
commit | a73897dc077ea9946e7f9847351370b2903e12d8 (patch) | |
tree | d1fbcbfdda76884f37f7796ae9261bfe770ab378 /vcl | |
parent | 5c7b7b5c7a75cde9a21da277d3b20f1f83f95e86 (diff) |
README.opengl: Some notes about env. vars. useful for OpenGL
Change-Id: I25e50bdead1ad1e39be3d527685230c84f08a292
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/opengl/README.opengl | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/vcl/opengl/README.opengl b/vcl/opengl/README.opengl new file mode 100644 index 000000000000..f420262a9fb3 --- /dev/null +++ b/vcl/opengl/README.opengl @@ -0,0 +1,26 @@ +Run LO with OpenGL enabled +-------------------------- +SAL_USE_VCLPLUGIN=gtk SAL_FORCEGL=1 ./soffice + +Environment variables used: + +SAL_USE_VCLPLUGIN - use the specified VCL plugin (GTK2 in this case - currently +needed on Linux because the default GTK3 doesn't support OpenGL yet) + +SAL_FORCEGL - enable OpenGL even if the card is blacklisted. + +Other variables: + +LIBGL_ALWAYS_SOFTWARE=1 - on Linux+Mesa forces the software renderer to be used +(this is useful as an alternative to spot driver specific bugs) + +SAL_LOG=+INFO.vcl.opengl - if "--enable-dbgutil" is used, this can show OpenGL +various rendering messages. + +LD_PRELOAD=/usr/lib64/apitrace/wrappers/glxtrace.so - preload the wrapper for +APItrace. The path is the default used in Fedora 21+. + +Run VCLDemo +----------- + +SAL_USE_VCLPLUGIN=gtk SAL_FORCEGL=1 ./bin/run vcldemo |