Merge commit 'origin/master' into gallium-0.2
[mesa.git] / src / mesa / main / rastpos.h
1 /**
2 * \file rastpos.h
3 * Raster position operations.
4 */
5
6 /*
7 * Mesa 3-D graphics library
8 * Version: 4.1
9 *
10 * Copyright (C) 1999-2002 Brian Paul All Rights Reserved.
11 *
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:
18 *
19 * The above copyright notice and this permission notice shall be included
20 * in all copies or substantial portions of the Software.
21 *
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.
28 */
29
30
31 #ifndef RASTPOS_H
32 #define RASTPOS_H
33
34
35 #include "glheader.h"
36
37
38 extern void GLAPIENTRY
39 _mesa_RasterPos2d(GLdouble x, GLdouble y);
40
41 extern void GLAPIENTRY
42 _mesa_RasterPos2f(GLfloat x, GLfloat y);
43
44 extern void GLAPIENTRY
45 _mesa_RasterPos2i(GLint x, GLint y);
46
47 extern void GLAPIENTRY
48 _mesa_RasterPos2s(GLshort x, GLshort y);
49
50 extern void GLAPIENTRY
51 _mesa_RasterPos3d(GLdouble x, GLdouble y, GLdouble z);
52
53 extern void GLAPIENTRY
54 _mesa_RasterPos3f(GLfloat x, GLfloat y, GLfloat z);
55
56 extern void GLAPIENTRY
57 _mesa_RasterPos3i(GLint x, GLint y, GLint z);
58
59 extern void GLAPIENTRY
60 _mesa_RasterPos3s(GLshort x, GLshort y, GLshort z);
61
62 extern void GLAPIENTRY
63 _mesa_RasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
64
65 extern void GLAPIENTRY
66 _mesa_RasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
67
68 extern void GLAPIENTRY
69 _mesa_RasterPos4i(GLint x, GLint y, GLint z, GLint w);
70
71 extern void GLAPIENTRY
72 _mesa_RasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w);
73
74 extern void GLAPIENTRY
75 _mesa_RasterPos2dv(const GLdouble *v);
76
77 extern void GLAPIENTRY
78 _mesa_RasterPos2fv(const GLfloat *v);
79
80 extern void GLAPIENTRY
81 _mesa_RasterPos2iv(const GLint *v);
82
83 extern void GLAPIENTRY
84 _mesa_RasterPos2sv(const GLshort *v);
85
86 extern void GLAPIENTRY
87 _mesa_RasterPos3dv(const GLdouble *v);
88
89 extern void GLAPIENTRY
90 _mesa_RasterPos3fv(const GLfloat *v);
91
92 extern void GLAPIENTRY
93 _mesa_RasterPos3iv(const GLint *v);
94
95 extern void GLAPIENTRY
96 _mesa_RasterPos3sv(const GLshort *v);
97
98 extern void GLAPIENTRY
99 _mesa_RasterPos4dv(const GLdouble *v);
100
101 extern void GLAPIENTRY
102 _mesa_RasterPos4fv(const GLfloat *v);
103
104 extern void GLAPIENTRY
105 _mesa_RasterPos4iv(const GLint *v);
106
107 extern void GLAPIENTRY
108 _mesa_RasterPos4sv(const GLshort *v);
109
110
111 /**********************************************************************/
112 /** \name GL_MESA_window_pos */
113 /**********************************************************************/
114 /*@{*/
115
116 extern void GLAPIENTRY
117 _mesa_WindowPos2dMESA(GLdouble x, GLdouble y);
118
119 extern void GLAPIENTRY
120 _mesa_WindowPos2fMESA(GLfloat x, GLfloat y);
121
122 extern void GLAPIENTRY
123 _mesa_WindowPos2iMESA(GLint x, GLint y);
124
125 extern void GLAPIENTRY
126 _mesa_WindowPos2sMESA(GLshort x, GLshort y);
127
128 extern void GLAPIENTRY
129 _mesa_WindowPos3dMESA(GLdouble x, GLdouble y, GLdouble z);
130
131 extern void GLAPIENTRY
132 _mesa_WindowPos3fMESA(GLfloat x, GLfloat y, GLfloat z);
133
134 extern void GLAPIENTRY
135 _mesa_WindowPos3iMESA(GLint x, GLint y, GLint z);
136
137 extern void GLAPIENTRY
138 _mesa_WindowPos3sMESA(GLshort x, GLshort y, GLshort z);
139
140 extern void GLAPIENTRY
141 _mesa_WindowPos4dMESA(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
142
143 extern void GLAPIENTRY
144 _mesa_WindowPos4fMESA(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
145
146 extern void GLAPIENTRY
147 _mesa_WindowPos4iMESA(GLint x, GLint y, GLint z, GLint w);
148
149 extern void GLAPIENTRY
150 _mesa_WindowPos4sMESA(GLshort x, GLshort y, GLshort z, GLshort w);
151
152 extern void GLAPIENTRY
153 _mesa_WindowPos2dvMESA(const GLdouble *v);
154
155 extern void GLAPIENTRY
156 _mesa_WindowPos2fvMESA(const GLfloat *v);
157
158 extern void GLAPIENTRY
159 _mesa_WindowPos2ivMESA(const GLint *v);
160
161 extern void GLAPIENTRY
162 _mesa_WindowPos2svMESA(const GLshort *v);
163
164 extern void GLAPIENTRY
165 _mesa_WindowPos3dvMESA(const GLdouble *v);
166
167 extern void GLAPIENTRY
168 _mesa_WindowPos3fvMESA(const GLfloat *v);
169
170 extern void GLAPIENTRY
171 _mesa_WindowPos3ivMESA(const GLint *v);
172
173 extern void GLAPIENTRY
174 _mesa_WindowPos3svMESA(const GLshort *v);
175
176 extern void GLAPIENTRY
177 _mesa_WindowPos4dvMESA(const GLdouble *v);
178
179 extern void GLAPIENTRY
180 _mesa_WindowPos4fvMESA(const GLfloat *v);
181
182 extern void GLAPIENTRY
183 _mesa_WindowPos4ivMESA(const GLint *v);
184
185 extern void GLAPIENTRY
186 _mesa_WindowPos4svMESA(const GLshort *v);
187
188 extern void
189 _mesa_init_rastpos( GLcontext * ctx );
190
191 /*@}*/
192
193 #endif