diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2017-08-22 19:08:15 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2017-09-13 16:04:16 +0000 |
commit | c7d46325e635d1fb4482b53dce866e2c55026a7e (patch) | |
tree | b517b5ce12d52b1f1577b08f3d3ded1b8f04bdef /src/webenginewidgets/doc/snippets/qtwebengine_qwebengineview_snippet.cpp | |
parent | ab0603f2a2e59d8a671326f659d1c316c7383606 (diff) | |
download | qtwebengine-c7d46325e635d1fb4482b53dce866e2c55026a7e.tar.gz |
Allow WebGL to work with a software OpenGL implementation on Windows
A user can explicitly request software OpenGL rendering via
opengl32sw.dll instead of Skia rendering, by passing the
--enable-webgl-software-rendering command line argument.
This will make sure not to disable GPU processing if and only if
software OpenGL rendering is used on Windows (via
QT_OPENGL=software environment variable, or the
Qt::AA_UseSoftwareOpenGL attribute), so that WebGL is not disabled.
Software OpenGL rendering will still use Skia on platforms other than
Windows.
Change-Id: I8b3601b144e09e3a732abfb74dbbf6f924889b5a
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/webenginewidgets/doc/snippets/qtwebengine_qwebengineview_snippet.cpp')
0 files changed, 0 insertions, 0 deletions