Bug 1712290 - Re-enable webrender on Adreno 3xx Android 9 devices. r=gfx-reviewers,nical
Webrender had previously been disabled on Adreno 3xx devices running Android 9 due to a rendering issue caused by a driver bug. (See bug 1712148) The issue has now been identified and a workaround put in place, so we can re-enable webrender. Depends on D117033 Differential Revision: https://phabricator.services.mozilla.com/D117034
This commit is contained in:
@@ -599,13 +599,9 @@ nsresult GfxInfo::GetFeatureStatusImpl(
|
||||
const nsCString& gpu = mGLStrings->Renderer();
|
||||
NS_LossyConvertUTF16toASCII model(mModel);
|
||||
|
||||
// Enable Webrender on all Adreno 3xx GPUs, excluding Android 9 and later
|
||||
// due to reports of flashing black rectangles. See bug 1712148.
|
||||
isUnblocked |= gpu.Find("Adreno (TM) 3", /*ignoreCase*/ true) >= 0 &&
|
||||
mSDKVersion < 28;
|
||||
|
||||
// Enable Webrender on all Adreno 4xx and 6xx GPUs
|
||||
isUnblocked |= gpu.Find("Adreno (TM) 4", /*ignoreCase*/ true) >= 0 ||
|
||||
// Enable Webrender on all Adreno 3xx, 4xx and 6xx GPUs
|
||||
isUnblocked |= gpu.Find("Adreno (TM) 3", /*ignoreCase*/ true) >= 0 ||
|
||||
gpu.Find("Adreno (TM) 4", /*ignoreCase*/ true) >= 0 ||
|
||||
gpu.Find("Adreno (TM) 6", /*ignoreCase*/ true) >= 0;
|
||||
|
||||
// Enable Webrender on all Adreno 5xx GPUs...
|
||||
|
||||
Reference in New Issue
Block a user