From: Mika Isojärvi Date: Fri, 9 Jan 2015 00:11:32 +0000 (-0800) Subject: Add GL_EXT_copy_image support to GL wrappers. X-Git-Tag: upstream/0.1.0~2012^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=13e452ccc02b4b65f159a0c40d4b62ac2ac787cd;p=platform%2Fupstream%2FVK-GL-CTS.git Add GL_EXT_copy_image support to GL wrappers. Add GL_EXT_copy_image to list of extensions that should be supported by OpenGL wrapper. Change-Id: I554b1305f998be95ebafbbc58926344d07c0c243 --- diff --git a/framework/opengl/wrapper/glwInitExtES.inl b/framework/opengl/wrapper/glwInitExtES.inl index b83d12c..14b7cad 100644 --- a/framework/opengl/wrapper/glwInitExtES.inl +++ b/framework/opengl/wrapper/glwInitExtES.inl @@ -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"); +} diff --git a/scripts/opengl/src_util.py b/scripts/opengl/src_util.py index d32f4f3..8cccefc 100644 --- a/scripts/opengl/src_util.py +++ b/scripts/opengl/src_util.py @@ -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 ():