rastpos.h revision af69d88d
17117f1b4Smrg/** 27117f1b4Smrg * \file rastpos.h 37117f1b4Smrg * Raster position operations. 47117f1b4Smrg */ 57117f1b4Smrg 67117f1b4Smrg/* 77117f1b4Smrg * Mesa 3-D graphics library 87117f1b4Smrg * 97117f1b4Smrg * Copyright (C) 1999-2002 Brian Paul All Rights Reserved. 107117f1b4Smrg * 117117f1b4Smrg * Permission is hereby granted, free of charge, to any person obtaining a 127117f1b4Smrg * copy of this software and associated documentation files (the "Software"), 137117f1b4Smrg * to deal in the Software without restriction, including without limitation 147117f1b4Smrg * the rights to use, copy, modify, merge, publish, distribute, sublicense, 157117f1b4Smrg * and/or sell copies of the Software, and to permit persons to whom the 167117f1b4Smrg * Software is furnished to do so, subject to the following conditions: 177117f1b4Smrg * 187117f1b4Smrg * The above copyright notice and this permission notice shall be included 197117f1b4Smrg * in all copies or substantial portions of the Software. 207117f1b4Smrg * 217117f1b4Smrg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 227117f1b4Smrg * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 237117f1b4Smrg * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 24af69d88dSmrg * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR 25af69d88dSmrg * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 26af69d88dSmrg * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 27af69d88dSmrg * OTHER DEALINGS IN THE SOFTWARE. 287117f1b4Smrg */ 297117f1b4Smrg 307117f1b4Smrg 317117f1b4Smrg#ifndef RASTPOS_H 327117f1b4Smrg#define RASTPOS_H 337117f1b4Smrg 347117f1b4Smrg 353464ebd5Sriastradh#include "compiler.h" 367117f1b4Smrg 373464ebd5Sriastradhstruct _glapi_table; 383464ebd5Sriastradhstruct gl_context; 397117f1b4Smrg 407117f1b4Smrgextern void 413464ebd5Sriastradh_mesa_init_rastpos(struct gl_context *ctx); 427117f1b4Smrg 43af69d88dSmrgvoid GLAPIENTRY 44af69d88dSmrg_mesa_RasterPos2d(GLdouble x, GLdouble y); 45af69d88dSmrgvoid GLAPIENTRY 46af69d88dSmrg_mesa_RasterPos2f(GLfloat x, GLfloat y); 47af69d88dSmrgvoid GLAPIENTRY 48af69d88dSmrg_mesa_RasterPos2i(GLint x, GLint y); 49af69d88dSmrgvoid GLAPIENTRY 50af69d88dSmrg_mesa_RasterPos2s(GLshort x, GLshort y); 51af69d88dSmrgvoid GLAPIENTRY 52af69d88dSmrg_mesa_RasterPos3d(GLdouble x, GLdouble y, GLdouble z); 53af69d88dSmrgvoid GLAPIENTRY 54af69d88dSmrg_mesa_RasterPos3f(GLfloat x, GLfloat y, GLfloat z); 55af69d88dSmrgvoid GLAPIENTRY 56af69d88dSmrg_mesa_RasterPos3i(GLint x, GLint y, GLint z); 57af69d88dSmrgvoid GLAPIENTRY 58af69d88dSmrg_mesa_RasterPos3s(GLshort x, GLshort y, GLshort z); 59af69d88dSmrgvoid GLAPIENTRY 60af69d88dSmrg_mesa_RasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w); 61af69d88dSmrgvoid GLAPIENTRY 62af69d88dSmrg_mesa_RasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w); 63af69d88dSmrgvoid GLAPIENTRY 64af69d88dSmrg_mesa_RasterPos4i(GLint x, GLint y, GLint z, GLint w); 65af69d88dSmrgvoid GLAPIENTRY 66af69d88dSmrg_mesa_RasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w); 67af69d88dSmrgvoid GLAPIENTRY 68af69d88dSmrg_mesa_RasterPos2dv(const GLdouble *v); 69af69d88dSmrgvoid GLAPIENTRY 70af69d88dSmrg_mesa_RasterPos2fv(const GLfloat *v); 71af69d88dSmrgvoid GLAPIENTRY 72af69d88dSmrg_mesa_RasterPos2iv(const GLint *v); 73af69d88dSmrgvoid GLAPIENTRY 74af69d88dSmrg_mesa_RasterPos2sv(const GLshort *v); 75af69d88dSmrgvoid GLAPIENTRY 76af69d88dSmrg_mesa_RasterPos3dv(const GLdouble *v); 77af69d88dSmrgvoid GLAPIENTRY 78af69d88dSmrg_mesa_RasterPos3fv(const GLfloat *v); 79af69d88dSmrgvoid GLAPIENTRY 80af69d88dSmrg_mesa_RasterPos3iv(const GLint *v); 81af69d88dSmrgvoid GLAPIENTRY 82af69d88dSmrg_mesa_RasterPos3sv(const GLshort *v); 83af69d88dSmrgvoid GLAPIENTRY 84af69d88dSmrg_mesa_RasterPos4dv(const GLdouble *v); 85af69d88dSmrgvoid GLAPIENTRY 86af69d88dSmrg_mesa_RasterPos4fv(const GLfloat *v); 87af69d88dSmrgvoid GLAPIENTRY 88af69d88dSmrg_mesa_RasterPos4iv(const GLint *v); 89af69d88dSmrgvoid GLAPIENTRY 90af69d88dSmrg_mesa_RasterPos4sv(const GLshort *v); 91af69d88dSmrgvoid GLAPIENTRY 92af69d88dSmrg_mesa_WindowPos2d(GLdouble x, GLdouble y); 93af69d88dSmrgvoid GLAPIENTRY 94af69d88dSmrg_mesa_WindowPos2f(GLfloat x, GLfloat y); 95af69d88dSmrgvoid GLAPIENTRY 96af69d88dSmrg_mesa_WindowPos2i(GLint x, GLint y); 97af69d88dSmrgvoid GLAPIENTRY 98af69d88dSmrg_mesa_WindowPos2s(GLshort x, GLshort y); 99af69d88dSmrgvoid GLAPIENTRY 100af69d88dSmrg_mesa_WindowPos3d(GLdouble x, GLdouble y, GLdouble z); 101af69d88dSmrgvoid GLAPIENTRY 102af69d88dSmrg_mesa_WindowPos3f(GLfloat x, GLfloat y, GLfloat z); 103af69d88dSmrgvoid GLAPIENTRY 104af69d88dSmrg_mesa_WindowPos3i(GLint x, GLint y, GLint z); 105af69d88dSmrgvoid GLAPIENTRY 106af69d88dSmrg_mesa_WindowPos3s(GLshort x, GLshort y, GLshort z); 107af69d88dSmrgvoid GLAPIENTRY 108af69d88dSmrg_mesa_WindowPos4dMESA(GLdouble x, GLdouble y, GLdouble z, GLdouble w); 109af69d88dSmrgvoid GLAPIENTRY 110af69d88dSmrg_mesa_WindowPos4fMESA(GLfloat x, GLfloat y, GLfloat z, GLfloat w); 111af69d88dSmrgvoid GLAPIENTRY 112af69d88dSmrg_mesa_WindowPos4iMESA(GLint x, GLint y, GLint z, GLint w); 113af69d88dSmrgvoid GLAPIENTRY 114af69d88dSmrg_mesa_WindowPos4sMESA(GLshort x, GLshort y, GLshort z, GLshort w); 115af69d88dSmrgvoid GLAPIENTRY 116af69d88dSmrg_mesa_WindowPos2dv(const GLdouble *v); 117af69d88dSmrgvoid GLAPIENTRY 118af69d88dSmrg_mesa_WindowPos2fv(const GLfloat *v); 119af69d88dSmrgvoid GLAPIENTRY 120af69d88dSmrg_mesa_WindowPos2iv(const GLint *v); 121af69d88dSmrgvoid GLAPIENTRY 122af69d88dSmrg_mesa_WindowPos2sv(const GLshort *v); 123af69d88dSmrgvoid GLAPIENTRY 124af69d88dSmrg_mesa_WindowPos3dv(const GLdouble *v); 125af69d88dSmrgvoid GLAPIENTRY 126af69d88dSmrg_mesa_WindowPos3fv(const GLfloat *v); 127af69d88dSmrgvoid GLAPIENTRY 128af69d88dSmrg_mesa_WindowPos3iv(const GLint *v); 129af69d88dSmrgvoid GLAPIENTRY 130af69d88dSmrg_mesa_WindowPos3sv(const GLshort *v); 131af69d88dSmrgvoid GLAPIENTRY 132af69d88dSmrg_mesa_WindowPos4dvMESA(const GLdouble *v); 133af69d88dSmrgvoid GLAPIENTRY 134af69d88dSmrg_mesa_WindowPos4fvMESA(const GLfloat *v); 135af69d88dSmrgvoid GLAPIENTRY 136af69d88dSmrg_mesa_WindowPos4ivMESA(const GLint *v); 137af69d88dSmrgvoid GLAPIENTRY 138af69d88dSmrg_mesa_WindowPos4svMESA(const GLshort *v); 139af69d88dSmrg 140af69d88dSmrg 1417117f1b4Smrg/*@}*/ 1427117f1b4Smrg 1434a49301eSmrg#endif /* RASTPOS_H */ 144