From 530d4611ebe639fab15a2de9ff03c68b108e06fd Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 6 Sep 2002 02:46:08 +0000 Subject: [PATCH] added OpenGL 1.4 entrypoints --- src/mesa/glapi/APIspec | 265 +++++++++++- src/mesa/glapi/glapitemp.h | 222 ++++++++++ src/mesa/main/glprocs.h | 37 ++ src/mesa/sparc/glapi_sparc.S | 777 +++++++++++++++++++++++++++++++++++ src/mesa/x86/glapi_x86.S | 222 ++++++++++ 5 files changed, 1521 insertions(+), 2 deletions(-) diff --git a/src/mesa/glapi/APIspec b/src/mesa/glapi/APIspec index 3de04a6b75c..858520621cc 100644 --- a/src/mesa/glapi/APIspec +++ b/src/mesa/glapi/APIspec @@ -1,4 +1,4 @@ -# $Id: APIspec,v 1.8 2002/06/30 15:47:43 brianp Exp $ +# $Id: APIspec,v 1.9 2002/09/06 02:46:44 brianp Exp $ # This file describes all the OpenGL functions. # We use a number of Python scripts to parse this file and @@ -7362,7 +7362,268 @@ category GL_NV_point_sprite offset 643 +# OpenGL 1.4 + +name PointParameterf +return void +param pname GLenum +param param GLfloat +category 1.4 +alias PointParameterfEXT + +name PointParameterfv +return void +param pname GLenum +param params const GLfloat * +category 1.4 +alias PointParameterfvEXT + +name PointParameteri +return void +param pname GLenum +param param GLint +category 1.4 +alias PointParameteriNV + +name PointParameteriv +return void +param pname GLenum +param params const GLint * +category 1.4 +alias PointParameterivNV + +name SecondaryColor3b +return void +param red GLbyte +param green GLbyte +param blue GLbyte +category 1.4 +alias SecondaryColor3bEXT + +name SecondaryColor3bv +return void +param v const GLbyte * +category 1.4 +alias SecondaryColor3bvEXT + +name SecondaryColor3d +return void +param red GLdouble +param green GLdouble +param blue GLdouble +category 1.4 +alias SecondaryColor3dEXT + +name SecondaryColor3dv +return void +param v const GLdouble * +category 1.4 +alias SecondaryColor3dvEXT + +name SecondaryColor3f +return void +param red GLfloat +param green GLfloat +param blue GLfloat +category 1.4 +alias SecondaryColor3fEXT + +name SecondaryColor3fv +return void +param v const GLfloat * +category 1.4 +alias SecondaryColor3fvEXT + +name SecondaryColor3i +return void +param red GLint +param green GLint +param blue GLint +category 1.4 +alias SecondaryColor3iEXT + +name SecondaryColor3iv +return void +param v const GLint * +category 1.4 +alias SecondaryColor3ivEXT + +name SecondaryColor3s +return void +param red GLshort +param green GLshort +param blue GLshort +category 1.4 +alias SecondaryColor3sEXT + +name SecondaryColor3sv +return void +param v const GLshort * +category 1.4 +alias SecondaryColor3svEXT + +name SecondaryColor3ub +return void +param red GLubyte +param green GLubyte +param blue GLubyte +category 1.4 +alias SecondaryColor3ubEXT + +name SecondaryColor3ubv +return void +param v const GLubyte * +category 1.4 +alias SecondaryColor3ubvEXT + +name SecondaryColor3ui +return void +param red GLuint +param green GLuint +param blue GLuint +category 1.4 +alias SecondaryColor3uiEXT + +name SecondaryColor3uiv +return void +param v const GLuint * +category 1.4 +alias SecondaryColor3uivEXT + +name SecondaryColor3us +return void +param red GLushort +param green GLushort +param blue GLushort +category 1.4 +alias SecondaryColor3usEXT + +name SecondaryColor3usv +return void +param v const GLushort * +category 1.4 +alias SecondaryColor3usvEXT + +name SecondaryColorPointer +return void +param size GLint +param type GLenum +param stride GLsizei +param pointer const void * +category 1.4 +alias SecondaryColorPointerEXT + +name WindowPos2d +return void +param x GLdouble +param y GLdouble +category 1.4 +alias WindowPos2dMESA + +name WindowPos2dv +return void +param v const GLdouble * +category 1.4 +alias WindowPos2dvMESA + +name WindowPos2f +return void +param x GLfloat +param y GLfloat +category 1.4 +alias WindowPos2fMESA + +name WindowPos2fv +return void +param v const GLfloat * +category 1.4 +alias WindowPos2fvMESA + +name WindowPos2i +return void +param x GLint +param y GLint +category 1.4 +alias WindowPos2iMESA + +name WindowPos2iv +return void +param v const GLint * +category 1.4 +alias WindowPos2ivMESA + +name WindowPos2s +return void +param x GLshort +param y GLshort +category 1.4 +alias WindowPos2sMESA + +name WindowPos2sv +return void +param v const GLshort * +category 1.4 +alias WindowPos2svMESA + +name WindowPos3d +return void +param x GLdouble +param y GLdouble +param z GLdouble +category 1.4 +alias WindowPos3dMESA + +name WindowPos3dv +return void +param v const GLdouble * +category 1.4 +alias WindowPos3dvMESA + +name WindowPos3f +return void +param x GLfloat +param y GLfloat +param z GLfloat +category 1.4 +alias WindowPos3fMESA + +name WindowPos3fv +return void +param v const GLfloat * +category 1.4 +alias WindowPos3fvMESA + +name WindowPos3i +return void +param x GLint +param y GLint +param z GLint +category 1.4 +alias WindowPos3iMESA + +name WindowPos3iv +return void +param v const GLint * +category 1.4 +alias WindowPos3ivMESA + +name WindowPos3s +return void +param x GLshort +param y GLshort +param z GLshort +category 1.4 +alias WindowPos3sMESA + +name WindowPos3sv +return void +param v const GLshort * +category 1.4 +alias WindowPos3svMESA + + + # end of file sentinal name dummy -offset ? +alias dummyEXT diff --git a/src/mesa/glapi/glapitemp.h b/src/mesa/glapi/glapitemp.h index 0fcb59d6ac1..a67c4fa8a6a 100644 --- a/src/mesa/glapi/glapitemp.h +++ b/src/mesa/glapi/glapitemp.h @@ -3962,6 +3962,191 @@ KEYWORD1 void KEYWORD2 NAME(PointParameterivNV)(GLenum pname, const GLint * para DISPATCH(PointParameterivNV, (pname, params), (F, "glPointParameterivNV(0x%x, %p);\n", pname, (void *) params)); } +KEYWORD1 void KEYWORD2 NAME(PointParameterf)(GLenum pname, GLfloat param) +{ + DISPATCH(PointParameterfEXT, (pname, param), (F, "glPointParameterf(0x%x, %f);\n", pname, param)); +} + +KEYWORD1 void KEYWORD2 NAME(PointParameterfv)(GLenum pname, const GLfloat * params) +{ + DISPATCH(PointParameterfvEXT, (pname, params), (F, "glPointParameterfv(0x%x, %p);\n", pname, (void *) params)); +} + +KEYWORD1 void KEYWORD2 NAME(PointParameteri)(GLenum pname, GLint param) +{ + DISPATCH(PointParameteriNV, (pname, param), (F, "glPointParameteri(0x%x, %d);\n", pname, param)); +} + +KEYWORD1 void KEYWORD2 NAME(PointParameteriv)(GLenum pname, const GLint * params) +{ + DISPATCH(PointParameterivNV, (pname, params), (F, "glPointParameteriv(0x%x, %p);\n", pname, (void *) params)); +} + +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3b)(GLbyte red, GLbyte green, GLbyte blue) +{ + DISPATCH(SecondaryColor3bEXT, (red, green, blue), (F, "glSecondaryColor3b(%d, %d, %d);\n", red, green, blue)); +} + +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3bv)(const GLbyte * v) +{ + DISPATCH(SecondaryColor3bvEXT, (v), (F, "glSecondaryColor3bv(%p);\n", (void *) v)); +} + +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3d)(GLdouble red, GLdouble green, GLdouble blue) +{ + DISPATCH(SecondaryColor3dEXT, (red, green, blue), (F, "glSecondaryColor3d(%f, %f, %f);\n", red, green, blue)); +} + +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3dv)(const GLdouble * v) +{ + DISPATCH(SecondaryColor3dvEXT, (v), (F, "glSecondaryColor3dv(%p /* %g, %g, %g */);\n", (void *) v, v[0], v[1], v[2])); +} + +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3f)(GLfloat red, GLfloat green, GLfloat blue) +{ + DISPATCH(SecondaryColor3fEXT, (red, green, blue), (F, "glSecondaryColor3f(%f, %f, %f);\n", red, green, blue)); +} + +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3fv)(const GLfloat * v) +{ + DISPATCH(SecondaryColor3fvEXT, (v), (F, "glSecondaryColor3fv(%p /* %g, %g, %g */);\n", (void *) v, v[0], v[1], v[2])); +} + +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3i)(GLint red, GLint green, GLint blue) +{ + DISPATCH(SecondaryColor3iEXT, (red, green, blue), (F, "glSecondaryColor3i(%d, %d, %d);\n", red, green, blue)); +} + +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3iv)(const GLint * v) +{ + DISPATCH(SecondaryColor3ivEXT, (v), (F, "glSecondaryColor3iv(%p);\n", (void *) v)); +} + +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3s)(GLshort red, GLshort green, GLshort blue) +{ + DISPATCH(SecondaryColor3sEXT, (red, green, blue), (F, "glSecondaryColor3s(%d, %d, %d);\n", red, green, blue)); +} + +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3sv)(const GLshort * v) +{ + DISPATCH(SecondaryColor3svEXT, (v), (F, "glSecondaryColor3sv(%p);\n", (void *) v)); +} + +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3ub)(GLubyte red, GLubyte green, GLubyte blue) +{ + DISPATCH(SecondaryColor3ubEXT, (red, green, blue), (F, "glSecondaryColor3ub(%d, %d, %d);\n", red, green, blue)); +} + +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3ubv)(const GLubyte * v) +{ + DISPATCH(SecondaryColor3ubvEXT, (v), (F, "glSecondaryColor3ubv(%p);\n", (void *) v)); +} + +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3ui)(GLuint red, GLuint green, GLuint blue) +{ + DISPATCH(SecondaryColor3uiEXT, (red, green, blue), (F, "glSecondaryColor3ui(%d, %d, %d);\n", red, green, blue)); +} + +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3uiv)(const GLuint * v) +{ + DISPATCH(SecondaryColor3uivEXT, (v), (F, "glSecondaryColor3uiv(%p);\n", (void *) v)); +} + +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3us)(GLushort red, GLushort green, GLushort blue) +{ + DISPATCH(SecondaryColor3usEXT, (red, green, blue), (F, "glSecondaryColor3us(%d, %d, %d);\n", red, green, blue)); +} + +KEYWORD1 void KEYWORD2 NAME(SecondaryColor3usv)(const GLushort * v) +{ + DISPATCH(SecondaryColor3usvEXT, (v), (F, "glSecondaryColor3usv(%p);\n", (void *) v)); +} + +KEYWORD1 void KEYWORD2 NAME(SecondaryColorPointer)(GLint size, GLenum type, GLsizei stride, const void * pointer) +{ + DISPATCH(SecondaryColorPointerEXT, (size, type, stride, pointer), (F, "glSecondaryColorPointer(%d, 0x%x, %d, %p);\n", size, type, stride, (void *) pointer)); +} + +KEYWORD1 void KEYWORD2 NAME(WindowPos2d)(GLdouble x, GLdouble y) +{ + DISPATCH(WindowPos2dMESA, (x, y), (F, "glWindowPos2d(%f, %f);\n", x, y)); +} + +KEYWORD1 void KEYWORD2 NAME(WindowPos2dv)(const GLdouble * v) +{ + DISPATCH(WindowPos2dvMESA, (v), (F, "glWindowPos2dv(%p /* %g, %g */);\n", (void *) v, v[0], v[1])); +} + +KEYWORD1 void KEYWORD2 NAME(WindowPos2f)(GLfloat x, GLfloat y) +{ + DISPATCH(WindowPos2fMESA, (x, y), (F, "glWindowPos2f(%f, %f);\n", x, y)); +} + +KEYWORD1 void KEYWORD2 NAME(WindowPos2fv)(const GLfloat * v) +{ + DISPATCH(WindowPos2fvMESA, (v), (F, "glWindowPos2fv(%p /* %g, %g */);\n", (void *) v, v[0], v[1])); +} + +KEYWORD1 void KEYWORD2 NAME(WindowPos2i)(GLint x, GLint y) +{ + DISPATCH(WindowPos2iMESA, (x, y), (F, "glWindowPos2i(%d, %d);\n", x, y)); +} + +KEYWORD1 void KEYWORD2 NAME(WindowPos2iv)(const GLint * v) +{ + DISPATCH(WindowPos2ivMESA, (v), (F, "glWindowPos2iv(%p);\n", (void *) v)); +} + +KEYWORD1 void KEYWORD2 NAME(WindowPos2s)(GLshort x, GLshort y) +{ + DISPATCH(WindowPos2sMESA, (x, y), (F, "glWindowPos2s(%d, %d);\n", x, y)); +} + +KEYWORD1 void KEYWORD2 NAME(WindowPos2sv)(const GLshort * v) +{ + DISPATCH(WindowPos2svMESA, (v), (F, "glWindowPos2sv(%p);\n", (void *) v)); +} + +KEYWORD1 void KEYWORD2 NAME(WindowPos3d)(GLdouble x, GLdouble y, GLdouble z) +{ + DISPATCH(WindowPos3dMESA, (x, y, z), (F, "glWindowPos3d(%f, %f, %f);\n", x, y, z)); +} + +KEYWORD1 void KEYWORD2 NAME(WindowPos3dv)(const GLdouble * v) +{ + DISPATCH(WindowPos3dvMESA, (v), (F, "glWindowPos3dv(%p /* %g, %g, %g */);\n", (void *) v, v[0], v[1], v[2])); +} + +KEYWORD1 void KEYWORD2 NAME(WindowPos3f)(GLfloat x, GLfloat y, GLfloat z) +{ + DISPATCH(WindowPos3fMESA, (x, y, z), (F, "glWindowPos3f(%f, %f, %f);\n", x, y, z)); +} + +KEYWORD1 void KEYWORD2 NAME(WindowPos3fv)(const GLfloat * v) +{ + DISPATCH(WindowPos3fvMESA, (v), (F, "glWindowPos3fv(%p /* %g, %g, %g */);\n", (void *) v, v[0], v[1], v[2])); +} + +KEYWORD1 void KEYWORD2 NAME(WindowPos3i)(GLint x, GLint y, GLint z) +{ + DISPATCH(WindowPos3iMESA, (x, y, z), (F, "glWindowPos3i(%d, %d, %d);\n", x, y, z)); +} + +KEYWORD1 void KEYWORD2 NAME(WindowPos3iv)(const GLint * v) +{ + DISPATCH(WindowPos3ivMESA, (v), (F, "glWindowPos3iv(%p);\n", (void *) v)); +} + +KEYWORD1 void KEYWORD2 NAME(WindowPos3s)(GLshort x, GLshort y, GLshort z) +{ + DISPATCH(WindowPos3sMESA, (x, y, z), (F, "glWindowPos3s(%d, %d, %d);\n", x, y, z)); +} + +KEYWORD1 void KEYWORD2 NAME(WindowPos3sv)(const GLshort * v) +{ + DISPATCH(WindowPos3svMESA, (v), (F, "glWindowPos3sv(%p);\n", (void *) v)); +} + /* @@ -4840,6 +5025,43 @@ void *UNUSED_TABLE_NAME[] = { TABLE_ENTRY(WindowPos3fvARB), TABLE_ENTRY(WindowPos3ivARB), TABLE_ENTRY(WindowPos3svARB), + TABLE_ENTRY(PointParameterf), + TABLE_ENTRY(PointParameterfv), + TABLE_ENTRY(PointParameteri), + TABLE_ENTRY(PointParameteriv), + TABLE_ENTRY(SecondaryColor3b), + TABLE_ENTRY(SecondaryColor3bv), + TABLE_ENTRY(SecondaryColor3d), + TABLE_ENTRY(SecondaryColor3dv), + TABLE_ENTRY(SecondaryColor3f), + TABLE_ENTRY(SecondaryColor3fv), + TABLE_ENTRY(SecondaryColor3i), + TABLE_ENTRY(SecondaryColor3iv), + TABLE_ENTRY(SecondaryColor3s), + TABLE_ENTRY(SecondaryColor3sv), + TABLE_ENTRY(SecondaryColor3ub), + TABLE_ENTRY(SecondaryColor3ubv), + TABLE_ENTRY(SecondaryColor3ui), + TABLE_ENTRY(SecondaryColor3uiv), + TABLE_ENTRY(SecondaryColor3us), + TABLE_ENTRY(SecondaryColor3usv), + TABLE_ENTRY(SecondaryColorPointer), + TABLE_ENTRY(WindowPos2d), + TABLE_ENTRY(WindowPos2dv), + TABLE_ENTRY(WindowPos2f), + TABLE_ENTRY(WindowPos2fv), + TABLE_ENTRY(WindowPos2i), + TABLE_ENTRY(WindowPos2iv), + TABLE_ENTRY(WindowPos2s), + TABLE_ENTRY(WindowPos2sv), + TABLE_ENTRY(WindowPos3d), + TABLE_ENTRY(WindowPos3dv), + TABLE_ENTRY(WindowPos3f), + TABLE_ENTRY(WindowPos3fv), + TABLE_ENTRY(WindowPos3i), + TABLE_ENTRY(WindowPos3iv), + TABLE_ENTRY(WindowPos3s), + TABLE_ENTRY(WindowPos3sv), }; #endif /*UNUSED_TABLE_NAME*/ diff --git a/src/mesa/main/glprocs.h b/src/mesa/main/glprocs.h index b98c25dc313..a481ea86a2f 100644 --- a/src/mesa/main/glprocs.h +++ b/src/mesa/main/glprocs.h @@ -756,5 +756,42 @@ static struct name_address_offset static_functions[] = { { "glVertexAttribs4ubvNV", (GLvoid *) glVertexAttribs4ubvNV, _gloffset_VertexAttribs4ubvNV }, { "glPointParameteriNV", (GLvoid *) glPointParameteriNV, _gloffset_PointParameteriNV }, { "glPointParameterivNV", (GLvoid *) glPointParameterivNV, _gloffset_PointParameterivNV }, + { "glPointParameterf", (GLvoid *) glPointParameterf, _gloffset_PointParameterfEXT }, + { "glPointParameterfv", (GLvoid *) glPointParameterfv, _gloffset_PointParameterfvEXT }, + { "glPointParameteri", (GLvoid *) glPointParameteri, _gloffset_PointParameteriNV }, + { "glPointParameteriv", (GLvoid *) glPointParameteriv, _gloffset_PointParameterivNV }, + { "glSecondaryColor3b", (GLvoid *) glSecondaryColor3b, _gloffset_SecondaryColor3bEXT }, + { "glSecondaryColor3bv", (GLvoid *) glSecondaryColor3bv, _gloffset_SecondaryColor3bvEXT }, + { "glSecondaryColor3d", (GLvoid *) glSecondaryColor3d, _gloffset_SecondaryColor3dEXT }, + { "glSecondaryColor3dv", (GLvoid *) glSecondaryColor3dv, _gloffset_SecondaryColor3dvEXT }, + { "glSecondaryColor3f", (GLvoid *) glSecondaryColor3f, _gloffset_SecondaryColor3fEXT }, + { "glSecondaryColor3fv", (GLvoid *) glSecondaryColor3fv, _gloffset_SecondaryColor3fvEXT }, + { "glSecondaryColor3i", (GLvoid *) glSecondaryColor3i, _gloffset_SecondaryColor3iEXT }, + { "glSecondaryColor3iv", (GLvoid *) glSecondaryColor3iv, _gloffset_SecondaryColor3ivEXT }, + { "glSecondaryColor3s", (GLvoid *) glSecondaryColor3s, _gloffset_SecondaryColor3sEXT }, + { "glSecondaryColor3sv", (GLvoid *) glSecondaryColor3sv, _gloffset_SecondaryColor3svEXT }, + { "glSecondaryColor3ub", (GLvoid *) glSecondaryColor3ub, _gloffset_SecondaryColor3ubEXT }, + { "glSecondaryColor3ubv", (GLvoid *) glSecondaryColor3ubv, _gloffset_SecondaryColor3ubvEXT }, + { "glSecondaryColor3ui", (GLvoid *) glSecondaryColor3ui, _gloffset_SecondaryColor3uiEXT }, + { "glSecondaryColor3uiv", (GLvoid *) glSecondaryColor3uiv, _gloffset_SecondaryColor3uivEXT }, + { "glSecondaryColor3us", (GLvoid *) glSecondaryColor3us, _gloffset_SecondaryColor3usEXT }, + { "glSecondaryColor3usv", (GLvoid *) glSecondaryColor3usv, _gloffset_SecondaryColor3usvEXT }, + { "glSecondaryColorPointer", (GLvoid *) glSecondaryColorPointer, _gloffset_SecondaryColorPointerEXT }, + { "glWindowPos2d", (GLvoid *) glWindowPos2d, _gloffset_WindowPos2dMESA }, + { "glWindowPos2dv", (GLvoid *) glWindowPos2dv, _gloffset_WindowPos2dvMESA }, + { "glWindowPos2f", (GLvoid *) glWindowPos2f, _gloffset_WindowPos2fMESA }, + { "glWindowPos2fv", (GLvoid *) glWindowPos2fv, _gloffset_WindowPos2fvMESA }, + { "glWindowPos2i", (GLvoid *) glWindowPos2i, _gloffset_WindowPos2iMESA }, + { "glWindowPos2iv", (GLvoid *) glWindowPos2iv, _gloffset_WindowPos2ivMESA }, + { "glWindowPos2s", (GLvoid *) glWindowPos2s, _gloffset_WindowPos2sMESA }, + { "glWindowPos2sv", (GLvoid *) glWindowPos2sv, _gloffset_WindowPos2svMESA }, + { "glWindowPos3d", (GLvoid *) glWindowPos3d, _gloffset_WindowPos3dMESA }, + { "glWindowPos3dv", (GLvoid *) glWindowPos3dv, _gloffset_WindowPos3dvMESA }, + { "glWindowPos3f", (GLvoid *) glWindowPos3f, _gloffset_WindowPos3fMESA }, + { "glWindowPos3fv", (GLvoid *) glWindowPos3fv, _gloffset_WindowPos3fvMESA }, + { "glWindowPos3i", (GLvoid *) glWindowPos3i, _gloffset_WindowPos3iMESA }, + { "glWindowPos3iv", (GLvoid *) glWindowPos3iv, _gloffset_WindowPos3ivMESA }, + { "glWindowPos3s", (GLvoid *) glWindowPos3s, _gloffset_WindowPos3sMESA }, + { "glWindowPos3sv", (GLvoid *) glWindowPos3sv, _gloffset_WindowPos3svMESA }, { NULL, NULL } /* end of list marker */ }; diff --git a/src/mesa/sparc/glapi_sparc.S b/src/mesa/sparc/glapi_sparc.S index a70b6300ffb..97d458d6d6e 100644 --- a/src/mesa/sparc/glapi_sparc.S +++ b/src/mesa/sparc/glapi_sparc.S @@ -15809,6 +15809,783 @@ glPointParameterivNV: sethi %hi(0x00000000), %g1 ld [%g1 + %lo(0x00000000)], %g1 ld [%g1 + (4 * _gloffset_PointParameterivNV)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glPointParameterf +.type glPointParameterf,#function +glPointParameterf: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_PointParameterfEXT), %g2 + or %g2, %lo(8 * _gloffset_PointParameterfEXT), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_PointParameterfEXT)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glPointParameterfv +.type glPointParameterfv,#function +glPointParameterfv: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_PointParameterfvEXT), %g2 + or %g2, %lo(8 * _gloffset_PointParameterfvEXT), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_PointParameterfvEXT)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glPointParameteri +.type glPointParameteri,#function +glPointParameteri: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_PointParameteriNV), %g2 + or %g2, %lo(8 * _gloffset_PointParameteriNV), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_PointParameteriNV)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glPointParameteriv +.type glPointParameteriv,#function +glPointParameteriv: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_PointParameterivNV), %g2 + or %g2, %lo(8 * _gloffset_PointParameterivNV), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_PointParameterivNV)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glSecondaryColor3b +.type glSecondaryColor3b,#function +glSecondaryColor3b: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_SecondaryColor3bEXT), %g2 + or %g2, %lo(8 * _gloffset_SecondaryColor3bEXT), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_SecondaryColor3bEXT)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glSecondaryColor3bv +.type glSecondaryColor3bv,#function +glSecondaryColor3bv: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_SecondaryColor3bvEXT), %g2 + or %g2, %lo(8 * _gloffset_SecondaryColor3bvEXT), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_SecondaryColor3bvEXT)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glSecondaryColor3d +.type glSecondaryColor3d,#function +glSecondaryColor3d: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_SecondaryColor3dEXT), %g2 + or %g2, %lo(8 * _gloffset_SecondaryColor3dEXT), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_SecondaryColor3dEXT)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glSecondaryColor3dv +.type glSecondaryColor3dv,#function +glSecondaryColor3dv: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_SecondaryColor3dvEXT), %g2 + or %g2, %lo(8 * _gloffset_SecondaryColor3dvEXT), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_SecondaryColor3dvEXT)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glSecondaryColor3f +.type glSecondaryColor3f,#function +glSecondaryColor3f: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_SecondaryColor3fEXT), %g2 + or %g2, %lo(8 * _gloffset_SecondaryColor3fEXT), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_SecondaryColor3fEXT)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glSecondaryColor3fv +.type glSecondaryColor3fv,#function +glSecondaryColor3fv: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_SecondaryColor3fvEXT), %g2 + or %g2, %lo(8 * _gloffset_SecondaryColor3fvEXT), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_SecondaryColor3fvEXT)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glSecondaryColor3i +.type glSecondaryColor3i,#function +glSecondaryColor3i: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_SecondaryColor3iEXT), %g2 + or %g2, %lo(8 * _gloffset_SecondaryColor3iEXT), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_SecondaryColor3iEXT)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glSecondaryColor3iv +.type glSecondaryColor3iv,#function +glSecondaryColor3iv: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_SecondaryColor3ivEXT), %g2 + or %g2, %lo(8 * _gloffset_SecondaryColor3ivEXT), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_SecondaryColor3ivEXT)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glSecondaryColor3s +.type glSecondaryColor3s,#function +glSecondaryColor3s: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_SecondaryColor3sEXT), %g2 + or %g2, %lo(8 * _gloffset_SecondaryColor3sEXT), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_SecondaryColor3sEXT)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glSecondaryColor3sv +.type glSecondaryColor3sv,#function +glSecondaryColor3sv: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_SecondaryColor3svEXT), %g2 + or %g2, %lo(8 * _gloffset_SecondaryColor3svEXT), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_SecondaryColor3svEXT)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glSecondaryColor3ub +.type glSecondaryColor3ub,#function +glSecondaryColor3ub: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_SecondaryColor3ubEXT), %g2 + or %g2, %lo(8 * _gloffset_SecondaryColor3ubEXT), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_SecondaryColor3ubEXT)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glSecondaryColor3ubv +.type glSecondaryColor3ubv,#function +glSecondaryColor3ubv: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_SecondaryColor3ubvEXT), %g2 + or %g2, %lo(8 * _gloffset_SecondaryColor3ubvEXT), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_SecondaryColor3ubvEXT)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glSecondaryColor3ui +.type glSecondaryColor3ui,#function +glSecondaryColor3ui: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_SecondaryColor3uiEXT), %g2 + or %g2, %lo(8 * _gloffset_SecondaryColor3uiEXT), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_SecondaryColor3uiEXT)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glSecondaryColor3uiv +.type glSecondaryColor3uiv,#function +glSecondaryColor3uiv: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_SecondaryColor3uivEXT), %g2 + or %g2, %lo(8 * _gloffset_SecondaryColor3uivEXT), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_SecondaryColor3uivEXT)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glSecondaryColor3us +.type glSecondaryColor3us,#function +glSecondaryColor3us: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_SecondaryColor3usEXT), %g2 + or %g2, %lo(8 * _gloffset_SecondaryColor3usEXT), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_SecondaryColor3usEXT)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glSecondaryColor3usv +.type glSecondaryColor3usv,#function +glSecondaryColor3usv: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_SecondaryColor3usvEXT), %g2 + or %g2, %lo(8 * _gloffset_SecondaryColor3usvEXT), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_SecondaryColor3usvEXT)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glSecondaryColorPointer +.type glSecondaryColorPointer,#function +glSecondaryColorPointer: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_SecondaryColorPointerEXT), %g2 + or %g2, %lo(8 * _gloffset_SecondaryColorPointerEXT), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_SecondaryColorPointerEXT)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glWindowPos2d +.type glWindowPos2d,#function +glWindowPos2d: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_WindowPos2dMESA), %g2 + or %g2, %lo(8 * _gloffset_WindowPos2dMESA), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_WindowPos2dMESA)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glWindowPos2dv +.type glWindowPos2dv,#function +glWindowPos2dv: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_WindowPos2dvMESA), %g2 + or %g2, %lo(8 * _gloffset_WindowPos2dvMESA), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_WindowPos2dvMESA)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glWindowPos2f +.type glWindowPos2f,#function +glWindowPos2f: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_WindowPos2fMESA), %g2 + or %g2, %lo(8 * _gloffset_WindowPos2fMESA), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_WindowPos2fMESA)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glWindowPos2fv +.type glWindowPos2fv,#function +glWindowPos2fv: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_WindowPos2fvMESA), %g2 + or %g2, %lo(8 * _gloffset_WindowPos2fvMESA), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_WindowPos2fvMESA)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glWindowPos2i +.type glWindowPos2i,#function +glWindowPos2i: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_WindowPos2iMESA), %g2 + or %g2, %lo(8 * _gloffset_WindowPos2iMESA), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_WindowPos2iMESA)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glWindowPos2iv +.type glWindowPos2iv,#function +glWindowPos2iv: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_WindowPos2ivMESA), %g2 + or %g2, %lo(8 * _gloffset_WindowPos2ivMESA), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_WindowPos2ivMESA)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glWindowPos2s +.type glWindowPos2s,#function +glWindowPos2s: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_WindowPos2sMESA), %g2 + or %g2, %lo(8 * _gloffset_WindowPos2sMESA), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_WindowPos2sMESA)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glWindowPos2sv +.type glWindowPos2sv,#function +glWindowPos2sv: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_WindowPos2svMESA), %g2 + or %g2, %lo(8 * _gloffset_WindowPos2svMESA), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_WindowPos2svMESA)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glWindowPos3d +.type glWindowPos3d,#function +glWindowPos3d: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_WindowPos3dMESA), %g2 + or %g2, %lo(8 * _gloffset_WindowPos3dMESA), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_WindowPos3dMESA)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glWindowPos3dv +.type glWindowPos3dv,#function +glWindowPos3dv: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_WindowPos3dvMESA), %g2 + or %g2, %lo(8 * _gloffset_WindowPos3dvMESA), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_WindowPos3dvMESA)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glWindowPos3f +.type glWindowPos3f,#function +glWindowPos3f: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_WindowPos3fMESA), %g2 + or %g2, %lo(8 * _gloffset_WindowPos3fMESA), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_WindowPos3fMESA)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glWindowPos3fv +.type glWindowPos3fv,#function +glWindowPos3fv: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_WindowPos3fvMESA), %g2 + or %g2, %lo(8 * _gloffset_WindowPos3fvMESA), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_WindowPos3fvMESA)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glWindowPos3i +.type glWindowPos3i,#function +glWindowPos3i: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_WindowPos3iMESA), %g2 + or %g2, %lo(8 * _gloffset_WindowPos3iMESA), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_WindowPos3iMESA)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glWindowPos3iv +.type glWindowPos3iv,#function +glWindowPos3iv: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_WindowPos3ivMESA), %g2 + or %g2, %lo(8 * _gloffset_WindowPos3ivMESA), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_WindowPos3ivMESA)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glWindowPos3s +.type glWindowPos3s,#function +glWindowPos3s: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_WindowPos3sMESA), %g2 + or %g2, %lo(8 * _gloffset_WindowPos3sMESA), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_WindowPos3sMESA)], %g3 +#endif + jmpl %g3, %g0 + nop + +.globl glWindowPos3sv +.type glWindowPos3sv,#function +glWindowPos3sv: +#ifdef __sparc_v9__ + sethi %hi(0x00000000), %g2 + sethi %hi(0x00000000), %g1 + or %g2, %lo(0x00000000), %g2 + or %g1, %lo(0x00000000), %g1 + sllx %g2, 32, %g2 + ldx [%g1 + %g2], %g1 + sethi %hi(8 * _gloffset_WindowPos3svMESA), %g2 + or %g2, %lo(8 * _gloffset_WindowPos3svMESA), %g2 + ldx [%g1 + %g2], %g3 +#else + sethi %hi(0x00000000), %g1 + ld [%g1 + %lo(0x00000000)], %g1 + ld [%g1 + (4 * _gloffset_WindowPos3svMESA)], %g3 #endif jmpl %g3, %g0 nop diff --git a/src/mesa/x86/glapi_x86.S b/src/mesa/x86/glapi_x86.S index 7b26f94fea8..99504eb3378 100644 --- a/src/mesa/x86/glapi_x86.S +++ b/src/mesa/x86/glapi_x86.S @@ -4533,5 +4533,227 @@ GL_PREFIX(PointParameterivNV): MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) JMP(GL_OFFSET(_gloffset_PointParameterivNV)) +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(PointParameterf)) +GL_PREFIX(PointParameterf): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_PointParameterfEXT)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(PointParameterfv)) +GL_PREFIX(PointParameterfv): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_PointParameterfvEXT)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(PointParameteri)) +GL_PREFIX(PointParameteri): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_PointParameteriNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(PointParameteriv)) +GL_PREFIX(PointParameteriv): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_PointParameterivNV)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(SecondaryColor3b)) +GL_PREFIX(SecondaryColor3b): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_SecondaryColor3bEXT)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(SecondaryColor3bv)) +GL_PREFIX(SecondaryColor3bv): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_SecondaryColor3bvEXT)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(SecondaryColor3d)) +GL_PREFIX(SecondaryColor3d): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_SecondaryColor3dEXT)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(SecondaryColor3dv)) +GL_PREFIX(SecondaryColor3dv): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_SecondaryColor3dvEXT)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(SecondaryColor3f)) +GL_PREFIX(SecondaryColor3f): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_SecondaryColor3fEXT)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(SecondaryColor3fv)) +GL_PREFIX(SecondaryColor3fv): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_SecondaryColor3fvEXT)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(SecondaryColor3i)) +GL_PREFIX(SecondaryColor3i): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_SecondaryColor3iEXT)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(SecondaryColor3iv)) +GL_PREFIX(SecondaryColor3iv): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_SecondaryColor3ivEXT)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(SecondaryColor3s)) +GL_PREFIX(SecondaryColor3s): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_SecondaryColor3sEXT)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(SecondaryColor3sv)) +GL_PREFIX(SecondaryColor3sv): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_SecondaryColor3svEXT)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(SecondaryColor3ub)) +GL_PREFIX(SecondaryColor3ub): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_SecondaryColor3ubEXT)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(SecondaryColor3ubv)) +GL_PREFIX(SecondaryColor3ubv): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_SecondaryColor3ubvEXT)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(SecondaryColor3ui)) +GL_PREFIX(SecondaryColor3ui): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_SecondaryColor3uiEXT)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(SecondaryColor3uiv)) +GL_PREFIX(SecondaryColor3uiv): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_SecondaryColor3uivEXT)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(SecondaryColor3us)) +GL_PREFIX(SecondaryColor3us): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_SecondaryColor3usEXT)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(SecondaryColor3usv)) +GL_PREFIX(SecondaryColor3usv): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_SecondaryColor3usvEXT)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(SecondaryColorPointer)) +GL_PREFIX(SecondaryColorPointer): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_SecondaryColorPointerEXT)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(WindowPos2d)) +GL_PREFIX(WindowPos2d): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_WindowPos2dMESA)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(WindowPos2dv)) +GL_PREFIX(WindowPos2dv): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_WindowPos2dvMESA)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(WindowPos2f)) +GL_PREFIX(WindowPos2f): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_WindowPos2fMESA)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(WindowPos2fv)) +GL_PREFIX(WindowPos2fv): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_WindowPos2fvMESA)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(WindowPos2i)) +GL_PREFIX(WindowPos2i): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_WindowPos2iMESA)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(WindowPos2iv)) +GL_PREFIX(WindowPos2iv): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_WindowPos2ivMESA)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(WindowPos2s)) +GL_PREFIX(WindowPos2s): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_WindowPos2sMESA)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(WindowPos2sv)) +GL_PREFIX(WindowPos2sv): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_WindowPos2svMESA)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(WindowPos3d)) +GL_PREFIX(WindowPos3d): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_WindowPos3dMESA)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(WindowPos3dv)) +GL_PREFIX(WindowPos3dv): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_WindowPos3dvMESA)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(WindowPos3f)) +GL_PREFIX(WindowPos3f): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_WindowPos3fMESA)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(WindowPos3fv)) +GL_PREFIX(WindowPos3fv): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_WindowPos3fvMESA)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(WindowPos3i)) +GL_PREFIX(WindowPos3i): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_WindowPos3iMESA)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(WindowPos3iv)) +GL_PREFIX(WindowPos3iv): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_WindowPos3ivMESA)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(WindowPos3s)) +GL_PREFIX(WindowPos3s): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_WindowPos3sMESA)) + +ALIGNTEXT16 +GLOBL_FN(GL_PREFIX(WindowPos3sv)) +GL_PREFIX(WindowPos3sv): + MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) + JMP(GL_OFFSET(_gloffset_WindowPos3svMESA)) + #endif /* __WIN32__ */ -- 2.30.2