mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-17 06:09:19 +00:00
Bug 1615420. Disable DirectComposition on AMD and older Intel drivers on beta & release. r=aosmond
This is similar to a change that landed directly into 74. We don't want to roll-out to these users yet and we don't want to have to think about it every release. Differential Revision: https://phabricator.services.mozilla.com/D66453 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
5f4e3407d8
commit
a091f10bb0
@ -128,6 +128,7 @@ enum class OperatingSystem : uint8_t {
|
||||
Windows8_1,
|
||||
Windows10,
|
||||
RecentWindows10,
|
||||
NotRecentWindows10,
|
||||
Linux,
|
||||
OSX,
|
||||
OSX10_5,
|
||||
|
@ -773,6 +773,14 @@ inline bool MatchingOperatingSystems(OperatingSystem aBlockedOS,
|
||||
// versions.
|
||||
return aSystemOSBuild >= kMinWin10BuildNumber;
|
||||
}
|
||||
|
||||
if (aBlockedOS == OperatingSystem::NotRecentWindows10) {
|
||||
if (aSystemOS == OperatingSystem::Windows10) {
|
||||
return aSystemOSBuild < kMinWin10BuildNumber;
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(XP_MACOSX)
|
||||
|
@ -1868,11 +1868,34 @@ const nsTArray<GfxDriverInfo>& GfxInfo::GetGfxDriverInfo() {
|
||||
////////////////////////////////////
|
||||
// FEATURE_WEBRENDER_COMPOSITOR
|
||||
|
||||
#ifndef EARLY_BETA_OR_EARLIER
|
||||
// See also bug 161687
|
||||
APPEND_TO_DRIVER_BLOCKLIST2(
|
||||
OperatingSystem::Windows10, DeviceFamily::IntelHD520,
|
||||
OperatingSystem::Windows, DeviceFamily::IntelAll,
|
||||
nsIGfxInfo::FEATURE_WEBRENDER_COMPOSITOR,
|
||||
nsIGfxInfo::FEATURE_BLOCKED_DEVICE, DRIVER_LESS_THAN_OR_EQUAL,
|
||||
V(25, 20, 100, 6472), "FEATURE_FAILURE_BUG_1602511");
|
||||
|
||||
APPEND_TO_DRIVER_BLOCKLIST2(
|
||||
OperatingSystem::Windows, DeviceFamily::AtiAll,
|
||||
nsIGfxInfo::FEATURE_WEBRENDER_COMPOSITOR,
|
||||
nsIGfxInfo::FEATURE_BLOCKED_DEVICE, DRIVER_EQUAL,
|
||||
V(8, 17, 10, 1129), "FEATURE_FAILURE_CHROME_BUG_800950");
|
||||
|
||||
// Block all AMD for now
|
||||
APPEND_TO_DRIVER_BLOCKLIST2(
|
||||
OperatingSystem::Windows, DeviceFamily::AtiAll,
|
||||
nsIGfxInfo::FEATURE_WEBRENDER_COMPOSITOR,
|
||||
nsIGfxInfo::FEATURE_BLOCKED_DEVICE, DRIVER_COMPARISON_IGNORED,
|
||||
V(0, 0, 0, 0), "FEATURE_FAILURE_ALL_AMD");
|
||||
|
||||
// Block all non-recent Win10
|
||||
APPEND_TO_DRIVER_BLOCKLIST2(
|
||||
OperatingSystem::NotRecentWindows10, DeviceFamily::All,
|
||||
nsIGfxInfo::FEATURE_WEBRENDER_COMPOSITOR,
|
||||
nsIGfxInfo::FEATURE_BLOCKED_OS_VERSION, DRIVER_COMPARISON_IGNORED,
|
||||
V(0, 0, 0, 0), "FEATURE_FAILURE_NOT_RECENT_WIN10");
|
||||
#endif
|
||||
}
|
||||
return *sDriverInfo;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user