VirtualBox

source: vbox/trunk/src/VBox/HostServices/SharedOpenGL/HostOGLComplexAsync.cpp@ 3858

Last change on this file since 3858 was 3698, checked in by vboxsync, 17 years ago

double underscore cleanup. Adjusted file headers (license section should be separate from the @file).

File size: 7.6 KB
Line 
1/** @file
2 *
3 * VBox OpenGL
4 *
5 * Complex buffered OpenGL functions
6 */
7
8/*
9 * Copyright (C) 2006-2007 innotek GmbH
10 *
11 * This file is part of VirtualBox Open Source Edition (OSE), as
12 * available from http://www.virtualbox.org. This file is free software;
13 * you can redistribute it and/or modify it under the terms of the GNU
14 * General Public License as published by the Free Software Foundation,
15 * in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
16 * distribution. VirtualBox OSE is distributed in the hope that it will
17 * be useful, but WITHOUT ANY WARRANTY of any kind.
18 *
19 * If you received this file as part of a commercial VirtualBox
20 * distribution, then only the terms of your commercial VirtualBox
21 * license agreement apply instead of the previous paragraph.
22 *
23 */
24
25#include "vboxgl.h"
26
27void vboxglFogfv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
28{
29 VBOX_OGL_GEN_OP2PTR(Fogfv, GLenum, GLfloat);
30}
31
32void vboxglFogiv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
33{
34 VBOX_OGL_GEN_OP2PTR(Fogiv, GLenum, GLint);
35}
36
37void vboxglLightModelfv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
38{
39 VBOX_OGL_GEN_OP2PTR(LightModelfv, GLenum, GLfloat);
40}
41
42void vboxglLightModeliv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
43{
44 VBOX_OGL_GEN_OP2PTR(LightModeliv, GLenum, GLint);
45}
46
47void vboxglLightfv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
48{
49 VBOX_OGL_GEN_OP3PTR(Lightfv, GLenum, GLenum, GLfloat);
50}
51
52void vboxglLightiv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
53{
54 VBOX_OGL_GEN_OP3PTR(Lightiv, GLenum, GLenum, GLint);
55}
56
57void vboxglMaterialfv (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
58{
59 VBOX_OGL_GEN_OP3PTR(Materialfv, GLenum, GLenum, GLfloat);
60}
61
62void vboxglMaterialiv (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
63{
64 VBOX_OGL_GEN_OP3PTR(Materialiv, GLenum, GLenum, GLint);
65}
66
67void vboxglPixelMapfv (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
68{
69 VBOX_OGL_GEN_OP3PTR(PixelMapfv, GLenum, GLsizei, GLfloat);
70}
71
72void vboxglPixelMapuiv (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
73{
74 VBOX_OGL_GEN_OP3PTR(PixelMapuiv, GLenum, GLsizei, GLuint);
75}
76
77void vboxglPixelMapusv (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
78{
79 VBOX_OGL_GEN_OP3PTR(PixelMapusv, GLenum, GLsizei, GLushort);
80}
81
82void vboxglDeleteTextures(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
83{
84 VBOX_OGL_GEN_OP2PTR(DeleteTextures, GLsizei, GLuint);
85}
86
87void vboxglTexEnviv (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
88{
89 VBOX_OGL_GEN_OP3PTR(TexEnviv, GLenum, GLenum, GLint);
90}
91
92void vboxglTexEnvfv (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
93{
94 VBOX_OGL_GEN_OP3PTR(TexEnvfv, GLenum, GLenum, GLfloat);
95}
96
97void vboxglTexGendv (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
98{
99 VBOX_OGL_GEN_OP3PTR(TexGendv, GLenum, GLenum, GLdouble);
100}
101
102void vboxglTexGenfv (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
103{
104 VBOX_OGL_GEN_OP3PTR(TexGenfv, GLenum, GLenum, GLfloat);
105}
106
107void vboxglTexGeniv (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
108{
109 VBOX_OGL_GEN_OP3PTR(TexGeniv, GLenum, GLenum, GLint);
110}
111
112void vboxglTexParameterfv (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
113{
114 VBOX_OGL_GEN_OP3PTR(TexParameterfv, GLenum, GLenum, GLfloat);
115}
116
117
118void vboxglTexParameteriv (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
119{
120 VBOX_OGL_GEN_OP3PTR(TexParameteriv, GLenum, GLenum, GLint);
121}
122
123void vboxglLoadMatrixd (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
124{
125 VBOX_OGL_GEN_OP1PTR(LoadMatrixd, GLdouble);
126}
127
128void vboxglLoadMatrixf (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
129{
130 VBOX_OGL_GEN_OP1PTR(LoadMatrixf, GLfloat);
131}
132
133
134void vboxglMultMatrixd (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
135{
136 VBOX_OGL_GEN_OP1PTR(MultMatrixd, GLdouble);
137}
138
139void vboxglMultMatrixf (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
140{
141 VBOX_OGL_GEN_OP1PTR(MultMatrixf, GLfloat);
142}
143
144void vboxglPolygonStipple (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
145{
146 VBOX_OGL_GEN_OP1PTR(PolygonStipple, GLubyte);
147}
148
149void vboxglClipPlane (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
150{
151 VBOX_OGL_GEN_OP2PTR(ClipPlane, GLenum, GLdouble);
152}
153
154/** @todo might not work as the caller could change the array contents afterwards */
155void vboxglVertexPointer (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
156{
157 VBOX_OGL_GEN_OP4PTR(VertexPointer, GLint, GLenum, GLsizei, GLvoid);
158}
159
160/** @todo might not work as the caller could change the array contents afterwards */
161void vboxglTexCoordPointer (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
162{
163 VBOX_OGL_GEN_OP4PTR(TexCoordPointer, GLint, GLenum, GLsizei, GLvoid);
164 return;
165}
166
167/** @todo might not work as the caller could change the array contents afterwards */
168void vboxglColorPointer (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
169{
170 VBOX_OGL_GEN_OP4PTR(ColorPointer, GLint, GLenum, GLsizei, GLvoid);
171}
172
173/** @todo might not work as the caller could change the array contents afterwards */
174void vboxglEdgeFlagPointer (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
175{
176 VBOX_OGL_GEN_OP2PTR(EdgeFlagPointer, GLsizei, GLvoid);
177}
178
179/** @todo might not work as the caller could change the array contents afterwards */
180void vboxglIndexPointer (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
181{
182 VBOX_OGL_GEN_OP3PTR(IndexPointer, GLenum, GLsizei, GLvoid);
183}
184
185/** @todo might not work as the caller could change the array contents afterwards */
186void vboxglNormalPointer (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
187{
188 VBOX_OGL_GEN_OP3PTR(NormalPointer, GLenum, GLsizei, GLvoid);
189}
190
191void vboxglCallLists (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
192{
193 VBOX_OGL_GEN_OP3PTR(CallLists, GLsizei, GLenum, GLvoid);
194}
195
196void vboxglMap1d (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
197{
198
199 VBOX_OGL_GEN_OP6PTR(Map1d, GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble);
200}
201
202void vboxglMap1f(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
203{
204 VBOX_OGL_GEN_OP6PTR(Map1f, GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat);
205}
206
207void vboxglMap2d (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
208{
209 VBOX_OGL_GEN_OP10PTR(Map2d, GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, GLdouble);
210}
211
212void vboxglMap2f (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
213{
214 VBOX_OGL_GEN_OP10PTR(Map2f, GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, GLfloat);
215}
216
217void vboxglTexImage1D (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
218{
219 VBOX_OGL_GEN_OP8PTR(TexImage1D, GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, GLvoid);
220}
221
222void vboxglTexImage2D (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
223{
224 VBOX_OGL_GEN_OP9PTR(TexImage2D, GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, GLvoid);
225}
226
227
228void vboxglTexSubImage1D (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
229{
230 VBOX_OGL_GEN_OP7PTR(TexSubImage1D, GLenum, GLint, GLint, GLsizei, GLenum, GLenum, GLvoid)
231}
232
233void vboxglTexSubImage2D (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
234{
235 VBOX_OGL_GEN_OP9PTR(TexSubImage2D, GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid);
236}
237
238void vboxglPrioritizeTextures (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
239{
240 VBOX_OGL_GEN_OP3PTRPTR(PrioritizeTextures, GLsizei, GLuint, GLclampf);
241}
242
243
244void vboxglRectdv (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
245{
246 VBOX_OGL_GEN_OP2PTRPTR(Rectdv, GLdouble, GLdouble);
247}
248
249void vboxglRectfv (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
250{
251 VBOX_OGL_GEN_OP2PTRPTR(Rectfv, GLfloat, GLfloat);
252}
253
254void vboxglRectiv (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
255{
256 VBOX_OGL_GEN_OP2PTRPTR(Rectiv, GLint, GLint);
257}
258
259void vboxglRectsv (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
260{
261 VBOX_OGL_GEN_OP2PTRPTR(Rectsv, GLshort, GLshort);
262}
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