add chromium flags for hardware acceleration
This commit is contained in:
parent
7c8f72b8d8
commit
bdabf68c9b
|
@ -38,6 +38,8 @@ int main(int argc, char *argv[]) {
|
||||||
}
|
}
|
||||||
|
|
||||||
qputenv("QTWEBENGINE_CHROMIUM_FLAGS",
|
qputenv("QTWEBENGINE_CHROMIUM_FLAGS",
|
||||||
|
"--ignore-gpu-blacklist --enable-gpu-rasterization "
|
||||||
|
"--enable-native-gpu-memory-buffers --num-raster-threads=4 "
|
||||||
"--enable-features=WebRTCPipeWireCapturer " +
|
"--enable-features=WebRTCPipeWireCapturer " +
|
||||||
qgetenv("QTWEBENGINE_CHROMIUM_FLAGS"));
|
qgetenv("QTWEBENGINE_CHROMIUM_FLAGS"));
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 0d996633f201b2ab95d8b9dc376a7da2dcca315d
|
Loading…
Reference in New Issue