VirtualBox

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

Last change on this file since 4388 was 4071, checked in by vboxsync, 17 years ago

Biggest check-in ever. New source code headers for all (C) innotek files.

File size: 7.4 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
20#include "vboxgl.h"
21
22void vboxglFogfv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
23{
24 VBOX_OGL_GEN_OP2PTR(Fogfv, GLenum, GLfloat);
25}
26
27void vboxglFogiv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
28{
29 VBOX_OGL_GEN_OP2PTR(Fogiv, GLenum, GLint);
30}
31
32void vboxglLightModelfv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
33{
34 VBOX_OGL_GEN_OP2PTR(LightModelfv, GLenum, GLfloat);
35}
36
37void vboxglLightModeliv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
38{
39 VBOX_OGL_GEN_OP2PTR(LightModeliv, GLenum, GLint);
40}
41
42void vboxglLightfv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
43{
44 VBOX_OGL_GEN_OP3PTR(Lightfv, GLenum, GLenum, GLfloat);
45}
46
47void vboxglLightiv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
48{
49 VBOX_OGL_GEN_OP3PTR(Lightiv, GLenum, GLenum, GLint);
50}
51
52void vboxglMaterialfv (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
53{
54 VBOX_OGL_GEN_OP3PTR(Materialfv, GLenum, GLenum, GLfloat);
55}
56
57void vboxglMaterialiv (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
58{
59 VBOX_OGL_GEN_OP3PTR(Materialiv, GLenum, GLenum, GLint);
60}
61
62void vboxglPixelMapfv (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
63{
64 VBOX_OGL_GEN_OP3PTR(PixelMapfv, GLenum, GLsizei, GLfloat);
65}
66
67void vboxglPixelMapuiv (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
68{
69 VBOX_OGL_GEN_OP3PTR(PixelMapuiv, GLenum, GLsizei, GLuint);
70}
71
72void vboxglPixelMapusv (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
73{
74 VBOX_OGL_GEN_OP3PTR(PixelMapusv, GLenum, GLsizei, GLushort);
75}
76
77void vboxglDeleteTextures(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
78{
79 VBOX_OGL_GEN_OP2PTR(DeleteTextures, GLsizei, GLuint);
80}
81
82void vboxglTexEnviv (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
83{
84 VBOX_OGL_GEN_OP3PTR(TexEnviv, GLenum, GLenum, GLint);
85}
86
87void vboxglTexEnvfv (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
88{
89 VBOX_OGL_GEN_OP3PTR(TexEnvfv, GLenum, GLenum, GLfloat);
90}
91
92void vboxglTexGendv (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
93{
94 VBOX_OGL_GEN_OP3PTR(TexGendv, GLenum, GLenum, GLdouble);
95}
96
97void vboxglTexGenfv (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
98{
99 VBOX_OGL_GEN_OP3PTR(TexGenfv, GLenum, GLenum, GLfloat);
100}
101
102void vboxglTexGeniv (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
103{
104 VBOX_OGL_GEN_OP3PTR(TexGeniv, GLenum, GLenum, GLint);
105}
106
107void vboxglTexParameterfv (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
108{
109 VBOX_OGL_GEN_OP3PTR(TexParameterfv, GLenum, GLenum, GLfloat);
110}
111
112
113void vboxglTexParameteriv (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
114{
115 VBOX_OGL_GEN_OP3PTR(TexParameteriv, GLenum, GLenum, GLint);
116}
117
118void vboxglLoadMatrixd (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
119{
120 VBOX_OGL_GEN_OP1PTR(LoadMatrixd, GLdouble);
121}
122
123void vboxglLoadMatrixf (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
124{
125 VBOX_OGL_GEN_OP1PTR(LoadMatrixf, GLfloat);
126}
127
128
129void vboxglMultMatrixd (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
130{
131 VBOX_OGL_GEN_OP1PTR(MultMatrixd, GLdouble);
132}
133
134void vboxglMultMatrixf (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
135{
136 VBOX_OGL_GEN_OP1PTR(MultMatrixf, GLfloat);
137}
138
139void vboxglPolygonStipple (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
140{
141 VBOX_OGL_GEN_OP1PTR(PolygonStipple, GLubyte);
142}
143
144void vboxglClipPlane (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
145{
146 VBOX_OGL_GEN_OP2PTR(ClipPlane, GLenum, GLdouble);
147}
148
149/** @todo might not work as the caller could change the array contents afterwards */
150void vboxglVertexPointer (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
151{
152 VBOX_OGL_GEN_OP4PTR(VertexPointer, GLint, GLenum, GLsizei, GLvoid);
153}
154
155/** @todo might not work as the caller could change the array contents afterwards */
156void vboxglTexCoordPointer (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
157{
158 VBOX_OGL_GEN_OP4PTR(TexCoordPointer, GLint, GLenum, GLsizei, GLvoid);
159 return;
160}
161
162/** @todo might not work as the caller could change the array contents afterwards */
163void vboxglColorPointer (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
164{
165 VBOX_OGL_GEN_OP4PTR(ColorPointer, GLint, GLenum, GLsizei, GLvoid);
166}
167
168/** @todo might not work as the caller could change the array contents afterwards */
169void vboxglEdgeFlagPointer (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
170{
171 VBOX_OGL_GEN_OP2PTR(EdgeFlagPointer, GLsizei, GLvoid);
172}
173
174/** @todo might not work as the caller could change the array contents afterwards */
175void vboxglIndexPointer (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
176{
177 VBOX_OGL_GEN_OP3PTR(IndexPointer, GLenum, GLsizei, GLvoid);
178}
179
180/** @todo might not work as the caller could change the array contents afterwards */
181void vboxglNormalPointer (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
182{
183 VBOX_OGL_GEN_OP3PTR(NormalPointer, GLenum, GLsizei, GLvoid);
184}
185
186void vboxglCallLists (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
187{
188 VBOX_OGL_GEN_OP3PTR(CallLists, GLsizei, GLenum, GLvoid);
189}
190
191void vboxglMap1d (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
192{
193
194 VBOX_OGL_GEN_OP6PTR(Map1d, GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble);
195}
196
197void vboxglMap1f(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
198{
199 VBOX_OGL_GEN_OP6PTR(Map1f, GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat);
200}
201
202void vboxglMap2d (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
203{
204 VBOX_OGL_GEN_OP10PTR(Map2d, GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, GLdouble);
205}
206
207void vboxglMap2f (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
208{
209 VBOX_OGL_GEN_OP10PTR(Map2f, GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, GLfloat);
210}
211
212void vboxglTexImage1D (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
213{
214 VBOX_OGL_GEN_OP8PTR(TexImage1D, GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, GLvoid);
215}
216
217void vboxglTexImage2D (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
218{
219 VBOX_OGL_GEN_OP9PTR(TexImage2D, GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, GLvoid);
220}
221
222
223void vboxglTexSubImage1D (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
224{
225 VBOX_OGL_GEN_OP7PTR(TexSubImage1D, GLenum, GLint, GLint, GLsizei, GLenum, GLenum, GLvoid)
226}
227
228void vboxglTexSubImage2D (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
229{
230 VBOX_OGL_GEN_OP9PTR(TexSubImage2D, GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid);
231}
232
233void vboxglPrioritizeTextures (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
234{
235 VBOX_OGL_GEN_OP3PTRPTR(PrioritizeTextures, GLsizei, GLuint, GLclampf);
236}
237
238
239void vboxglRectdv (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
240{
241 VBOX_OGL_GEN_OP2PTRPTR(Rectdv, GLdouble, GLdouble);
242}
243
244void vboxglRectfv (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
245{
246 VBOX_OGL_GEN_OP2PTRPTR(Rectfv, GLfloat, GLfloat);
247}
248
249void vboxglRectiv (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
250{
251 VBOX_OGL_GEN_OP2PTRPTR(Rectiv, GLint, GLint);
252}
253
254void vboxglRectsv (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer)
255{
256 VBOX_OGL_GEN_OP2PTRPTR(Rectsv, GLshort, GLshort);
257}
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