Backed out changeset 12545700455b (bug 1682636) for Wd failures. CLOSED TREE

This commit is contained in:
Dorel Luca 2020-12-16 03:43:18 +02:00
Родитель 67c6219a2e
Коммит ea9d56d8fc
2 изменённых файлов: 2 добавлений и 6 удалений

Просмотреть файл

@ -340,7 +340,7 @@ static OperatingSystem BlocklistOSToOperatingSystem(const nsAString& os) {
return OperatingSystem::OSX11_0;
} else if (os.EqualsLiteral("Android")) {
return OperatingSystem::Android;
// For historical reasons, "All" in blocklist means "All Windows"
// For historical reasons, "All" in blocklist means "All Windows"
} else if (os.EqualsLiteral("All")) {
return OperatingSystem::Windows;
} else if (os.EqualsLiteral("Darwin")) {
@ -1057,8 +1057,7 @@ int32_t GfxInfoBase::FindBlocklistedDeviceInList(
#endif
if (match || info[i].mDriverVersion == GfxDriverInfo::allDriverVersions) {
if ((info[i].mFeature == GfxDriverInfo::allFeatures &&
aFeature != nsIGfxInfo::FEATURE_WEBRENDER_SOFTWARE) ||
if (info[i].mFeature == GfxDriverInfo::allFeatures ||
info[i].mFeature == aFeature) {
status = info[i].mFeatureStatus;
if (!info[i].mRuleId.IsEmpty()) {

Просмотреть файл

@ -1206,9 +1206,6 @@ static bool OnlyAllowFeatureOnWhitelistedVendor(int32_t aFeature) {
case nsIGfxInfo::FEATURE_GPU_PROCESS:
// We can mostly assume that ANGLE will work
case nsIGfxInfo::FEATURE_DIRECT3D_11_ANGLE:
// Software WebRender is our Basic compositor replacement. It needs to
// always work.
case nsIGfxInfo::FEATURE_WEBRENDER_SOFTWARE:
return false;
default:
return true;