office-gobmx/vcl/opengl
Noel Grandin 0d50804e1c loplugin:constparams in various(2)
Change-Id: I533a7eb724b15e168a28dc92cd5962a39bc96e7c
Reviewed-on: https://gerrit.libreoffice.org/44313
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-06 07:13:42 +01:00
..
shaders
win
x11 loplugin:constparams in various(2) 2017-11-06 07:13:42 +01:00
DeviceInfo.cxx
FixedTextureAtlas.cxx
framebuffer.cxx
gdiimpl.cxx Constify some VCL interface functions 2017-10-30 21:20:33 +01:00
LineRenderUtils.cxx
opengl_blacklist_windows.xml
PackedTextureAtlas.cxx
program.cxx
README.deprecated
README.opengl
RenderList.cxx
salbmp.cxx
scale.cxx
texture.cxx

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