Bug 1407461: Allow hardware acceleration for Windows drivers with mismatched DLL and registry versions on Nightly. r=gfx-reviewers,jrmuizel

On Nightly, mismatched driver versions will be noted in any associated
crash reports, but otherwise will not be reported and will not prevent
hardware acceleration from activating.

On Beta and Release, we will continue to treat this as a disqualifying
condition.

Differential Revision: https://phabricator.services.mozilla.com/D168997
This commit is contained in:
Brad Werth 2023-02-07 20:30:13 +00:00
Родитель e123a605f4
Коммит a858f46d01
1 изменённых файлов: 2 добавлений и 0 удалений

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

@ -1940,11 +1940,13 @@ nsresult GfxInfo::GetFeatureStatusImpl(
return NS_OK;
}
#ifndef NIGHTLY_BUILD
if (mHasDriverVersionMismatch) {
aFailureId = "FEATURE_FAILURE_MISMATCHED_VERSION";
*aStatus = nsIGfxInfo::FEATURE_BLOCKED_MISMATCHED_VERSION;
return NS_OK;
}
#endif
}
return GfxInfoBase::GetFeatureStatusImpl(