X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fmain%2Frastpos.h;h=2d36936de79d67e184acd247e1134038a4b5cb52;hb=76b11d15d36db9e83b36efe469c27d68389bb627;hp=234eb76ce1d96b1ede86a579fe00aa5bd7518487;hpb=1b258989462e907e45abbdf8743b0a75f22c02b3;p=mesa.git diff --git a/src/mesa/main/rastpos.h b/src/mesa/main/rastpos.h index 234eb76ce1d..2d36936de79 100644 --- a/src/mesa/main/rastpos.h +++ b/src/mesa/main/rastpos.h @@ -1,10 +1,12 @@ -/* $Id: rastpos.h,v 1.4 2001/06/18 17:26:08 brianp Exp $ */ +/** + * \file rastpos.h + * Raster position operations. + */ /* * Mesa 3-D graphics library - * Version: 3.5 * - * Copyright (C) 1999-2001 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2002 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -19,9 +21,10 @@ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL - * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN - * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR + * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. */ @@ -29,157 +32,112 @@ #define RASTPOS_H -#include "glheader.h" +#include "compiler.h" +struct _glapi_table; +struct gl_context; -extern void -_mesa_RasterPos2d(GLdouble x, GLdouble y); +extern void +_mesa_init_rastpos(struct gl_context *ctx); -extern void +void GLAPIENTRY +_mesa_RasterPos2d(GLdouble x, GLdouble y); +void GLAPIENTRY _mesa_RasterPos2f(GLfloat x, GLfloat y); - -extern void +void GLAPIENTRY _mesa_RasterPos2i(GLint x, GLint y); - -extern void +void GLAPIENTRY _mesa_RasterPos2s(GLshort x, GLshort y); - -extern void +void GLAPIENTRY _mesa_RasterPos3d(GLdouble x, GLdouble y, GLdouble z); - -extern void +void GLAPIENTRY _mesa_RasterPos3f(GLfloat x, GLfloat y, GLfloat z); - -extern void +void GLAPIENTRY _mesa_RasterPos3i(GLint x, GLint y, GLint z); - -extern void +void GLAPIENTRY _mesa_RasterPos3s(GLshort x, GLshort y, GLshort z); - -extern void +void GLAPIENTRY _mesa_RasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w); - -extern void +void GLAPIENTRY _mesa_RasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w); - -extern void +void GLAPIENTRY _mesa_RasterPos4i(GLint x, GLint y, GLint z, GLint w); - -extern void +void GLAPIENTRY _mesa_RasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w); - -extern void +void GLAPIENTRY _mesa_RasterPos2dv(const GLdouble *v); - -extern void +void GLAPIENTRY _mesa_RasterPos2fv(const GLfloat *v); - -extern void +void GLAPIENTRY _mesa_RasterPos2iv(const GLint *v); - -extern void +void GLAPIENTRY _mesa_RasterPos2sv(const GLshort *v); - -extern void +void GLAPIENTRY _mesa_RasterPos3dv(const GLdouble *v); - -extern void +void GLAPIENTRY _mesa_RasterPos3fv(const GLfloat *v); - -extern void +void GLAPIENTRY _mesa_RasterPos3iv(const GLint *v); - -extern void +void GLAPIENTRY _mesa_RasterPos3sv(const GLshort *v); - -extern void +void GLAPIENTRY _mesa_RasterPos4dv(const GLdouble *v); - -extern void +void GLAPIENTRY _mesa_RasterPos4fv(const GLfloat *v); - -extern void +void GLAPIENTRY _mesa_RasterPos4iv(const GLint *v); - -extern void +void GLAPIENTRY _mesa_RasterPos4sv(const GLshort *v); - - -/**********************************************************************/ -/*** GL_MESA_window_pos ***/ -/**********************************************************************/ - -extern void -_mesa_WindowPos2dMESA(GLdouble x, GLdouble y); - -extern void -_mesa_WindowPos2fMESA(GLfloat x, GLfloat y); - -extern void -_mesa_WindowPos2iMESA(GLint x, GLint y); - -extern void -_mesa_WindowPos2sMESA(GLshort x, GLshort y); - -extern void -_mesa_WindowPos3dMESA(GLdouble x, GLdouble y, GLdouble z); - -extern void -_mesa_WindowPos3fMESA(GLfloat x, GLfloat y, GLfloat z); - -extern void -_mesa_WindowPos3iMESA(GLint x, GLint y, GLint z); - -extern void -_mesa_WindowPos3sMESA(GLshort x, GLshort y, GLshort z); - -extern void +void GLAPIENTRY +_mesa_WindowPos2d(GLdouble x, GLdouble y); +void GLAPIENTRY +_mesa_WindowPos2f(GLfloat x, GLfloat y); +void GLAPIENTRY +_mesa_WindowPos2i(GLint x, GLint y); +void GLAPIENTRY +_mesa_WindowPos2s(GLshort x, GLshort y); +void GLAPIENTRY +_mesa_WindowPos3d(GLdouble x, GLdouble y, GLdouble z); +void GLAPIENTRY +_mesa_WindowPos3f(GLfloat x, GLfloat y, GLfloat z); +void GLAPIENTRY +_mesa_WindowPos3i(GLint x, GLint y, GLint z); +void GLAPIENTRY +_mesa_WindowPos3s(GLshort x, GLshort y, GLshort z); +void GLAPIENTRY _mesa_WindowPos4dMESA(GLdouble x, GLdouble y, GLdouble z, GLdouble w); - -extern void +void GLAPIENTRY _mesa_WindowPos4fMESA(GLfloat x, GLfloat y, GLfloat z, GLfloat w); - -extern void +void GLAPIENTRY _mesa_WindowPos4iMESA(GLint x, GLint y, GLint z, GLint w); - -extern void +void GLAPIENTRY _mesa_WindowPos4sMESA(GLshort x, GLshort y, GLshort z, GLshort w); - -extern void -_mesa_WindowPos2dvMESA(const GLdouble *v); - -extern void -_mesa_WindowPos2fvMESA(const GLfloat *v); - -extern void -_mesa_WindowPos2ivMESA(const GLint *v); - -extern void -_mesa_WindowPos2svMESA(const GLshort *v); - -extern void -_mesa_WindowPos3dvMESA(const GLdouble *v); - -extern void -_mesa_WindowPos3fvMESA(const GLfloat *v); - -extern void -_mesa_WindowPos3ivMESA(const GLint *v); - -extern void -_mesa_WindowPos3svMESA(const GLshort *v); - -extern void +void GLAPIENTRY +_mesa_WindowPos2dv(const GLdouble *v); +void GLAPIENTRY +_mesa_WindowPos2fv(const GLfloat *v); +void GLAPIENTRY +_mesa_WindowPos2iv(const GLint *v); +void GLAPIENTRY +_mesa_WindowPos2sv(const GLshort *v); +void GLAPIENTRY +_mesa_WindowPos3dv(const GLdouble *v); +void GLAPIENTRY +_mesa_WindowPos3fv(const GLfloat *v); +void GLAPIENTRY +_mesa_WindowPos3iv(const GLint *v); +void GLAPIENTRY +_mesa_WindowPos3sv(const GLshort *v); +void GLAPIENTRY _mesa_WindowPos4dvMESA(const GLdouble *v); - -extern void +void GLAPIENTRY _mesa_WindowPos4fvMESA(const GLfloat *v); - -extern void +void GLAPIENTRY _mesa_WindowPos4ivMESA(const GLint *v); - -extern void +void GLAPIENTRY _mesa_WindowPos4svMESA(const GLshort *v); -#endif +/*@}*/ + +#endif /* RASTPOS_H */