mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 1762424 - Unblock GPU process on Android 12. r=gfx-reviewers,nical
With the previous patches in this series we can properly recover from a GPU process restart, so unblock it. Differential Revision: https://phabricator.services.mozilla.com/D143487
This commit is contained in:
parent
5dc0cd786f
commit
dee7767b62
@ -697,20 +697,6 @@ nsresult GfxInfo::GetFeatureStatusImpl(
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
if (aFeature == FEATURE_GPU_PROCESS) {
|
||||
// On Android 12 the EGL context isn't correctly detached from the Surface
|
||||
// when the process dies, meaning we are subsequently unable to create new
|
||||
// EGL contexts. Block the GPU process on Android 12 and above until we find
|
||||
// a solution. See bug 1762025.
|
||||
if (mSDKVersion >= 31) {
|
||||
*aStatus = nsIGfxInfo::FEATURE_BLOCKED_OS_VERSION;
|
||||
aFailureId = "FEATURE_FAILURE_ANDROID_12";
|
||||
} else {
|
||||
*aStatus = nsIGfxInfo::FEATURE_STATUS_OK;
|
||||
}
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
return GfxInfoBase::GetFeatureStatusImpl(
|
||||
aFeature, aStatus, aSuggestedDriverVersion, aDriverInfo, aFailureId, &os);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user