diff options
Diffstat (limited to 'src/mesa/glapi')
-rw-r--r-- | src/mesa/glapi/APIspec | 113 | ||||
-rw-r--r-- | src/mesa/glapi/glapioffsets.h | 16 | ||||
-rw-r--r-- | src/mesa/glapi/glapitable.h | 16 | ||||
-rw-r--r-- | src/mesa/glapi/glapitemp.h | 97 |
4 files changed, 241 insertions, 1 deletions
diff --git a/src/mesa/glapi/APIspec b/src/mesa/glapi/APIspec index ea87d112580..807067b4f19 100644 --- a/src/mesa/glapi/APIspec +++ b/src/mesa/glapi/APIspec @@ -1,4 +1,4 @@ -# $Id: APIspec,v 1.1 2001/11/18 22:43:16 brianp Exp $ +# $Id: APIspec,v 1.2 2001/11/18 23:52:38 brianp Exp $ # This file describes all the OpenGL functions. # We use a number of Python scripts to parse this file and @@ -7227,3 +7227,114 @@ param v const GLubyte * category GL_NV_vertex_program offset ? + +# GL_ARB_window_pos + +name WindowPos2dARB +return void +param x GLdouble +param y GLdouble +category GL_ARB_window_pos +offset 578 # unofficial + +name WindowPos2fARB +return void +param x GLfloat +param y GLfloat +category GL_ARB_window_pos +offset 579 # unofficial + +name WindowPos2iARB +return void +param x GLint +param y GLint +category GL_ARB_window_pos +offset 580 # unofficial + +name WindowPos2sARB +return void +param x GLshort +param y GLshort +category GL_ARB_window_pos +offset 581 # unofficial + +name WindowPos2dvARB +return void +param p const GLdouble * +category GL_ARB_window_pos +offset 582 # unofficial + +name WindowPos2fvARB +return void +param p const GLfloat * +category GL_ARB_window_pos +offset 583 # unofficial + +name WindowPos2ivARB +return void +param p const GLint * +category GL_ARB_window_pos +offset 584 # unofficial + +name WindowPos2svARB +return void +param p const GLshort * +category GL_ARB_window_pos +offset 585 # unofficial + +name WindowPos3dARB +return void +param x GLdouble +param y GLdouble +param z GLdouble +category GL_ARB_window_pos +offset 586 # unofficial + +name WindowPos3fARB +return void +param x GLfloat +param y GLfloat +param z GLfloat +category GL_ARB_window_pos +offset 587 # unofficial + +name WindowPos3iARB +return void +param x GLint +param y GLint +param z GLint +category GL_ARB_window_pos +offset 588 # unofficial + +name WindowPos3sARB +return void +param x GLshort +param y GLshort +param z GLshort +category GL_ARB_window_pos +offset 589 # unofficial + +name WindowPos3dvARB +return void +param p const GLdouble * +category GL_ARB_window_pos +offset 590 # unofficial + +name WindowPos3fvARB +return void +param p const GLfloat * +category GL_ARB_window_pos +offset 591 # unofficial + +name WindowPos3ivARB +return void +param p const GLint * +category GL_ARB_window_pos +offset 592 # unofficial + +name WindowPos3svARB +return void +param p const GLshort * +category GL_ARB_window_pos +offset 593 # unofficial + diff --git a/src/mesa/glapi/glapioffsets.h b/src/mesa/glapi/glapioffsets.h index 0a83d478b3e..84726084b50 100644 --- a/src/mesa/glapi/glapioffsets.h +++ b/src/mesa/glapi/glapioffsets.h @@ -580,5 +580,21 @@ #define _gloffset_SecondaryColor3usEXT 575 #define _gloffset_SecondaryColor3usvEXT 576 #define _gloffset_SecondaryColorPointerEXT 577 +#define _gloffset_WindowPos2dARB 578 +#define _gloffset_WindowPos2fARB 579 +#define _gloffset_WindowPos2iARB 580 +#define _gloffset_WindowPos2sARB 581 +#define _gloffset_WindowPos2dvARB 582 +#define _gloffset_WindowPos2fvARB 583 +#define _gloffset_WindowPos2ivARB 584 +#define _gloffset_WindowPos2svARB 585 +#define _gloffset_WindowPos3dARB 586 +#define _gloffset_WindowPos3fARB 587 +#define _gloffset_WindowPos3iARB 588 +#define _gloffset_WindowPos3sARB 589 +#define _gloffset_WindowPos3dvARB 590 +#define _gloffset_WindowPos3fvARB 591 +#define _gloffset_WindowPos3ivARB 592 +#define _gloffset_WindowPos3svARB 593 #endif diff --git a/src/mesa/glapi/glapitable.h b/src/mesa/glapi/glapitable.h index 53071cef83f..271bce0dfdc 100644 --- a/src/mesa/glapi/glapitable.h +++ b/src/mesa/glapi/glapitable.h @@ -584,6 +584,22 @@ struct _glapi_table void (*SecondaryColor3usEXT)(GLushort red, GLushort green, GLushort blue); /* 575 */ void (*SecondaryColor3usvEXT)(const GLushort * v); /* 576 */ void (*SecondaryColorPointerEXT)(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); /* 577 */ + void (*WindowPos2dARB)(GLdouble x, GLdouble y); /* 578 */ + void (*WindowPos2fARB)(GLfloat x, GLfloat y); /* 579 */ + void (*WindowPos2iARB)(GLint x, GLint y); /* 580 */ + void (*WindowPos2sARB)(GLshort x, GLshort y); /* 581 */ + void (*WindowPos2dvARB)(const GLdouble * p); /* 582 */ + void (*WindowPos2fvARB)(const GLfloat * p); /* 583 */ + void (*WindowPos2ivARB)(const GLint * p); /* 584 */ + void (*WindowPos2svARB)(const GLshort * p); /* 585 */ + void (*WindowPos3dARB)(GLdouble x, GLdouble y, GLdouble z); /* 586 */ + void (*WindowPos3fARB)(GLfloat x, GLfloat y, GLfloat z); /* 587 */ + void (*WindowPos3iARB)(GLint x, GLint y, GLint z); /* 588 */ + void (*WindowPos3sARB)(GLshort x, GLshort y, GLshort z); /* 589 */ + void (*WindowPos3dvARB)(const GLdouble * p); /* 590 */ + void (*WindowPos3fvARB)(const GLfloat * p); /* 591 */ + void (*WindowPos3ivARB)(const GLint * p); /* 592 */ + void (*WindowPos3svARB)(const GLshort * p); /* 593 */ }; #endif diff --git a/src/mesa/glapi/glapitemp.h b/src/mesa/glapi/glapitemp.h index 10f40d268ef..76ec6cbf8f2 100644 --- a/src/mesa/glapi/glapitemp.h +++ b/src/mesa/glapi/glapitemp.h @@ -3610,6 +3610,87 @@ KEYWORD1 void KEYWORD2 NAME(SamplePatternEXT)(GLenum pattern) /* No dispatch for VertexAttribs4svNV() */ /* No dispatch for VertexAttribs4fvNV() */ /* No dispatch for VertexAttribs4dvNV() */ +/* No dispatch for VertexAttribs4ubvNV() */ +KEYWORD1 void KEYWORD2 NAME(WindowPos2dARB)(GLdouble x, GLdouble y) +{ + DISPATCH(WindowPos2dARB, (x, y), (F, "glWindowPos2dARB(%f, %f);", x, y)); +} + +KEYWORD1 void KEYWORD2 NAME(WindowPos2fARB)(GLfloat x, GLfloat y) +{ + DISPATCH(WindowPos2fARB, (x, y), (F, "glWindowPos2fARB(%f, %f);", x, y)); +} + +KEYWORD1 void KEYWORD2 NAME(WindowPos2iARB)(GLint x, GLint y) +{ + DISPATCH(WindowPos2iARB, (x, y), (F, "glWindowPos2iARB(%d, %d);", x, y)); +} + +KEYWORD1 void KEYWORD2 NAME(WindowPos2sARB)(GLshort x, GLshort y) +{ + DISPATCH(WindowPos2sARB, (x, y), (F, "glWindowPos2sARB(%d, %d);", x, y)); +} + +KEYWORD1 void KEYWORD2 NAME(WindowPos2dvARB)(const GLdouble * p) +{ + DISPATCH(WindowPos2dvARB, (p), (F, "glWindowPos2dvARB(%p);", (void *) p)); +} + +KEYWORD1 void KEYWORD2 NAME(WindowPos2fvARB)(const GLfloat * p) +{ + DISPATCH(WindowPos2fvARB, (p), (F, "glWindowPos2fvARB(%p);", (void *) p)); +} + +KEYWORD1 void KEYWORD2 NAME(WindowPos2ivARB)(const GLint * p) +{ + DISPATCH(WindowPos2ivARB, (p), (F, "glWindowPos2ivARB(%p);", (void *) p)); +} + +KEYWORD1 void KEYWORD2 NAME(WindowPos2svARB)(const GLshort * p) +{ + DISPATCH(WindowPos2svARB, (p), (F, "glWindowPos2svARB(%p);", (void *) p)); +} + +KEYWORD1 void KEYWORD2 NAME(WindowPos3dARB)(GLdouble x, GLdouble y, GLdouble z) +{ + DISPATCH(WindowPos3dARB, (x, y, z), (F, "glWindowPos3dARB(%f, %f, %f);", x, y, z)); +} + +KEYWORD1 void KEYWORD2 NAME(WindowPos3fARB)(GLfloat x, GLfloat y, GLfloat z) +{ + DISPATCH(WindowPos3fARB, (x, y, z), (F, "glWindowPos3fARB(%f, %f, %f);", x, y, z)); +} + +KEYWORD1 void KEYWORD2 NAME(WindowPos3iARB)(GLint x, GLint y, GLint z) +{ + DISPATCH(WindowPos3iARB, (x, y, z), (F, "glWindowPos3iARB(%d, %d, %d);", x, y, z)); +} + +KEYWORD1 void KEYWORD2 NAME(WindowPos3sARB)(GLshort x, GLshort y, GLshort z) +{ + DISPATCH(WindowPos3sARB, (x, y, z), (F, "glWindowPos3sARB(%d, %d, %d);", x, y, z)); +} + +KEYWORD1 void KEYWORD2 NAME(WindowPos3dvARB)(const GLdouble * p) +{ + DISPATCH(WindowPos3dvARB, (p), (F, "glWindowPos3dvARB(%p);", (void *) p)); +} + +KEYWORD1 void KEYWORD2 NAME(WindowPos3fvARB)(const GLfloat * p) +{ + DISPATCH(WindowPos3fvARB, (p), (F, "glWindowPos3fvARB(%p);", (void *) p)); +} + +KEYWORD1 void KEYWORD2 NAME(WindowPos3ivARB)(const GLint * p) +{ + DISPATCH(WindowPos3ivARB, (p), (F, "glWindowPos3ivARB(%p);", (void *) p)); +} + +KEYWORD1 void KEYWORD2 NAME(WindowPos3svARB)(const GLshort * p) +{ + DISPATCH(WindowPos3svARB, (p), (F, "glWindowPos3svARB(%p);", (void *) p)); +} + /* @@ -4201,6 +4282,22 @@ void *DISPATCH_TABLE_NAME[] = { TABLE_ENTRY(SecondaryColor3usEXT), TABLE_ENTRY(SecondaryColor3usvEXT), TABLE_ENTRY(SecondaryColorPointerEXT), + TABLE_ENTRY(WindowPos2dARB), + TABLE_ENTRY(WindowPos2fARB), + TABLE_ENTRY(WindowPos2iARB), + TABLE_ENTRY(WindowPos2sARB), + TABLE_ENTRY(WindowPos2dvARB), + TABLE_ENTRY(WindowPos2fvARB), + TABLE_ENTRY(WindowPos2ivARB), + TABLE_ENTRY(WindowPos2svARB), + TABLE_ENTRY(WindowPos3dARB), + TABLE_ENTRY(WindowPos3fARB), + TABLE_ENTRY(WindowPos3iARB), + TABLE_ENTRY(WindowPos3sARB), + TABLE_ENTRY(WindowPos3dvARB), + TABLE_ENTRY(WindowPos3fvARB), + TABLE_ENTRY(WindowPos3ivARB), + TABLE_ENTRY(WindowPos3svARB), /* A whole bunch of no-op functions. These might be called * when someone tries to call a dynamically-registered * extension function without a current rendering context. |