Merge remote-tracking branch 'origin/master' into custom

This commit is contained in:
roytam1 2021-07-15 09:47:07 +08:00
commit c0cea40182
31 changed files with 314 additions and 108 deletions

View file

@ -359,7 +359,11 @@ GfxInfo::GetFeatureStatusImpl(int32_t aFeature,
aSuggestedDriverVersion.AssignLiteral("Mesa 8.1");
}
}
else if (mIsNouveau && version(mMajorVersion, mMinorVersion) < version(11,0)) {
*aStatus = nsIGfxInfo::FEATURE_BLOCKED_DRIVER_VERSION;
aFailureId = "FEATURE_FAILURE_OLD_NOUVEAU";
aSuggestedDriverVersion.AssignLiteral("Mesa 11.0");
}
} else if (mIsNVIDIA) {
if (version(mMajorVersion, mMinorVersion, mRevisionVersion) < version(257,21)) {
*aStatus = nsIGfxInfo::FEATURE_BLOCKED_DRIVER_VERSION;