From 345ed3ac8c5a26b8d99c21cf467d05da7e8edfc8 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Wed, 1 Dec 2004 08:02:50 +0000 Subject: Make the transition to script-genereated GLX code easier. Eliminate the need for indirect_wrap.h and NEED_GL_FUNCS_WRAPPED. Basically, this means prepending __indirect_ to all the definitions and calls of GL functions that don't already have it. --- src/glx/x11/indirect.h | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) (limited to 'src/glx/x11/indirect.h') diff --git a/src/glx/x11/indirect.h b/src/glx/x11/indirect.h index 9434ab9979..e0a2dba80c 100644 --- a/src/glx/x11/indirect.h +++ b/src/glx/x11/indirect.h @@ -40,7 +40,6 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # endif # define _INDIRECT_H_ -# include "indirect_wrap.h" # define glxproto_void(name, rop) \ extern void __indirect_gl ## name ( void ); @@ -181,17 +180,17 @@ glxproto_4(Color4ui, X_GLrop_Color4uiv, GLuint) glxproto_4(Color4f, X_GLrop_Color4fv, GLfloat) glxproto_4(Color4d, X_GLrop_Color4dv, GLdouble) -glxproto_1(FogCoordf, X_GLrop_FogCoordfv, GLfloat) -glxproto_1(FogCoordd, X_GLrop_FogCoorddv, GLdouble) +glxvendr_1(FogCoordf, X_GLrop_FogCoordfv, GLfloat, EXT) +glxvendr_1(FogCoordd, X_GLrop_FogCoorddv, GLdouble, EXT) -glxproto_3(SecondaryColor3b, X_GLrop_SecondaryColor3bv, GLbyte) -glxproto_3(SecondaryColor3s, X_GLrop_SecondaryColor3sv, GLshort) -glxproto_3(SecondaryColor3i, X_GLrop_SecondaryColor3iv, GLint) -glxproto_3(SecondaryColor3ub, X_GLrop_SecondaryColor3ubv, GLubyte) -glxproto_3(SecondaryColor3us, X_GLrop_SecondaryColor3usv, GLushort) -glxproto_3(SecondaryColor3ui, X_GLrop_SecondaryColor3uiv, GLuint) -glxproto_3(SecondaryColor3f, X_GLrop_SecondaryColor3fv, GLfloat) -glxproto_3(SecondaryColor3d, X_GLrop_SecondaryColor3dv, GLdouble) +glxvendr_3(SecondaryColor3b, X_GLrop_SecondaryColor3bv, GLbyte, EXT) +glxvendr_3(SecondaryColor3s, X_GLrop_SecondaryColor3sv, GLshort, EXT) +glxvendr_3(SecondaryColor3i, X_GLrop_SecondaryColor3iv, GLint, EXT) +glxvendr_3(SecondaryColor3ub, X_GLrop_SecondaryColor3ubv, GLubyte, EXT) +glxvendr_3(SecondaryColor3us, X_GLrop_SecondaryColor3usv, GLushort, EXT) +glxvendr_3(SecondaryColor3ui, X_GLrop_SecondaryColor3uiv, GLuint, EXT) +glxvendr_3(SecondaryColor3f, X_GLrop_SecondaryColor3fv, GLfloat, EXT) +glxvendr_3(SecondaryColor3d, X_GLrop_SecondaryColor3dv, GLdouble, EXT) glxproto_1(EdgeFlag, X_GLrop_EdgeFlagv, GLboolean) @@ -598,11 +597,11 @@ void __indirect_glCompressedTexSubImage3DARB( GLenum target, GLint level, /* 145. GL_EXT_secondary_color / GL 1.4 */ -void __indirect_glSecondaryColorPointer (GLint, GLenum, GLsizei, const GLvoid *); +void __indirect_glSecondaryColorPointerEXT (GLint, GLenum, GLsizei, const GLvoid *); /* 149. GL_EXT_fog_coord / GL 1.4 */ -void __indirect_glFogCoordPointer (GLenum, GLsizei, const GLvoid *); +void __indirect_glFogCoordPointerEXT (GLenum, GLsizei, const GLvoid *); # undef glxproto_void # undef glxproto_Cv -- cgit v1.2.3