dispatch offsets for ARB_window_pos
[mesa.git] / src / mesa / main / rastpos.h
1 /* $Id: rastpos.h,v 1.6 2002/05/27 17:03:09 brianp Exp $ */
2
3 /*
4 * Mesa 3-D graphics library
5 * Version: 4.1
6 *
7 * Copyright (C) 1999-2002 Brian Paul All Rights Reserved.
8 *
9 * Permission is hereby granted, free of charge, to any person obtaining a
10 * copy of this software and associated documentation files (the "Software"),
11 * to deal in the Software without restriction, including without limitation
12 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
13 * and/or sell copies of the Software, and to permit persons to whom the
14 * Software is furnished to do so, subject to the following conditions:
15 *
16 * The above copyright notice and this permission notice shall be included
17 * in all copies or substantial portions of the Software.
18 *
19 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
20 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
22 * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
23 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
24 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25 */
26
27
28 #ifndef RASTPOS_H
29 #define RASTPOS_H
30
31
32 #include "glheader.h"
33
34
35 extern void
36 _mesa_RasterPos2d(GLdouble x, GLdouble y);
37
38 extern void
39 _mesa_RasterPos2f(GLfloat x, GLfloat y);
40
41 extern void
42 _mesa_RasterPos2i(GLint x, GLint y);
43
44 extern void
45 _mesa_RasterPos2s(GLshort x, GLshort y);
46
47 extern void
48 _mesa_RasterPos3d(GLdouble x, GLdouble y, GLdouble z);
49
50 extern void
51 _mesa_RasterPos3f(GLfloat x, GLfloat y, GLfloat z);
52
53 extern void
54 _mesa_RasterPos3i(GLint x, GLint y, GLint z);
55
56 extern void
57 _mesa_RasterPos3s(GLshort x, GLshort y, GLshort z);
58
59 extern void
60 _mesa_RasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
61
62 extern void
63 _mesa_RasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
64
65 extern void
66 _mesa_RasterPos4i(GLint x, GLint y, GLint z, GLint w);
67
68 extern void
69 _mesa_RasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w);
70
71 extern void
72 _mesa_RasterPos2dv(const GLdouble *v);
73
74 extern void
75 _mesa_RasterPos2fv(const GLfloat *v);
76
77 extern void
78 _mesa_RasterPos2iv(const GLint *v);
79
80 extern void
81 _mesa_RasterPos2sv(const GLshort *v);
82
83 extern void
84 _mesa_RasterPos3dv(const GLdouble *v);
85
86 extern void
87 _mesa_RasterPos3fv(const GLfloat *v);
88
89 extern void
90 _mesa_RasterPos3iv(const GLint *v);
91
92 extern void
93 _mesa_RasterPos3sv(const GLshort *v);
94
95 extern void
96 _mesa_RasterPos4dv(const GLdouble *v);
97
98 extern void
99 _mesa_RasterPos4fv(const GLfloat *v);
100
101 extern void
102 _mesa_RasterPos4iv(const GLint *v);
103
104 extern void
105 _mesa_RasterPos4sv(const GLshort *v);
106
107
108 /**********************************************************************/
109 /*** GL_MESA_window_pos ***/
110 /**********************************************************************/
111
112 extern void
113 _mesa_WindowPos2dMESA(GLdouble x, GLdouble y);
114
115 extern void
116 _mesa_WindowPos2fMESA(GLfloat x, GLfloat y);
117
118 extern void
119 _mesa_WindowPos2iMESA(GLint x, GLint y);
120
121 extern void
122 _mesa_WindowPos2sMESA(GLshort x, GLshort y);
123
124 extern void
125 _mesa_WindowPos3dMESA(GLdouble x, GLdouble y, GLdouble z);
126
127 extern void
128 _mesa_WindowPos3fMESA(GLfloat x, GLfloat y, GLfloat z);
129
130 extern void
131 _mesa_WindowPos3iMESA(GLint x, GLint y, GLint z);
132
133 extern void
134 _mesa_WindowPos3sMESA(GLshort x, GLshort y, GLshort z);
135
136 extern void
137 _mesa_WindowPos4dMESA(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
138
139 extern void
140 _mesa_WindowPos4fMESA(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
141
142 extern void
143 _mesa_WindowPos4iMESA(GLint x, GLint y, GLint z, GLint w);
144
145 extern void
146 _mesa_WindowPos4sMESA(GLshort x, GLshort y, GLshort z, GLshort w);
147
148 extern void
149 _mesa_WindowPos2dvMESA(const GLdouble *v);
150
151 extern void
152 _mesa_WindowPos2fvMESA(const GLfloat *v);
153
154 extern void
155 _mesa_WindowPos2ivMESA(const GLint *v);
156
157 extern void
158 _mesa_WindowPos2svMESA(const GLshort *v);
159
160 extern void
161 _mesa_WindowPos3dvMESA(const GLdouble *v);
162
163 extern void
164 _mesa_WindowPos3fvMESA(const GLfloat *v);
165
166 extern void
167 _mesa_WindowPos3ivMESA(const GLint *v);
168
169 extern void
170 _mesa_WindowPos3svMESA(const GLshort *v);
171
172 extern void
173 _mesa_WindowPos4dvMESA(const GLdouble *v);
174
175 extern void
176 _mesa_WindowPos4fvMESA(const GLfloat *v);
177
178 extern void
179 _mesa_WindowPos4ivMESA(const GLint *v);
180
181 extern void
182 _mesa_WindowPos4svMESA(const GLshort *v);
183
184
185 #endif