Add GL_EXT_copy_image support to GL wrappers.
authorMika Isojärvi <misojarvi@google.com>
Fri, 9 Jan 2015 00:11:32 +0000 (16:11 -0800)
committerMika Isojärvi <misojarvi@google.com>
Fri, 9 Jan 2015 00:11:32 +0000 (16:11 -0800)
Add GL_EXT_copy_image to list of extensions that should be supported by
OpenGL wrapper.

Change-Id: I554b1305f998be95ebafbbc58926344d07c0c243

framework/opengl/wrapper/glwInitExtES.inl
scripts/opengl/src_util.py

index b83d12c..14b7cad 100644 (file)
@@ -60,3 +60,8 @@ if (de::contains(extSet, "GL_OES_sample_shading"))
 {
        gl->minSampleShading    = (glMinSampleShadingFunc)      loader->get("glMinSampleShadingOES");
 }
+
+if (de::contains(extSet, "GL_EXT_copy_image"))
+{
+       gl->copyImageSubData    = (glCopyImageSubDataFunc)      loader->get("glCopyImageSubDataEXT");
+}
index d32f4f3..8cccefc 100644 (file)
@@ -38,6 +38,7 @@ EXTENSIONS                    = [
        'GL_OES_sample_shading',
        'GL_EXT_texture_compression_s3tc',
        'GL_IMG_texture_compression_pvrtc',
+       'GL_EXT_copy_image',
 ]
 
 def getGLRegistry ():