Files
libreoffice/vcl/opengl
Noel Grandin bd28564be8 loplugin:returnconstant in vcl
Change-Id: I597ef6d75d1c21cdc15a91bf7f549bc14c851506
Reviewed-on: https://gerrit.libreoffice.org/58086
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-07-27 11:42:27 +02:00
..
2018-07-23 23:38:57 +02:00
2018-07-27 11:42:27 +02:00
2018-07-27 11:42:27 +02:00
2018-07-27 11:42:27 +02:00
2018-06-30 23:07:40 +02:00
2018-07-27 11:42:27 +02: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