forked from mirrors/gecko-dev
Bug 1817269 - Backout Bug 1798245 r=jrmuizel,gfx-reviewers
Bug 1798245 causes Bug 1817269 on Fx 110. Differential Revision: https://phabricator.services.mozilla.com/D170151
This commit is contained in:
parent
9163e54e6a
commit
0561f430e2
3 changed files with 17 additions and 2 deletions
|
|
@ -2710,7 +2710,7 @@ void gfxPlatform::InitWebRenderConfig() {
|
|||
"FEATURE_FAILURE_WR_NO_GFX_INFO"_ns);
|
||||
useVideoOverlay = false;
|
||||
} else {
|
||||
if (status != nsIGfxInfo::FEATURE_STATUS_OK) {
|
||||
if (status != nsIGfxInfo::FEATURE_ALLOW_ALWAYS) {
|
||||
FeatureState& feature = gfxConfig::GetFeature(Feature::VIDEO_OVERLAY);
|
||||
feature.DisableByDefault(FeatureStatus::Blocked,
|
||||
"Blocklisted by gfxInfo", failureId);
|
||||
|
|
|
|||
|
|
@ -1248,7 +1248,8 @@ bool GfxInfoBase::DoesDriverVendorMatch(const nsAString& aBlocklistVendor,
|
|||
}
|
||||
|
||||
bool GfxInfoBase::IsFeatureAllowlisted(int32_t aFeature) const {
|
||||
return aFeature == nsIGfxInfo::FEATURE_HW_DECODED_VIDEO_ZERO_COPY;
|
||||
return aFeature == nsIGfxInfo::FEATURE_VIDEO_OVERLAY ||
|
||||
aFeature == nsIGfxInfo::FEATURE_HW_DECODED_VIDEO_ZERO_COPY;
|
||||
}
|
||||
|
||||
nsresult GfxInfoBase::GetFeatureStatusImpl(
|
||||
|
|
|
|||
|
|
@ -1738,6 +1738,20 @@ const nsTArray<GfxDriverInfo>& GfxInfo::GetGfxDriverInfo() {
|
|||
DRIVER_LESS_THAN, GfxDriverInfo::allDriverVersions,
|
||||
"FEATURE_UNQUALIFIED_P010_NVIDIA");
|
||||
|
||||
////////////////////////////////////
|
||||
// FEATURE_VIDEO_OVERLAY - ALLOWLIST
|
||||
#ifdef EARLY_BETA_OR_EARLIER
|
||||
APPEND_TO_DRIVER_BLOCKLIST2(
|
||||
OperatingSystem::Windows, DeviceFamily::All,
|
||||
nsIGfxInfo::FEATURE_VIDEO_OVERLAY, nsIGfxInfo::FEATURE_ALLOW_ALWAYS,
|
||||
DRIVER_COMPARISON_IGNORED, V(0, 0, 0, 0), "FEATURE_ROLLOUT_ALL");
|
||||
#else
|
||||
APPEND_TO_DRIVER_BLOCKLIST2(
|
||||
OperatingSystem::Windows, DeviceFamily::IntelAll,
|
||||
nsIGfxInfo::FEATURE_VIDEO_OVERLAY, nsIGfxInfo::FEATURE_ALLOW_ALWAYS,
|
||||
DRIVER_COMPARISON_IGNORED, V(0, 0, 0, 0), "FEATURE_ROLLOUT_INTEL");
|
||||
#endif
|
||||
|
||||
////////////////////////////////////
|
||||
// FEATURE_HW_DECODED_VIDEO_ZERO_COPY
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue