3 * Raster position operations.
7 * Mesa 3-D graphics library
10 * Copyright (C) 1999-2002 Brian Paul All Rights Reserved.
12 * Permission is hereby granted, free of charge, to any person obtaining a
13 * copy of this software and associated documentation files (the "Software"),
14 * to deal in the Software without restriction, including without limitation
15 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
16 * and/or sell copies of the Software, and to permit persons to whom the
17 * Software is furnished to do so, subject to the following conditions:
19 * The above copyright notice and this permission notice shall be included
20 * in all copies or substantial portions of the Software.
22 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
23 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
25 * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
26 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
27 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
38 extern void GLAPIENTRY
39 _mesa_RasterPos2d(GLdouble x
, GLdouble y
);
41 extern void GLAPIENTRY
42 _mesa_RasterPos2f(GLfloat x
, GLfloat y
);
44 extern void GLAPIENTRY
45 _mesa_RasterPos2i(GLint x
, GLint y
);
47 extern void GLAPIENTRY
48 _mesa_RasterPos2s(GLshort x
, GLshort y
);
50 extern void GLAPIENTRY
51 _mesa_RasterPos3d(GLdouble x
, GLdouble y
, GLdouble z
);
53 extern void GLAPIENTRY
54 _mesa_RasterPos3f(GLfloat x
, GLfloat y
, GLfloat z
);
56 extern void GLAPIENTRY
57 _mesa_RasterPos3i(GLint x
, GLint y
, GLint z
);
59 extern void GLAPIENTRY
60 _mesa_RasterPos3s(GLshort x
, GLshort y
, GLshort z
);
62 extern void GLAPIENTRY
63 _mesa_RasterPos4d(GLdouble x
, GLdouble y
, GLdouble z
, GLdouble w
);
65 extern void GLAPIENTRY
66 _mesa_RasterPos4f(GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
);
68 extern void GLAPIENTRY
69 _mesa_RasterPos4i(GLint x
, GLint y
, GLint z
, GLint w
);
71 extern void GLAPIENTRY
72 _mesa_RasterPos4s(GLshort x
, GLshort y
, GLshort z
, GLshort w
);
74 extern void GLAPIENTRY
75 _mesa_RasterPos2dv(const GLdouble
*v
);
77 extern void GLAPIENTRY
78 _mesa_RasterPos2fv(const GLfloat
*v
);
80 extern void GLAPIENTRY
81 _mesa_RasterPos2iv(const GLint
*v
);
83 extern void GLAPIENTRY
84 _mesa_RasterPos2sv(const GLshort
*v
);
86 extern void GLAPIENTRY
87 _mesa_RasterPos3dv(const GLdouble
*v
);
89 extern void GLAPIENTRY
90 _mesa_RasterPos3fv(const GLfloat
*v
);
92 extern void GLAPIENTRY
93 _mesa_RasterPos3iv(const GLint
*v
);
95 extern void GLAPIENTRY
96 _mesa_RasterPos3sv(const GLshort
*v
);
98 extern void GLAPIENTRY
99 _mesa_RasterPos4dv(const GLdouble
*v
);
101 extern void GLAPIENTRY
102 _mesa_RasterPos4fv(const GLfloat
*v
);
104 extern void GLAPIENTRY
105 _mesa_RasterPos4iv(const GLint
*v
);
107 extern void GLAPIENTRY
108 _mesa_RasterPos4sv(const GLshort
*v
);
111 /**********************************************************************/
112 /** \name GL_MESA_window_pos */
113 /**********************************************************************/
116 extern void GLAPIENTRY
117 _mesa_WindowPos2dMESA(GLdouble x
, GLdouble y
);
119 extern void GLAPIENTRY
120 _mesa_WindowPos2fMESA(GLfloat x
, GLfloat y
);
122 extern void GLAPIENTRY
123 _mesa_WindowPos2iMESA(GLint x
, GLint y
);
125 extern void GLAPIENTRY
126 _mesa_WindowPos2sMESA(GLshort x
, GLshort y
);
128 extern void GLAPIENTRY
129 _mesa_WindowPos3dMESA(GLdouble x
, GLdouble y
, GLdouble z
);
131 extern void GLAPIENTRY
132 _mesa_WindowPos3fMESA(GLfloat x
, GLfloat y
, GLfloat z
);
134 extern void GLAPIENTRY
135 _mesa_WindowPos3iMESA(GLint x
, GLint y
, GLint z
);
137 extern void GLAPIENTRY
138 _mesa_WindowPos3sMESA(GLshort x
, GLshort y
, GLshort z
);
140 extern void GLAPIENTRY
141 _mesa_WindowPos4dMESA(GLdouble x
, GLdouble y
, GLdouble z
, GLdouble w
);
143 extern void GLAPIENTRY
144 _mesa_WindowPos4fMESA(GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
);
146 extern void GLAPIENTRY
147 _mesa_WindowPos4iMESA(GLint x
, GLint y
, GLint z
, GLint w
);
149 extern void GLAPIENTRY
150 _mesa_WindowPos4sMESA(GLshort x
, GLshort y
, GLshort z
, GLshort w
);
152 extern void GLAPIENTRY
153 _mesa_WindowPos2dvMESA(const GLdouble
*v
);
155 extern void GLAPIENTRY
156 _mesa_WindowPos2fvMESA(const GLfloat
*v
);
158 extern void GLAPIENTRY
159 _mesa_WindowPos2ivMESA(const GLint
*v
);
161 extern void GLAPIENTRY
162 _mesa_WindowPos2svMESA(const GLshort
*v
);
164 extern void GLAPIENTRY
165 _mesa_WindowPos3dvMESA(const GLdouble
*v
);
167 extern void GLAPIENTRY
168 _mesa_WindowPos3fvMESA(const GLfloat
*v
);
170 extern void GLAPIENTRY
171 _mesa_WindowPos3ivMESA(const GLint
*v
);
173 extern void GLAPIENTRY
174 _mesa_WindowPos3svMESA(const GLshort
*v
);
176 extern void GLAPIENTRY
177 _mesa_WindowPos4dvMESA(const GLdouble
*v
);
179 extern void GLAPIENTRY
180 _mesa_WindowPos4fvMESA(const GLfloat
*v
);
182 extern void GLAPIENTRY
183 _mesa_WindowPos4ivMESA(const GLint
*v
);
185 extern void GLAPIENTRY
186 _mesa_WindowPos4svMESA(const GLshort
*v
);
189 _mesa_init_rastpos( GLcontext
* ctx
);