Bug 1612316 - Turn off webrender for Fenix release. r=jnicol

Differential Revision: https://phabricator.services.mozilla.com/D61339

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Kris Taeleman 2020-01-31 08:27:14 +00:00
Родитель fe46c531b3
Коммит 4958802e6c
1 изменённых файлов: 1 добавлений и 8 удалений

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

@ -560,14 +560,7 @@ nsresult GfxInfo::GetFeatureStatusImpl(
if (aFeature == FEATURE_WEBRENDER) {
bool isUnblocked = false;
#ifndef NIGHTLY_BUILD
// Only allow pixels on non nightly builds
NS_LossyConvertUTF16toASCII model(mModel);
isUnblocked |= model.Find("Pixel 2", /*ignoreCase*/ true) >=
0 || // Find substring to include all Pixel 2 models
model.Find("Pixel 3", /*ignoreCase*/ true) >=
0; // Find substring to include all Pixel 3 models
#else
#ifdef NIGHTLY_BUILD
// On nightly enable all Adreno GPUs
const nsCString& gpu = mGLStrings->Renderer();
isUnblocked |= gpu.Find("Adreno (TM) 5", /*ignoreCase*/ true) >= 0 ||