Add Hardware Accelerated VP9 Support

This is Windows 10+ only for now due to a vp9 decoder mft being needed
Fix for older windows is being worked on.
This commit is contained in:
EAZYBLACK 2026-09-13 10:42:24 +03:00
commit 6ad01d940b
9 changed files with 74 additions and 9 deletions

View file

@ -336,6 +336,7 @@ var snapshotFormatters = {
addRowFromKey("features", "webgl2DriverExtensions");
addRowFromKey("features", "webgl2Extensions");
addRowFromKey("features", "supportsHardwareH264", "hardwareH264");
addRowFromKey("features", "supportsHardwareVP9", "hardwareVP9");
addRowFromKey("features", "currentAudioBackend", "audioBackend");
addRowFromKey("features", "direct2DEnabled", "#Direct2D");

View file

@ -59,6 +59,7 @@ clearTypeParameters = ClearType Parameters
compositing = Compositing
hardwareH264 = Hardware H264 Decoding
hardwareVP9 = Hardware VP9 Decoding
audioBackend = Audio Backend
mainThreadNoOMTC = main thread, no OMTC
yes = Yes

View file

@ -357,6 +357,15 @@ var dataProviders = {
promises.push(promise);
} catch (e) {}
data.supportsHardwareVP9 = "Unknown";
try {
let promise = winUtils.supportsHardwareVP9Decoding;
promise.then(function(v) {
data.supportsHardwareVP9 = v;
});
promises.push(promise);
} catch (e) {}
data.currentAudioBackend = winUtils.currentAudioBackend;
if (!data.numAcceleratedWindows && gfxInfo) {