diff options
author | Michal Klocek <michal.klocek@qt.io> | 2022-10-25 09:32:00 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2022-11-18 15:10:06 +0100 |
commit | 16ae468b1034fc2a44b80dd4d964984771d663fa (patch) | |
tree | 8dbc54d81a328f712ef2b20c63835f522486ceac | |
parent | f312bd5bc28d431e63059df41dd8fe69eb9d4aeb (diff) |
Doc: Add hardware acceleration feature
Fixes: QTBUG-106496
Pick-to: 6.4
Change-Id: Ie1f74d5c9878f6079089007c1cc79a427e85bd70
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
-rw-r--r-- | src/core/doc/src/qtwebengine-features.qdoc | 15 |
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. |