зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1524284. Enable WebRender by default on modern Intel desktop gpus. r=kats
This enables WebRender on a small subset of modern Intel gpus. Differential Revision: https://phabricator.services.mozilla.com/D18242 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
7eeab2e1f1
Коммит
4a9308c0a7
|
@ -2692,6 +2692,25 @@ static FeatureState& WebRenderHardwareQualificationStatus(
|
|||
FeatureStatus::Blocked, "Device too old",
|
||||
NS_LITERAL_CSTRING("FEATURE_FAILURE_DEVICE_TOO_OLD"));
|
||||
}
|
||||
} else if (adapterVendorID == u"0x8086") { // Intel
|
||||
const uint16_t supportedDevices[] = {
|
||||
0x191d, // HD Graphics P530
|
||||
0x192d, // Iris Pro Graphics P555
|
||||
0x1912, // HD Graphics 530
|
||||
0x5912, // HD Graphics 630
|
||||
0x3e92, // UHD Graphics 630
|
||||
};
|
||||
bool supported = false;
|
||||
for (uint16_t id : supportedDevices) {
|
||||
if (deviceID == id) {
|
||||
supported = true;
|
||||
}
|
||||
}
|
||||
if (!supported) {
|
||||
featureWebRenderQualified.Disable(
|
||||
FeatureStatus::Blocked, "Device too old",
|
||||
NS_LITERAL_CSTRING("FEATURE_FAILURE_DEVICE_TOO_OLD"));
|
||||
}
|
||||
#endif
|
||||
} else {
|
||||
featureWebRenderQualified.Disable(
|
||||
|
|
Загрузка…
Ссылка в новой задаче