summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2022-10-25 09:32:00 +0200
committerMichal Klocek <michal.klocek@qt.io>2022-11-30 13:19:37 +0100
commiteffd9b0930b1311a148447fc53c2b1f6029164e0 (patch)
tree2299b56b20bd520aea3c60f8b2621056ead0e708
parent1e435540e69969ecf9c1e81d1ea35b35e401e671 (diff)
Doc: Add hardware acceleration feature
Fixes: QTBUG-106496 Change-Id: Ie1f74d5c9878f6079089007c1cc79a427e85bd70 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> (cherry picked from commit 16ae468b1034fc2a44b80dd4d964984771d663fa) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/core/doc/src/qtwebengine-features.qdoc15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/core/doc/src/qtwebengine-features.qdoc b/src/core/doc/src/qtwebengine-features.qdoc
index 66966d63e..157fab3d9 100644
--- a/src/core/doc/src/qtwebengine-features.qdoc
+++ b/src/core/doc/src/qtwebengine-features.qdoc
@@ -17,6 +17,7 @@
\li \l{Drag and Drop}
\li \l{Favicon Handling}
\li \l{Fullscreen}
+ \li \l{Hardware Acceleration}
\li \l{HTML5 DRM}
\li \l{HTML5 Geolocation}
\li \l{HTML5 WebSockets}
@@ -204,6 +205,20 @@
Support for this feature was added in Qt 5.6.0.
+ \section1 Hardware Acceleration
+
+ QtWebEngine tries to use hardware acceleration for rendering the content. It uses
+ \c OpenGL or \c OpenGLES APIs to execute rendering calls on the GPU. As a fallback,
+ software rendering is used whenever the hardware does not meet the required set of
+ OpenGL functionality. A user can check the current hardware acceleration state by
+ loading the \c {chrome://gpu} internal page. Moreover, the acceleration can be explicitly
+ disabled with \c {QTWEBENGINE_CHROMIUM_FLAGS} using the \c {disable-gpu} switch.
+ For example on Linux:
+
+ \badcode
+ export QTWEBENGINE_CHROMIUM_FLAGS=--disable-gpu
+ \endcode
+
\section1 HTML5 DRM
\QWE supports viewing DRM protected videos if the \l{Widevine CDM} plugin has been installed.