Files
libreoffice/vcl/opengl
Tomaž Vajngerl 76d4cda617 opengl: vertex colors are defined in range 0-255 (GLubyte)
Change-Id: I27962119ade7bcbc20b94eb548bd2c9dfb386404
Reviewed-on: https://gerrit.libreoffice.org/26207
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2016-06-13 05:04:32 +00:00
..
2016-05-23 08:25:18 +03:00
2016-06-08 17:12:28 +09:00
2016-05-25 13:19:25 +00:00

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