Bug 1314338 - Disable OES_EGL_image extension on ATI drivers. r=jgilbert
authorMason Chang <mchang@mozilla.com>
Tue, 01 Nov 2016 15:35:51 -0700
changeset 320547 ba2826a444d4ed796beb72bf125e0256b15b7761
parent 320546 9bf565c746a01bff51ed3ce3c076267871ec04bf
child 320548 374fb57de7e291c0e5bc4efa99c2d6ed72fa844d
push id83412
push usermchang@mozilla.com
push dateWed, 02 Nov 2016 14:55:09 +0000
treeherdermozilla-inbound@ba2826a444d4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjgilbert
bugs1314338
milestone52.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1314338 - Disable OES_EGL_image extension on ATI drivers. r=jgilbert
gfx/gl/GLContext.cpp
--- a/gfx/gl/GLContext.cpp
+++ b/gfx/gl/GLContext.cpp
@@ -1790,16 +1790,23 @@ GLContext::InitExtensions()
                           &mAvailableExtensions);
 
     if (WorkAroundDriverBugs()) {
         if (Vendor() == GLVendor::Qualcomm) {
             // Some Adreno drivers do not report GL_OES_EGL_sync, but they really do support it.
             MarkExtensionSupported(OES_EGL_sync);
         }
 
+        if (Vendor() == GLVendor::ATI) {
+            // ATI drivers say this extension exists, but we can't
+            // actually find the EGLImageTargetRenderbufferStorageOES
+            // extension function pointer in the drivers.
+            MarkExtensionUnsupported(OES_EGL_image);
+        }
+
         if (Vendor() == GLVendor::Imagination &&
             Renderer() == GLRenderer::SGX540)
         {
             // Bug 980048
             MarkExtensionUnsupported(OES_EGL_sync);
         }
 
 #ifdef MOZ_WIDGET_ANDROID