add chromium flags for hardware acceleration

This commit is contained in:
Malte Jürgens 2022-10-15 20:28:38 +02:00
parent 7c8f72b8d8
commit bdabf68c9b
No known key found for this signature in database
GPG Key ID: D29FBD5F93C0CFC3
2 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,8 @@ int main(int argc, char *argv[]) {
}
qputenv("QTWEBENGINE_CHROMIUM_FLAGS",
"--ignore-gpu-blacklist --enable-gpu-rasterization "
"--enable-native-gpu-memory-buffers --num-raster-threads=4 "
"--enable-features=WebRTCPipeWireCapturer " +
qgetenv("QTWEBENGINE_CHROMIUM_FLAGS"));

1
submodules/Vencord Submodule

@ -0,0 +1 @@
Subproject commit 0d996633f201b2ab95d8b9dc376a7da2dcca315d