Bug 1707283 - Re-enable webrender on Mali T devices running android 5.1 or below. r=nical

An earlier patch in this bug disabled webrender on these devices due
to reports of broken rendering. Now that the cause of the broken
rendering has been worked around, we can re-enable webrender.

Depends on D113313

Differential Revision: https://phabricator.services.mozilla.com/D113319
This commit is contained in:
Jamie Nicol 2021-04-26 12:21:09 +00:00
Родитель 519010985e
Коммит dba7f2b57e
1 изменённых файлов: 2 добавлений и 5 удалений

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

@ -605,11 +605,8 @@ nsresult GfxInfo::GetFeatureStatusImpl(
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 &&
// Excluing Android versions 5.1 or lower due to bug 1707283.
mSDKVersion > 22;
// 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 &&