зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1293028 - Check build id only for intel driver. r=mtseng, r=jgilbert
This commit is contained in:
Родитель
728f58c68b
Коммит
37f961a439
|
@ -64,6 +64,7 @@ enum class OperatingSystem {
|
|||
|
||||
enum VersionComparisonOp {
|
||||
DRIVER_LESS_THAN, // driver < version
|
||||
DRIVER_BUILD_ID_LESS_THAN, // driver build id < version
|
||||
DRIVER_LESS_THAN_OR_EQUAL, // driver <= version
|
||||
DRIVER_GREATER_THAN, // driver > version
|
||||
DRIVER_GREATER_THAN_OR_EQUAL, // driver >= version
|
||||
|
|
|
@ -733,6 +733,9 @@ GfxInfoBase::FindBlocklistedDeviceInList(const nsTArray<GfxDriverInfo>& info,
|
|||
case DRIVER_LESS_THAN:
|
||||
match = driverVersion < info[i].mDriverVersion;
|
||||
break;
|
||||
case DRIVER_BUILD_ID_LESS_THAN:
|
||||
match = (driverVersion & 0xFFFF) < info[i].mDriverVersion;
|
||||
break;
|
||||
case DRIVER_LESS_THAN_OR_EQUAL:
|
||||
match = driverVersion <= info[i].mDriverVersion;
|
||||
break;
|
||||
|
|
|
@ -1185,8 +1185,8 @@ GfxInfo::GetGfxDriverInfo()
|
|||
// Older than 11-18-2015
|
||||
APPEND_TO_DRIVER_BLOCKLIST2(OperatingSystem::Windows,
|
||||
(nsAString&) GfxDriverInfo::GetDeviceVendor(VendorIntel), GfxDriverInfo::allDevices,
|
||||
nsIGfxInfo::FEATURE_WEBGL_OPENGL, nsIGfxInfo::FEATURE_DISCOURAGED, DRIVER_LESS_THAN,
|
||||
V(20,19,15,4331), "WEBGL_NATIVE_GL_OLD_INTEL");
|
||||
nsIGfxInfo::FEATURE_WEBGL_OPENGL, nsIGfxInfo::FEATURE_DISCOURAGED, DRIVER_BUILD_ID_LESS_THAN,
|
||||
4331, "WEBGL_NATIVE_GL_OLD_INTEL");
|
||||
|
||||
// Older than 2-23-2016
|
||||
APPEND_TO_DRIVER_BLOCKLIST2(OperatingSystem::Windows,
|
||||
|
|
Загрузка…
Ссылка в новой задаче