[tor-commits] [tor-browser] 71/311: Bug 1719327 - Block webrender on Vivante GC7000UL devices. r=jrmuizel, a=RyanVM

gitolite role git at cupani.torproject.org
Tue Apr 26 15:27:51 UTC 2022


This is an automated email from the git hooks/post-receive script.

pierov pushed a commit to branch geckoview-99.0.1-11.0-1
in repository tor-browser.

commit 04470cf05787800c957544b9d21d3bd24ceaf793
Author: Jamie Nicol <jnicol at mozilla.com>
AuthorDate: Wed Feb 2 17:21:08 2022 +0000

    Bug 1719327 - Block webrender on Vivante GC7000UL devices. r=jrmuizel, a=RyanVM
    
    Webrender crashes during draw calls on this GPU. Move users to
    software webrender instead.
    
    Differential Revision: https://phabricator.services.mozilla.com/D137666
---
 widget/android/GfxInfo.cpp | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/widget/android/GfxInfo.cpp b/widget/android/GfxInfo.cpp
index 40aa28a459a9f..6895236aaec8c 100644
--- a/widget/android/GfxInfo.cpp
+++ b/widget/android/GfxInfo.cpp
@@ -599,6 +599,11 @@ nsresult GfxInfo::GetFeatureStatusImpl(
       const bool isPowerVrG6110 =
           mGLStrings->Renderer().Find("PowerVR Rogue G6110",
                                       /* ignoreCase */ true) >= 0;
+
+      const bool isVivanteGC7000UL =
+          mGLStrings->Renderer().Find("Vivante GC7000UL",
+                                      /* ignoreCase */ true) >= 0;
+
       if (isMali4xx) {
         // Mali 4xx does not support GLES 3.
         *aStatus = nsIGfxInfo::FEATURE_BLOCKED_DEVICE;
@@ -607,6 +612,10 @@ nsresult GfxInfo::GetFeatureStatusImpl(
         // Blocked on PowerVR Rogue G6110 due to bug 1742986 and bug 1717863.
         *aStatus = nsIGfxInfo::FEATURE_BLOCKED_DEVICE;
         aFailureId = "FEATURE_FAILURE_POWERVR_G6110";
+      } else if (isVivanteGC7000UL) {
+        // Blocked on Vivante GC7000UL due to bug 1719327.
+        *aStatus = nsIGfxInfo::FEATURE_BLOCKED_DEVICE;
+        aFailureId = "FEATURE_FAILURE_VIVANTE_GC7000UL";
       } else {
         *aStatus = nsIGfxInfo::FEATURE_ALLOW_QUALIFIED;
       }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tor-commits mailing list