mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
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:
parent
7eeab2e1f1
commit
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(
|
||||
|
Loading…
Reference in New Issue
Block a user