Bug 1693082 - Enable webrender for Mali-Txxx devices on release. r=aosmond

Note that quite a few Mali-Txxx devices still won't get webrender, due
to lack of GL_OES_EGL_image_external_essl3 support. Bug 1507074 tracks
lifting this requirement.

Depends on D105338

Differential Revision: https://phabricator.services.mozilla.com/D105339
This commit is contained in:
Jamie Nicol 2021-02-16 16:46:36 +00:00
parent 55937b85b5
commit 62ee003e4e

View File

@ -602,14 +602,14 @@ nsresult GfxInfo::GetFeatureStatusImpl(
#ifdef NIGHTLY_BUILD
// On Nightly enable Webrender on all Adreno 4xx GPUs
isUnblocked |= gpu.Find("Adreno (TM) 4", /*ignoreCase*/ true) >= 0;
// On Nightly enable Webrender on all Mali-Txxx GPUs
isUnblocked |= gpu.Find("Mali-T", /*ignoreCase*/ true) >= 0;
#endif
// Enable Webrender on all Adreno 5xx and 6xx GPUs
isUnblocked |= gpu.Find("Adreno (TM) 5", /*ignoreCase*/ true) >= 0 ||
gpu.Find("Adreno (TM) 6", /*ignoreCase*/ true) >= 0;
// Enable Webrender on all Mali-Txxx GPUs
isUnblocked |= gpu.Find("Mali-T", /*ignoreCase*/ true) >= 0;
// Enable Webrender on all Mali-Gxx GPUs...
isUnblocked |= gpu.Find("Mali-G", /*ignoreCase*/ true) >= 0 &&
// Excluding G72 and G76 on Android 11, due to