mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-24 17:37:30 +09:00
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:
parent
2e313706f8
commit
6ad01d940b
9 changed files with 74 additions and 9 deletions
|
|
@ -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");
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue