Bug 774841 - Call SetupLookupFunction for EGL - r=jgilbert
authorOleg Romashin <romaxa@gmail.com>
Mon, 23 Jul 2012 13:39:29 -0700
changeset 100219 b8196337a85e112f84c2349b8c96c92a3022e3c2
parent 100218 b5f2b664e57a8bea4519efc8efc22cd22b6008e2
child 100220 379789b07fb6d32ae26c289a6442e48b502d08fc
push id23169
push useremorley@mozilla.com
push dateTue, 24 Jul 2012 09:54:00 +0000
treeherdermozilla-central@a26e751bfb54 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjgilbert
bugs774841
milestone17.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 774841 - Call SetupLookupFunction for EGL - r=jgilbert
gfx/gl/GLContextProviderEGL.cpp
--- a/gfx/gl/GLContextProviderEGL.cpp
+++ b/gfx/gl/GLContextProviderEGL.cpp
@@ -319,16 +319,18 @@ public:
 
         bool current = MakeCurrent();
         if (!current) {
             gfx::LogFailure(NS_LITERAL_CSTRING(
                 "Couldn't get device attachments for device."));
             return false;
         }
 
+        SetupLookupFunction();
+
         bool ok = InitWithPrefix("gl", true);
 
         PR_STATIC_ASSERT(sizeof(GLint) >= sizeof(int32_t));
         mMaxTextureImageSize = PR_INT32_MAX;
 
         mShareWithEGLImage = sEGLLibrary.HasKHRImageBase() &&
                              sEGLLibrary.HasKHRImageTexture2D() &&
                              IsExtensionSupported(OES_EGL_image);