зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1754219 - Move to a WebRender blocklist for Nvidia on Windows. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D138150
This commit is contained in:
Родитель
5a719fdd79
Коммит
b2089aad42
|
@ -472,6 +472,10 @@ const GfxDeviceFamily* GfxDriverInfo::GetDeviceFamily(DeviceFamily id) {
|
|||
// RS880
|
||||
APPEND_RANGE(0x9710, 0x9715);
|
||||
break;
|
||||
case DeviceFamily::NvidiaWebRenderBlocked:
|
||||
APPEND_RANGE(0x0190, 0x019e); // early tesla
|
||||
APPEND_RANGE(0x0500, 0x05df); // C67-C68
|
||||
break;
|
||||
case DeviceFamily::NvidiaRolloutWebRender:
|
||||
APPEND_RANGE(0x0400, 0x04ff);
|
||||
APPEND_RANGE(0x05e0, 0x05ff);
|
||||
|
@ -951,6 +955,7 @@ const nsAString& GfxDriverInfo::GetDeviceVendor(DeviceFamily id) {
|
|||
case DeviceFamily::NvidiaAll:
|
||||
case DeviceFamily::NvidiaBlockD3D9Layers:
|
||||
case DeviceFamily::NvidiaRolloutWebRender:
|
||||
case DeviceFamily::NvidiaWebRenderBlocked:
|
||||
case DeviceFamily::Geforce7300GT:
|
||||
case DeviceFamily::Nvidia310M:
|
||||
case DeviceFamily::Nvidia8800GTS:
|
||||
|
|
|
@ -202,6 +202,7 @@ enum class DeviceFamily : uint8_t {
|
|||
IntelRolloutWebRender,
|
||||
IntelModernRolloutWebRender,
|
||||
IntelWebRenderBlocked,
|
||||
NvidiaWebRenderBlocked,
|
||||
AtiRolloutWebRender,
|
||||
|
||||
Max
|
||||
|
|
|
@ -1845,6 +1845,12 @@ const nsTArray<GfxDriverInfo>& GfxInfo::GetGfxDriverInfo() {
|
|||
DRIVER_LESS_THAN, GfxDriverInfo::allDriverVersions,
|
||||
"INTEL_DEVICE_GEN5_OR_OLDER");
|
||||
|
||||
APPEND_TO_DRIVER_BLOCKLIST2(
|
||||
OperatingSystem::Windows, DeviceFamily::NvidiaWebRenderBlocked,
|
||||
nsIGfxInfo::FEATURE_WEBRENDER, nsIGfxInfo::FEATURE_BLOCKED_DEVICE,
|
||||
DRIVER_LESS_THAN, GfxDriverInfo::allDriverVersions,
|
||||
"EARLY_NVIDIA");
|
||||
|
||||
////////////////////////////////////
|
||||
// FEATURE_WEBRENDER - ALLOWLIST
|
||||
APPEND_TO_DRIVER_BLOCKLIST2_EXT(
|
||||
|
@ -1857,7 +1863,7 @@ const nsTArray<GfxDriverInfo>& GfxInfo::GetGfxDriverInfo() {
|
|||
APPEND_TO_DRIVER_BLOCKLIST2_EXT(
|
||||
OperatingSystem::Windows, ScreenSizeStatus::All, BatteryStatus::All,
|
||||
DesktopEnvironment::All, WindowProtocol::All, DriverVendor::All,
|
||||
DeviceFamily::NvidiaRolloutWebRender, nsIGfxInfo::FEATURE_WEBRENDER,
|
||||
DeviceFamily::NvidiaAll, nsIGfxInfo::FEATURE_WEBRENDER,
|
||||
nsIGfxInfo::FEATURE_ALLOW_ALWAYS, DRIVER_COMPARISON_IGNORED,
|
||||
V(0, 0, 0, 0), "FEATURE_ROLLOUT_NV");
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче