From 50c31d6861369400d5ebcdcc19ca44e4579cd70b Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 19 Nov 2001 00:13:45 +0000 Subject: [PATCH] added test implementation of GL_ARB_window_pos --- include/GL/gl.h | 43 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 41 insertions(+), 2 deletions(-) diff --git a/include/GL/gl.h b/include/GL/gl.h index 93c3dc44317..d3fc223cbf6 100644 --- a/include/GL/gl.h +++ b/include/GL/gl.h @@ -1,4 +1,4 @@ -/* $Id: gl.h,v 1.60 2001/11/09 21:54:30 brianp Exp $ */ +/* $Id: gl.h,v 1.61 2001/11/19 00:13:45 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -1685,7 +1685,7 @@ GLAPI void GLAPIENTRY glDrawRangeElements( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices ); GLAPI void GLAPIENTRY glTexImage3D( GLenum target, GLint level, - GLenum internalFormat, + GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, @@ -2499,6 +2499,45 @@ GLAPI void GLAPIENTRY glTracePointerRangeMESA( const GLvoid* first, const GLvoid #endif +#ifndef GL_ARB_window_pos +#define GL_ARB_window_pos 1 + +/* XXX not finalized yet - just testing */ +GLAPI void GLAPIENTRY glWindowPos2dARB(GLdouble x, GLdouble y); + +GLAPI void GLAPIENTRY glWindowPos2fARB(GLfloat x, GLfloat y); + +GLAPI void GLAPIENTRY glWindowPos2iARB(GLint x, GLint y); + +GLAPI void GLAPIENTRY glWindowPos2sARB(GLshort x, GLshort y); + +GLAPI void GLAPIENTRY glWindowPos2dvARB(const GLdouble *p); + +GLAPI void GLAPIENTRY glWindowPos2fvARB(const GLfloat *p); + +GLAPI void GLAPIENTRY glWindowPos2ivARB(const GLint *p); + +GLAPI void GLAPIENTRY glWindowPos2svARB(const GLshort *p); + +GLAPI void GLAPIENTRY glWindowPos3dARB(GLdouble x, GLdouble y, GLdouble z); + +GLAPI void GLAPIENTRY glWindowPos3fARB(GLfloat x, GLfloat y, GLfloat z); + +GLAPI void GLAPIENTRY glWindowPos3iARB(GLint x, GLint y, GLint z); + +GLAPI void GLAPIENTRY glWindowPos3sARB(GLshort x, GLshort y, GLshort z); + +GLAPI void GLAPIENTRY glWindowPos3dvARB(const GLdouble *p); + +GLAPI void GLAPIENTRY glWindowPos3fvARB(const GLfloat *p); + +GLAPI void GLAPIENTRY glWindowPos3ivARB(const GLint *p); + +GLAPI void GLAPIENTRY glWindowPos3svARB(const GLshort *p); + +#endif /* GL_ARB_window_pos */ + + /********************************************************************** * Begin system-specific stuff */ -- 2.30.2