Enable hardware acceleration in QtWebEngine.
-
wrote on 3 May 2021, 14:59 last edited by sepera_okeq 5 Mar 2021, 15:01
Hello, I would like to know how to solve the problem with WebEninge. I don't understand how I can enable Out-of-process Rasterization, Rasterization, Hardware Protected Video Decode. I was able to activate WebGL and other necessary things, but specifically hardware acceleration I do not understand how to enable. I found options with command-line arguments, but for me this method is not acceptable. Thank you in advance!
-
Hello, I would like to know how to solve the problem with WebEninge. I don't understand how I can enable Out-of-process Rasterization, Rasterization, Hardware Protected Video Decode. I was able to activate WebGL and other necessary things, but specifically hardware acceleration I do not understand how to enable. I found options with command-line arguments, but for me this method is not acceptable. Thank you in advance!
@sepera_okeq said in Enable hardware acceleration in QtWebEngine.:
I found options with command-line arguments, but for me this method is not acceptable
AFAIK this is the only way to configure webengine "deeply".
You can also use theQTWEBENGINE_CHROMIUM_FLAGS
env variable to set the same flags, e.g. via qputenv() in your main method (before constructing a QApplication instance)
1/2