Bug 1130739 - Disable OES_EGL_image_external on Mali 450. r=eflores, a=ritu
authorJamie Nicol <jnicol@mozilla.com>
Wed, 21 Sep 2016 11:12:52 +0100
changeset 350377 c881ae64b14590beffa2d8894e220cd4d1aab486
parent 350376 9a3ad0217c313c38ae37941a092644bd6edb37ac
child 350378 ac2c88544d05b1b320db08472496de5bb16c8b60
push id1230
push userjlund@mozilla.com
push dateMon, 31 Oct 2016 18:13:35 +0000
treeherdermozilla-release@5e06e3766db2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerseflores, ritu
bugs1130739
milestone50.0
Bug 1130739 - Disable OES_EGL_image_external on Mali 450. r=eflores, a=ritu MozReview-Commit-ID: 2xx4zRYWlNu
gfx/gl/GLContext.cpp
gfx/gl/GLContext.h
--- a/gfx/gl/GLContext.cpp
+++ b/gfx/gl/GLContext.cpp
@@ -815,16 +815,17 @@ GLContext::InitWithPrefixImpl(const char
         "Adreno 205",
         "Adreno (TM) 200",
         "Adreno (TM) 205",
         "Adreno (TM) 305",
         "Adreno (TM) 320",
         "Adreno (TM) 330",
         "Adreno (TM) 420",
         "Mali-400 MP",
+        "Mali-450 MP",
         "PowerVR SGX 530",
         "PowerVR SGX 540",
         "NVIDIA Tegra",
         "Android Emulator",
         "Gallium 0.4 on llvmpipe",
         "Intel HD Graphics 3000 OpenGL Engine",
         "Microsoft Basic Render Driver"
     };
@@ -1795,17 +1796,18 @@ GLContext::InitExtensions()
         if (Vendor() == GLVendor::Imagination &&
             Renderer() == GLRenderer::SGX540)
         {
             // Bug 980048
             MarkExtensionUnsupported(OES_EGL_sync);
         }
 
         if (Vendor() == GLVendor::ARM &&
-            Renderer() == GLRenderer::Mali400MP)
+            (Renderer() == GLRenderer::Mali400MP ||
+             Renderer() == GLRenderer::Mali450MP))
         {
             // Bug 1264505
             MarkExtensionUnsupported(OES_EGL_image_external);
         }
 
         if (Renderer() == GLRenderer::AndroidEmulator) {
             // the Android emulator, which we use to run B2G reftests on,
             // doesn't expose the OES_rgb8_rgba8 extension, but it seems to
--- a/gfx/gl/GLContext.h
+++ b/gfx/gl/GLContext.h
@@ -169,16 +169,17 @@ enum class GLRenderer {
     Adreno205,
     AdrenoTM200,
     AdrenoTM205,
     AdrenoTM305,
     AdrenoTM320,
     AdrenoTM330,
     AdrenoTM420,
     Mali400MP,
+    Mali450MP,
     SGX530,
     SGX540,
     Tegra,
     AndroidEmulator,
     GalliumLlvmpipe,
     IntelHD3000,
     MicrosoftBasicRenderDriver,
     Other