mesa: Standardize names of OpenGL functions.
[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 "compiler.h"
36 #include "mfeatures.h"
37
38 struct _glapi_table;
39 struct gl_context;
40
41 extern void
42 _mesa_init_rastpos(struct gl_context *ctx);
43
44 void GLAPIENTRY
45 _mesa_RasterPos2d(GLdouble x, GLdouble y);
46 void GLAPIENTRY
47 _mesa_RasterPos2f(GLfloat x, GLfloat y);
48 void GLAPIENTRY
49 _mesa_RasterPos2i(GLint x, GLint y);
50 void GLAPIENTRY
51 _mesa_RasterPos2s(GLshort x, GLshort y);
52 void GLAPIENTRY
53 _mesa_RasterPos3d(GLdouble x, GLdouble y, GLdouble z);
54 void GLAPIENTRY
55 _mesa_RasterPos3f(GLfloat x, GLfloat y, GLfloat z);
56 void GLAPIENTRY
57 _mesa_RasterPos3i(GLint x, GLint y, GLint z);
58 void GLAPIENTRY
59 _mesa_RasterPos3s(GLshort x, GLshort y, GLshort z);
60 void GLAPIENTRY
61 _mesa_RasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
62 void GLAPIENTRY
63 _mesa_RasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
64 void GLAPIENTRY
65 _mesa_RasterPos4i(GLint x, GLint y, GLint z, GLint w);
66 void GLAPIENTRY
67 _mesa_RasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w);
68 void GLAPIENTRY
69 _mesa_RasterPos2dv(const GLdouble *v);
70 void GLAPIENTRY
71 _mesa_RasterPos2fv(const GLfloat *v);
72 void GLAPIENTRY
73 _mesa_RasterPos2iv(const GLint *v);
74 void GLAPIENTRY
75 _mesa_RasterPos2sv(const GLshort *v);
76 void GLAPIENTRY
77 _mesa_RasterPos3dv(const GLdouble *v);
78 void GLAPIENTRY
79 _mesa_RasterPos3fv(const GLfloat *v);
80 void GLAPIENTRY
81 _mesa_RasterPos3iv(const GLint *v);
82 void GLAPIENTRY
83 _mesa_RasterPos3sv(const GLshort *v);
84 void GLAPIENTRY
85 _mesa_RasterPos4dv(const GLdouble *v);
86 void GLAPIENTRY
87 _mesa_RasterPos4fv(const GLfloat *v);
88 void GLAPIENTRY
89 _mesa_RasterPos4iv(const GLint *v);
90 void GLAPIENTRY
91 _mesa_RasterPos4sv(const GLshort *v);
92 void GLAPIENTRY
93 _mesa_WindowPos2d(GLdouble x, GLdouble y);
94 void GLAPIENTRY
95 _mesa_WindowPos2f(GLfloat x, GLfloat y);
96 void GLAPIENTRY
97 _mesa_WindowPos2i(GLint x, GLint y);
98 void GLAPIENTRY
99 _mesa_WindowPos2s(GLshort x, GLshort y);
100 void GLAPIENTRY
101 _mesa_WindowPos3d(GLdouble x, GLdouble y, GLdouble z);
102 void GLAPIENTRY
103 _mesa_WindowPos3f(GLfloat x, GLfloat y, GLfloat z);
104 void GLAPIENTRY
105 _mesa_WindowPos3i(GLint x, GLint y, GLint z);
106 void GLAPIENTRY
107 _mesa_WindowPos3s(GLshort x, GLshort y, GLshort z);
108 void GLAPIENTRY
109 _mesa_WindowPos4dMESA(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
110 void GLAPIENTRY
111 _mesa_WindowPos4fMESA(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
112 void GLAPIENTRY
113 _mesa_WindowPos4iMESA(GLint x, GLint y, GLint z, GLint w);
114 void GLAPIENTRY
115 _mesa_WindowPos4sMESA(GLshort x, GLshort y, GLshort z, GLshort w);
116 void GLAPIENTRY
117 _mesa_WindowPos2dv(const GLdouble *v);
118 void GLAPIENTRY
119 _mesa_WindowPos2fv(const GLfloat *v);
120 void GLAPIENTRY
121 _mesa_WindowPos2iv(const GLint *v);
122 void GLAPIENTRY
123 _mesa_WindowPos2sv(const GLshort *v);
124 void GLAPIENTRY
125 _mesa_WindowPos3dv(const GLdouble *v);
126 void GLAPIENTRY
127 _mesa_WindowPos3fv(const GLfloat *v);
128 void GLAPIENTRY
129 _mesa_WindowPos3iv(const GLint *v);
130 void GLAPIENTRY
131 _mesa_WindowPos3sv(const GLshort *v);
132 void GLAPIENTRY
133 _mesa_WindowPos4dvMESA(const GLdouble *v);
134 void GLAPIENTRY
135 _mesa_WindowPos4fvMESA(const GLfloat *v);
136 void GLAPIENTRY
137 _mesa_WindowPos4ivMESA(const GLint *v);
138 void GLAPIENTRY
139 _mesa_WindowPos4svMESA(const GLshort *v);
140
141
142 /*@}*/
143
144 #endif /* RASTPOS_H */