VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/OpenGL/VBoxICDList.h@ 8060

Last change on this file since 8060 was 5999, checked in by vboxsync, 17 years ago

The Giant CDDL Dual-License Header Change.

File size: 13.1 KB
Line 
1/** @file
2 *
3 * VirtualBox Windows NT/2000/XP guest OpenGL ICD
4 *
5 * Copyright (C) 2006-2007 innotek GmbH
6 *
7 * This file is part of VirtualBox Open Source Edition (OSE), as
8 * available from http://www.virtualbox.org. This file is free software;
9 * you can redistribute it and/or modify it under the terms of the GNU
10 * General Public License (GPL) as published by the Free Software
11 * Foundation, in version 2 as it comes in the "COPYING" file of the
12 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
13 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
14 */
15
16/*
17 * Mesa 3-D graphics library
18 * Version: 6.1
19 *
20 * Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
21 *
22 * Permission is hereby granted, free of charge, to any person obtaining a
23 * copy of this software and associated documentation files (the "Software"),
24 * to deal in the Software without restriction, including without limitation
25 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
26 * and/or sell copies of the Software, and to permit persons to whom the
27 * Software is furnished to do so, subject to the following conditions:
28 *
29 * The above copyright notice and this permission notice shall be included
30 * in all copies or substantial portions of the Software.
31 *
32 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
33 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
34 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
35 * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
36 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
37 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
38 */
39
40/*
41 * File name: icd.c
42 * Author: Gregor Anich
43 *
44 * ICD (Installable Client Driver) interface.
45 * Based on the windows GDI/WGL driver.
46 */
47
48ICD_ENTRY(NewList) /* 0 */
49ICD_ENTRY(EndList) /* 1 */
50ICD_ENTRY(CallList) /* 2 */
51ICD_ENTRY(CallLists) /* 3 */
52ICD_ENTRY(DeleteLists) /* 4 */
53ICD_ENTRY(GenLists) /* 5 */
54ICD_ENTRY(ListBase) /* 6 */
55ICD_ENTRY(Begin) /* 7 */
56ICD_ENTRY(Bitmap) /* 8 */
57ICD_ENTRY(Color3b) /* 9 */
58ICD_ENTRY(Color3bv) /* 10 */
59ICD_ENTRY(Color3d) /* 11 */
60ICD_ENTRY(Color3dv) /* 12 */
61ICD_ENTRY(Color3f) /* 13 */
62ICD_ENTRY(Color3fv) /* 14 */
63ICD_ENTRY(Color3i) /* 15 */
64ICD_ENTRY(Color3iv) /* 16 */
65ICD_ENTRY(Color3s) /* 17 */
66ICD_ENTRY(Color3sv) /* 18 */
67ICD_ENTRY(Color3ub) /* 19 */
68ICD_ENTRY(Color3ubv) /* 20 */
69ICD_ENTRY(Color3ui) /* 21 */
70ICD_ENTRY(Color3uiv) /* 22 */
71ICD_ENTRY(Color3us) /* 23 */
72ICD_ENTRY(Color3usv) /* 24 */
73ICD_ENTRY(Color4b) /* 25 */
74ICD_ENTRY(Color4bv) /* 26 */
75ICD_ENTRY(Color4d) /* 27 */
76ICD_ENTRY(Color4dv) /* 28 */
77ICD_ENTRY(Color4f) /* 29 */
78ICD_ENTRY(Color4fv) /* 30 */
79ICD_ENTRY(Color4i) /* 31 */
80ICD_ENTRY(Color4iv) /* 32 */
81ICD_ENTRY(Color4s) /* 33 */
82ICD_ENTRY(Color4sv) /* 34 */
83ICD_ENTRY(Color4ub) /* 35 */
84ICD_ENTRY(Color4ubv) /* 36 */
85ICD_ENTRY(Color4ui) /* 37 */
86ICD_ENTRY(Color4uiv) /* 38 */
87ICD_ENTRY(Color4us) /* 39 */
88ICD_ENTRY(Color4usv) /* 40 */
89ICD_ENTRY(EdgeFlag) /* 41 */
90ICD_ENTRY(EdgeFlagv) /* 42 */
91ICD_ENTRY(End) /* 43 */
92ICD_ENTRY(Indexd) /* 44 */
93ICD_ENTRY(Indexdv) /* 45 */
94ICD_ENTRY(Indexf) /* 46 */
95ICD_ENTRY(Indexfv) /* 47 */
96ICD_ENTRY(Indexi) /* 48 */
97ICD_ENTRY(Indexiv) /* 49 */
98ICD_ENTRY(Indexs) /* 50 */
99ICD_ENTRY(Indexsv) /* 51 */
100ICD_ENTRY(Normal3b) /* 52 */
101ICD_ENTRY(Normal3bv) /* 53 */
102ICD_ENTRY(Normal3d) /* 54 */
103ICD_ENTRY(Normal3dv) /* 55 */
104ICD_ENTRY(Normal3f) /* 56 */
105ICD_ENTRY(Normal3fv) /* 57 */
106ICD_ENTRY(Normal3i) /* 58 */
107ICD_ENTRY(Normal3iv) /* 59 */
108ICD_ENTRY(Normal3s) /* 60 */
109ICD_ENTRY(Normal3sv) /* 61 */
110ICD_ENTRY(RasterPos2d) /* 62 */
111ICD_ENTRY(RasterPos2dv) /* 63 */
112ICD_ENTRY(RasterPos2f) /* 64 */
113ICD_ENTRY(RasterPos2fv) /* 65 */
114ICD_ENTRY(RasterPos2i) /* 66 */
115ICD_ENTRY(RasterPos2iv) /* 67 */
116ICD_ENTRY(RasterPos2s) /* 68 */
117ICD_ENTRY(RasterPos2sv) /* 69 */
118ICD_ENTRY(RasterPos3d) /* 70 */
119ICD_ENTRY(RasterPos3dv) /* 71 */
120ICD_ENTRY(RasterPos3f) /* 72 */
121ICD_ENTRY(RasterPos3fv) /* 73 */
122ICD_ENTRY(RasterPos3i) /* 74 */
123ICD_ENTRY(RasterPos3iv) /* 75 */
124ICD_ENTRY(RasterPos3s) /* 76 */
125ICD_ENTRY(RasterPos3sv) /* 77 */
126ICD_ENTRY(RasterPos4d) /* 78 */
127ICD_ENTRY(RasterPos4dv) /* 79 */
128ICD_ENTRY(RasterPos4f) /* 80 */
129ICD_ENTRY(RasterPos4fv) /* 81 */
130ICD_ENTRY(RasterPos4i) /* 82 */
131ICD_ENTRY(RasterPos4iv) /* 83 */
132ICD_ENTRY(RasterPos4s) /* 84 */
133ICD_ENTRY(RasterPos4sv) /* 85 */
134ICD_ENTRY(Rectd) /* 86 */
135ICD_ENTRY(Rectdv) /* 87 */
136ICD_ENTRY(Rectf) /* 88 */
137ICD_ENTRY(Rectfv) /* 89 */
138ICD_ENTRY(Recti) /* 90 */
139ICD_ENTRY(Rectiv) /* 91 */
140ICD_ENTRY(Rects) /* 92 */
141ICD_ENTRY(Rectsv) /* 93 */
142ICD_ENTRY(TexCoord1d) /* 94 */
143ICD_ENTRY(TexCoord1dv) /* 95 */
144ICD_ENTRY(TexCoord1f) /* 96 */
145ICD_ENTRY(TexCoord1fv) /* 97 */
146ICD_ENTRY(TexCoord1i) /* 98 */
147ICD_ENTRY(TexCoord1iv) /* 99 */
148ICD_ENTRY(TexCoord1s) /* 100 */
149ICD_ENTRY(TexCoord1sv) /* 101 */
150ICD_ENTRY(TexCoord2d) /* 102 */
151ICD_ENTRY(TexCoord2dv) /* 103 */
152ICD_ENTRY(TexCoord2f) /* 104 */
153ICD_ENTRY(TexCoord2fv) /* 105 */
154ICD_ENTRY(TexCoord2i) /* 106 */
155ICD_ENTRY(TexCoord2iv) /* 107 */
156ICD_ENTRY(TexCoord2s) /* 108 */
157ICD_ENTRY(TexCoord2sv) /* 109 */
158ICD_ENTRY(TexCoord3d) /* 110 */
159ICD_ENTRY(TexCoord3dv) /* 111 */
160ICD_ENTRY(TexCoord3f) /* 112 */
161ICD_ENTRY(TexCoord3fv) /* 113 */
162ICD_ENTRY(TexCoord3i) /* 114 */
163ICD_ENTRY(TexCoord3iv) /* 115 */
164ICD_ENTRY(TexCoord3s) /* 116 */
165ICD_ENTRY(TexCoord3sv) /* 117 */
166ICD_ENTRY(TexCoord4d) /* 118 */
167ICD_ENTRY(TexCoord4dv) /* 119 */
168ICD_ENTRY(TexCoord4f) /* 120 */
169ICD_ENTRY(TexCoord4fv) /* 121 */
170ICD_ENTRY(TexCoord4i) /* 122 */
171ICD_ENTRY(TexCoord4iv) /* 123 */
172ICD_ENTRY(TexCoord4s) /* 124 */
173ICD_ENTRY(TexCoord4sv) /* 125 */
174ICD_ENTRY(Vertex2d) /* 126 */
175ICD_ENTRY(Vertex2dv) /* 127 */
176ICD_ENTRY(Vertex2f) /* 128 */
177ICD_ENTRY(Vertex2fv) /* 129 */
178ICD_ENTRY(Vertex2i) /* 130 */
179ICD_ENTRY(Vertex2iv) /* 131 */
180ICD_ENTRY(Vertex2s) /* 132 */
181ICD_ENTRY(Vertex2sv) /* 133 */
182ICD_ENTRY(Vertex3d) /* 134 */
183ICD_ENTRY(Vertex3dv) /* 135 */
184ICD_ENTRY(Vertex3f) /* 136 */
185ICD_ENTRY(Vertex3fv) /* 137 */
186ICD_ENTRY(Vertex3i) /* 138 */
187ICD_ENTRY(Vertex3iv) /* 139 */
188ICD_ENTRY(Vertex3s) /* 140 */
189ICD_ENTRY(Vertex3sv) /* 141 */
190ICD_ENTRY(Vertex4d) /* 142 */
191ICD_ENTRY(Vertex4dv) /* 143 */
192ICD_ENTRY(Vertex4f) /* 144 */
193ICD_ENTRY(Vertex4fv) /* 145 */
194ICD_ENTRY(Vertex4i) /* 146 */
195ICD_ENTRY(Vertex4iv) /* 147 */
196ICD_ENTRY(Vertex4s) /* 148 */
197ICD_ENTRY(Vertex4sv) /* 149 */
198ICD_ENTRY(ClipPlane) /* 150 */
199ICD_ENTRY(ColorMaterial) /* 151 */
200ICD_ENTRY(CullFace) /* 152 */
201ICD_ENTRY(Fogf) /* 153 */
202ICD_ENTRY(Fogfv) /* 154 */
203ICD_ENTRY(Fogi) /* 155 */
204ICD_ENTRY(Fogiv) /* 156 */
205ICD_ENTRY(FrontFace) /* 157 */
206ICD_ENTRY(Hint) /* 158 */
207ICD_ENTRY(Lightf) /* 159 */
208ICD_ENTRY(Lightfv) /* 160 */
209ICD_ENTRY(Lighti) /* 161 */
210ICD_ENTRY(Lightiv) /* 162 */
211ICD_ENTRY(LightModelf) /* 163 */
212ICD_ENTRY(LightModelfv) /* 164 */
213ICD_ENTRY(LightModeli) /* 165 */
214ICD_ENTRY(LightModeliv) /* 166 */
215ICD_ENTRY(LineStipple) /* 167 */
216ICD_ENTRY(LineWidth) /* 168 */
217ICD_ENTRY(Materialf) /* 169 */
218ICD_ENTRY(Materialfv) /* 170 */
219ICD_ENTRY(Materiali) /* 171 */
220ICD_ENTRY(Materialiv) /* 172 */
221ICD_ENTRY(PointSize) /* 173 */
222ICD_ENTRY(PolygonMode) /* 174 */
223ICD_ENTRY(PolygonStipple) /* 175 */
224ICD_ENTRY(Scissor) /* 176 */
225ICD_ENTRY(ShadeModel) /* 177 */
226ICD_ENTRY(TexParameterf) /* 178 */
227ICD_ENTRY(TexParameterfv) /* 179 */
228ICD_ENTRY(TexParameteri) /* 180 */
229ICD_ENTRY(TexParameteriv) /* 181 */
230ICD_ENTRY(TexImage1D) /* 182 */
231ICD_ENTRY(TexImage2D) /* 183 */
232ICD_ENTRY(TexEnvf) /* 184 */
233ICD_ENTRY(TexEnvfv) /* 185 */
234ICD_ENTRY(TexEnvi) /* 186 */
235ICD_ENTRY(TexEnviv) /* 187 */
236ICD_ENTRY(TexGend) /* 188 */
237ICD_ENTRY(TexGendv) /* 189 */
238ICD_ENTRY(TexGenf) /* 190 */
239ICD_ENTRY(TexGenfv) /* 191 */
240ICD_ENTRY(TexGeni) /* 192 */
241ICD_ENTRY(TexGeniv) /* 193 */
242ICD_ENTRY(FeedbackBuffer) /* 194 */
243ICD_ENTRY(SelectBuffer) /* 195 */
244ICD_ENTRY(RenderMode) /* 196 */
245ICD_ENTRY(InitNames) /* 197 */
246ICD_ENTRY(LoadName) /* 198 */
247ICD_ENTRY(PassThrough) /* 199 */
248ICD_ENTRY(PopName) /* 200 */
249ICD_ENTRY(PushName) /* 201 */
250ICD_ENTRY(DrawBuffer) /* 202 */
251ICD_ENTRY(Clear) /* 203 */
252ICD_ENTRY(ClearAccum) /* 204 */
253ICD_ENTRY(ClearIndex) /* 205 */
254ICD_ENTRY(ClearColor) /* 206 */
255ICD_ENTRY(ClearStencil) /* 207 */
256ICD_ENTRY(ClearDepth) /* 208 */
257ICD_ENTRY(StencilMask) /* 209 */
258ICD_ENTRY(ColorMask) /* 210 */
259ICD_ENTRY(DepthMask) /* 211 */
260ICD_ENTRY(IndexMask) /* 212 */
261ICD_ENTRY(Accum) /* 213 */
262ICD_ENTRY(Disable) /* 214 */
263ICD_ENTRY(Enable) /* 215 */
264ICD_ENTRY(Finish) /* 216 */
265ICD_ENTRY(Flush) /* 217 */
266ICD_ENTRY(PopAttrib) /* 218 */
267ICD_ENTRY(PushAttrib) /* 219 */
268ICD_ENTRY(Map1d) /* 220 */
269ICD_ENTRY(Map1f) /* 221 */
270ICD_ENTRY(Map2d) /* 222 */
271ICD_ENTRY(Map2f) /* 223 */
272ICD_ENTRY(MapGrid1d) /* 224 */
273ICD_ENTRY(MapGrid1f) /* 225 */
274ICD_ENTRY(MapGrid2d) /* 226 */
275ICD_ENTRY(MapGrid2f) /* 227 */
276ICD_ENTRY(EvalCoord1d) /* 228 */
277ICD_ENTRY(EvalCoord1dv) /* 229 */
278ICD_ENTRY(EvalCoord1f) /* 230 */
279ICD_ENTRY(EvalCoord1fv) /* 231 */
280ICD_ENTRY(EvalCoord2d) /* 232 */
281ICD_ENTRY(EvalCoord2dv) /* 233 */
282ICD_ENTRY(EvalCoord2f) /* 234 */
283ICD_ENTRY(EvalCoord2fv) /* 235 */
284ICD_ENTRY(EvalMesh1) /* 236 */
285ICD_ENTRY(EvalPoint1) /* 237 */
286ICD_ENTRY(EvalMesh2) /* 238 */
287ICD_ENTRY(EvalPoint2) /* 239 */
288ICD_ENTRY(AlphaFunc) /* 240 */
289ICD_ENTRY(BlendFunc) /* 241 */
290ICD_ENTRY(LogicOp) /* 242 */
291ICD_ENTRY(StencilFunc) /* 243 */
292ICD_ENTRY(StencilOp) /* 244 */
293ICD_ENTRY(DepthFunc) /* 245 */
294ICD_ENTRY(PixelZoom) /* 246 */
295ICD_ENTRY(PixelTransferf) /* 247 */
296ICD_ENTRY(PixelTransferi) /* 248 */
297ICD_ENTRY(PixelStoref) /* 249 */
298ICD_ENTRY(PixelStorei) /* 250 */
299ICD_ENTRY(PixelMapfv) /* 251 */
300ICD_ENTRY(PixelMapuiv) /* 252 */
301ICD_ENTRY(PixelMapusv) /* 253 */
302ICD_ENTRY(ReadBuffer) /* 254 */
303ICD_ENTRY(CopyPixels) /* 255 */
304ICD_ENTRY(ReadPixels) /* 256 */
305ICD_ENTRY(DrawPixels) /* 257 */
306ICD_ENTRY(GetBooleanv) /* 258 */
307ICD_ENTRY(GetClipPlane) /* 259 */
308ICD_ENTRY(GetDoublev) /* 260 */
309ICD_ENTRY(GetError) /* 261 */
310ICD_ENTRY(GetFloatv) /* 262 */
311ICD_ENTRY(GetIntegerv) /* 263 */
312ICD_ENTRY(GetLightfv) /* 264 */
313ICD_ENTRY(GetLightiv) /* 265 */
314ICD_ENTRY(GetMapdv) /* 266 */
315ICD_ENTRY(GetMapfv) /* 267 */
316ICD_ENTRY(GetMapiv) /* 268 */
317ICD_ENTRY(GetMaterialfv) /* 269 */
318ICD_ENTRY(GetMaterialiv) /* 270 */
319ICD_ENTRY(GetPixelMapfv) /* 271 */
320ICD_ENTRY(GetPixelMapuiv) /* 272 */
321ICD_ENTRY(GetPixelMapusv) /* 273 */
322ICD_ENTRY(GetPolygonStipple) /* 274 */
323ICD_ENTRY(GetString) /* 275 */
324ICD_ENTRY(GetTexEnvfv) /* 276 */
325ICD_ENTRY(GetTexEnviv) /* 277 */
326ICD_ENTRY(GetTexGendv) /* 278 */
327ICD_ENTRY(GetTexGenfv) /* 279 */
328ICD_ENTRY(GetTexGeniv) /* 280 */
329ICD_ENTRY(GetTexImage) /* 281 */
330ICD_ENTRY(GetTexParameterfv) /* 282 */
331ICD_ENTRY(GetTexParameteriv) /* 283 */
332ICD_ENTRY(GetTexLevelParameterfv) /* 284 */
333ICD_ENTRY(GetTexLevelParameteriv) /* 285 */
334ICD_ENTRY(IsEnabled) /* 286 */
335ICD_ENTRY(IsList) /* 287 */
336ICD_ENTRY(DepthRange) /* 288 */
337ICD_ENTRY(Frustum) /* 289 */
338ICD_ENTRY(LoadIdentity) /* 290 */
339ICD_ENTRY(LoadMatrixf) /* 291 */
340ICD_ENTRY(LoadMatrixd) /* 292 */
341ICD_ENTRY(MatrixMode) /* 293 */
342ICD_ENTRY(MultMatrixf) /* 294 */
343ICD_ENTRY(MultMatrixd) /* 295 */
344ICD_ENTRY(Ortho) /* 296 */
345ICD_ENTRY(PopMatrix) /* 297 */
346ICD_ENTRY(PushMatrix) /* 298 */
347ICD_ENTRY(Rotated) /* 299 */
348ICD_ENTRY(Rotatef) /* 300 */
349ICD_ENTRY(Scaled) /* 301 */
350ICD_ENTRY(Scalef) /* 302 */
351ICD_ENTRY(Translated) /* 303 */
352ICD_ENTRY(Translatef) /* 304 */
353ICD_ENTRY(Viewport) /* 305 */
354ICD_ENTRY(ArrayElement) /* 306 */
355ICD_ENTRY(BindTexture) /* 307 */
356ICD_ENTRY(ColorPointer) /* 308 */
357ICD_ENTRY(DisableClientState) /* 309 */
358ICD_ENTRY(DrawArrays) /* 310 */
359ICD_ENTRY(DrawElements) /* 311 */
360ICD_ENTRY(EdgeFlagPointer) /* 312 */
361ICD_ENTRY(EnableClientState) /* 313 */
362ICD_ENTRY(IndexPointer) /* 314 */
363ICD_ENTRY(Indexub) /* 315 */
364ICD_ENTRY(Indexubv) /* 316 */
365ICD_ENTRY(InterleavedArrays) /* 317 */
366ICD_ENTRY(NormalPointer) /* 318 */
367ICD_ENTRY(PolygonOffset) /* 319 */
368ICD_ENTRY(TexCoordPointer) /* 320 */
369ICD_ENTRY(VertexPointer) /* 321 */
370ICD_ENTRY(AreTexturesResident) /* 322 */
371ICD_ENTRY(CopyTexImage1D) /* 323 */
372ICD_ENTRY(CopyTexImage2D) /* 324 */
373ICD_ENTRY(CopyTexSubImage1D) /* 325 */
374ICD_ENTRY(CopyTexSubImage2D) /* 326 */
375ICD_ENTRY(DeleteTextures) /* 327 */
376ICD_ENTRY(GenTextures) /* 328 */
377ICD_ENTRY(GetPointerv) /* 329 */
378ICD_ENTRY(IsTexture) /* 330 */
379ICD_ENTRY(PrioritizeTextures) /* 331 */
380ICD_ENTRY(TexSubImage1D) /* 332 */
381ICD_ENTRY(TexSubImage2D) /* 333 */
382ICD_ENTRY(PopClientAttrib) /* 334 */
383ICD_ENTRY(PushClientAttrib) /* 335 */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette