mapi_abi: Remove ABI-check work arounds for functions that are no longer exported
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 26 Mar 2014 20:11:29 +0000 (13:11 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 31 Mar 2014 21:47:25 +0000 (14:47 -0700)
The previous commit stopped exporting 21 libGLESv2 and 88 libGLESv1_CM
functions.  This removes the work-arounds for those functions from
ABI-check.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Acked-by: Chad Versace <chad.versace@linux.intel.com>
src/mapi/es1api/ABI-check
src/mapi/es2api/ABI-check

index 0e31f43324f3e6e302591184eb4454c2c808f799..aecad5a6f5bcc88e1742da36caa3568bfe9c3567 100755 (executable)
@@ -2,9 +2,8 @@
 
 # Print defined gl.* functions not in GL ES 1.1 or in
 # (FIXME, none of these should be part of the ABI)
-# GL_EXT_discard_framebuffer
-# GL_OES_fixed_point
-# GL_OES_single_precision
+# GL_EXT_multi_draw_arrays
+# GL_OES_EGL_image
 
 # or in extensions that are part of the ES 1.1 extension pack.
 # (see http://www.khronos.org/registry/gles/specs/1.1/opengles_spec_1_1_extension_pack.pdf)
@@ -14,36 +13,23 @@ FUNCS=$(nm -D --defined-only ${1-.libs/libGLESv1_CM.so.1} | grep -o 'T gl.*' | c
 glActiveTexture
 glAlphaFunc
 glAlphaFuncx
-glAlphaFuncxOES
 glBindBuffer
-glBindFramebufferOES
-glBindRenderbufferOES
 glBindTexture
-glBlendEquationOES
-glBlendEquationSeparateOES
 glBlendFunc
-glBlendFuncSeparateOES
 glBufferData
 glBufferSubData
-glCheckFramebufferStatusOES
 glClear
 glClearColor
 glClearColorx
-glClearColorxOES
 glClearDepthf
-glClearDepthfOES
 glClearDepthx
-glClearDepthxOES
 glClearStencil
 glClientActiveTexture
 glClipPlanef
-glClipPlanefOES
 glClipPlanex
-glClipPlanexOES
 glColor4f
 glColor4ub
 glColor4x
-glColor4xOES
 glColorMask
 glColorPointer
 glCompressedTexImage2D
@@ -52,165 +38,102 @@ glCopyTexImage2D
 glCopyTexSubImage2D
 glCullFace
 glDeleteBuffers
-glDeleteFramebuffersOES
-glDeleteRenderbuffersOES
 glDeleteTextures
 glDepthFunc
 glDepthMask
 glDepthRangef
-glDepthRangefOES
 glDepthRangex
-glDepthRangexOES
 glDisable
 glDisableClientState
-glDiscardFramebufferEXT
 glDrawArrays
 glDrawElements
-glDrawTexfOES
-glDrawTexfvOES
-glDrawTexiOES
-glDrawTexivOES
-glDrawTexsOES
-glDrawTexsvOES
-glDrawTexxOES
-glDrawTexxvOES
 glEGLImageTargetRenderbufferStorageOES
 glEGLImageTargetTexture2DOES
 glEnable
 glEnableClientState
 glFinish
 glFlush
-glFlushMappedBufferRangeEXT
 glFogf
 glFogfv
 glFogx
-glFogxOES
 glFogxv
-glFogxvOES
-glFramebufferRenderbufferOES
-glFramebufferTexture2DOES
 glFrontFace
 glFrustumf
-glFrustumfOES
 glFrustumx
-glFrustumxOES
 glGenBuffers
-glGenerateMipmapOES
-glGenFramebuffersOES
-glGenRenderbuffersOES
 glGenTextures
 glGetBooleanv
 glGetBufferParameteriv
-glGetBufferPointervOES
 glGetClipPlanef
-glGetClipPlanefOES
 glGetClipPlanex
-glGetClipPlanexOES
 glGetError
 glGetFixedv
-glGetFixedvOES
 glGetFloatv
-glGetFramebufferAttachmentParameterivOES
 glGetIntegerv
 glGetLightfv
 glGetLightxv
-glGetLightxvOES
 glGetMaterialfv
 glGetMaterialxv
-glGetMaterialxvOES
 glGetPointerv
-glGetRenderbufferParameterivOES
 glGetString
 glGetTexEnvfv
 glGetTexEnviv
 glGetTexEnvxv
-glGetTexEnvxvOES
-glGetTexGenfvOES
-glGetTexGenivOES
-glGetTexGenxvOES
 glGetTexParameterfv
 glGetTexParameteriv
 glGetTexParameterxv
-glGetTexParameterxvOES
 glHint
 glIsBuffer
 glIsEnabled
-glIsFramebufferOES
-glIsRenderbufferOES
 glIsTexture
 glLightf
 glLightfv
 glLightModelf
 glLightModelfv
 glLightModelx
-glLightModelxOES
 glLightModelxv
-glLightModelxvOES
 glLightx
-glLightxOES
 glLightxv
-glLightxvOES
 glLineWidth
 glLineWidthx
-glLineWidthxOES
 glLoadIdentity
 glLoadMatrixf
 glLoadMatrixx
-glLoadMatrixxOES
 glLogicOp
-glMapBufferOES
-glMapBufferRangeEXT
 glMaterialf
 glMaterialfv
 glMaterialx
-glMaterialxOES
 glMaterialxv
-glMaterialxvOES
 glMatrixMode
 glMultiDrawArraysEXT
 glMultiDrawElementsEXT
 glMultiTexCoord4f
 glMultiTexCoord4x
-glMultiTexCoord4xOES
 glMultMatrixf
 glMultMatrixx
-glMultMatrixxOES
 glNormal3f
 glNormal3x
-glNormal3xOES
 glNormalPointer
 glOrthof
-glOrthofOES
 glOrthox
-glOrthoxOES
 glPixelStorei
 glPointParameterf
 glPointParameterfv
 glPointParameterx
-glPointParameterxOES
 glPointParameterxv
-glPointParameterxvOES
 glPointSize
-glPointSizePointerOES
 glPointSizex
-glPointSizexOES
 glPolygonOffset
 glPolygonOffsetx
-glPolygonOffsetxOES
 glPopMatrix
 glPushMatrix
-glQueryMatrixxOES
 glReadPixels
-glRenderbufferStorageOES
 glRotatef
 glRotatex
-glRotatexOES
 glSampleCoverage
 glSampleCoveragex
-glSampleCoveragexOES
 glScalef
 glScalex
-glScalexOES
 glScissor
 glShadeModel
 glStencilFunc
@@ -222,29 +145,17 @@ glTexEnvfv
 glTexEnvi
 glTexEnviv
 glTexEnvx
-glTexEnvxOES
 glTexEnvxv
-glTexEnvxvOES
-glTexGenfOES
-glTexGenfvOES
-glTexGeniOES
-glTexGenivOES
-glTexGenxOES
-glTexGenxvOES
 glTexImage2D
 glTexParameterf
 glTexParameterfv
 glTexParameteri
 glTexParameteriv
 glTexParameterx
-glTexParameterxOES
 glTexParameterxv
-glTexParameterxvOES
 glTexSubImage2D
 glTranslatef
 glTranslatex
-glTranslatexOES
-glUnmapBufferOES
 glVertexPointer
 glViewport
 EOF
index 4a61050059b318f0c404538e2b1d1b9e86bde853..abbb55c2232a04b3fda48ecd1f5a83af1666e045 100755 (executable)
@@ -2,16 +2,8 @@
 
 # Print defined gl.* functions not in GL ES 3.0 or in
 # (FIXME, none of these should be part of the ABI)
-# GL_EXT_discard_framebuffer
-# GL_EXT_map_buffer_range
 # GL_EXT_multi_draw_arrays
-# GL_NV_draw_buffers
-# GL_NV_read_buffer
 # GL_OES_EGL_image
-# GL_OES_get_program_binary
-# GL_OES_mapbuffer
-# GL_OES_texture_3D
-# GL_OES_vertex_array_object
 
 FUNCS=$(nm -D --defined-only ${1-.libs/libGLESv2.so.2} | grep -o 'T gl.*' | cut -c 3- | while read func; do
 ( grep -q "^$func$" || echo $func )  <<EOF
@@ -29,7 +21,6 @@ glBindSampler
 glBindTexture
 glBindTransformFeedback
 glBindVertexArray
-glBindVertexArrayOES
 glBlendColor
 glBlendEquation
 glBlendEquationSeparate
@@ -52,15 +43,12 @@ glColorMask
 glCompileShader
 glCompressedTexImage2D
 glCompressedTexImage3D
-glCompressedTexImage3DOES
 glCompressedTexSubImage2D
 glCompressedTexSubImage3D
-glCompressedTexSubImage3DOES
 glCopyBufferSubData
 glCopyTexImage2D
 glCopyTexSubImage2D
 glCopyTexSubImage3D
-glCopyTexSubImage3DOES
 glCreateProgram
 glCreateShader
 glCullFace
@@ -75,18 +63,15 @@ glDeleteSync
 glDeleteTextures
 glDeleteTransformFeedbacks
 glDeleteVertexArrays
-glDeleteVertexArraysOES
 glDepthFunc
 glDepthMask
 glDepthRangef
 glDetachShader
 glDisable
 glDisableVertexAttribArray
-glDiscardFramebufferEXT
 glDrawArrays
 glDrawArraysInstanced
 glDrawBuffers
-glDrawBuffersNV
 glDrawElements
 glDrawElementsInstanced
 glDrawRangeElements
@@ -100,10 +85,8 @@ glFenceSync
 glFinish
 glFlush
 glFlushMappedBufferRange
-glFlushMappedBufferRangeEXT
 glFramebufferRenderbuffer
 glFramebufferTexture2D
-glFramebufferTexture3DOES
 glFramebufferTextureLayer
 glFrontFace
 glGenBuffers
@@ -115,7 +98,6 @@ glGenSamplers
 glGenTextures
 glGenTransformFeedbacks
 glGenVertexArrays
-glGenVertexArraysOES
 glGetActiveAttrib
 glGetActiveUniform
 glGetActiveUniformBlockiv
@@ -127,7 +109,6 @@ glGetBooleanv
 glGetBufferParameteri64v
 glGetBufferParameteriv
 glGetBufferPointerv
-glGetBufferPointervOES
 glGetError
 glGetFloatv
 glGetFragDataLocation
@@ -138,7 +119,6 @@ glGetIntegeri_v
 glGetIntegerv
 glGetInternalformativ
 glGetProgramBinary
-glGetProgramBinaryOES
 glGetProgramInfoLog
 glGetProgramiv
 glGetQueryiv
@@ -182,22 +162,17 @@ glIsSync
 glIsTexture
 glIsTransformFeedback
 glIsVertexArray
-glIsVertexArrayOES
 glLineWidth
 glLinkProgram
-glMapBufferOES
 glMapBufferRange
-glMapBufferRangeEXT
 glMultiDrawArraysEXT
 glMultiDrawElementsEXT
 glPauseTransformFeedback
 glPixelStorei
 glPolygonOffset
 glProgramBinary
-glProgramBinaryOES
 glProgramParameteri
 glReadBuffer
-glReadBufferNV
 glReadPixels
 glReleaseShaderCompiler
 glRenderbufferStorage
@@ -219,7 +194,6 @@ glStencilOp
 glStencilOpSeparate
 glTexImage2D
 glTexImage3D
-glTexImage3DOES
 glTexParameterf
 glTexParameterfv
 glTexParameteri
@@ -228,7 +202,6 @@ glTexStorage2D
 glTexStorage3D
 glTexSubImage2D
 glTexSubImage3D
-glTexSubImage3DOES
 glTransformFeedbackVaryings
 glUniform1f
 glUniform1fv
@@ -265,7 +238,6 @@ glUniformMatrix4fv
 glUniformMatrix4x2fv
 glUniformMatrix4x3fv
 glUnmapBuffer
-glUnmapBufferOES
 glUseProgram
 glValidateProgram
 glVertexAttrib1f