VirtualBox

source: vbox/trunk/src/VBox/HostServices/SharedOpenGL/vboxgl.h@ 6290

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

The Giant CDDL Dual-License Header Change.

  • Property svn:eol-style set to native
File size: 18.9 KB
Line 
1/** @file
2 * VBox OpenGL helper functions
3 */
4
5/*
6 * Copyright (C) 2006-2007 innotek GmbH
7 *
8 * This file is part of VirtualBox Open Source Edition (OSE), as
9 * available from http://www.virtualbox.org. This file is free software;
10 * you can redistribute it and/or modify it under the terms of the GNU
11 * General Public License (GPL) as published by the Free Software
12 * Foundation, in version 2 as it comes in the "COPYING" file of the
13 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
14 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
15 */
16
17#ifndef ___VBOGL_H
18#define ___VBOGL_H
19
20#ifdef RT_OS_WINDOWS
21#include <windows.h>
22#endif
23#include <GL/gl.h>
24#include <VBox/types.h>
25#include "gldrv.h"
26#include <VBox/HostServices/wglext.h>
27
28typedef void (* PFN_VBOXGLWRAPPER)(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
29
30/**
31 * Global init of VBox OpenGL
32 *
33 * @returns VBox error code
34 */
35int vboxglGlobalInit();
36
37/**
38 * Global deinit of VBox OpenGL
39 *
40 * @returns VBox error code
41 */
42int vboxglGlobalUnload();
43
44/**
45 * Client connect init
46 *
47 * @returns VBox error code
48 * @param pClient Client context
49 */
50int vboxglConnect(PVBOXOGLCTX pClient);
51
52/**
53 * Client disconnect cleanup
54 *
55 * @returns VBox error code
56 * @param pClient Client context
57 */
58int vboxglDisconnect(PVBOXOGLCTX pClient);
59
60/**
61 * Log to the debug output device
62 *
63 * @returns VBox error code
64 * @param pClient
65 * @param name glGetString name parameter
66 * @param pString String pointer
67 * @param pcbString String length (in/out)
68 */
69int vboxglGetString(VBOXOGLCTX *pClient, GLenum name, char *pString, uint32_t *pcbString);
70
71/**
72 * Flush all queued OpenGL commands
73 *
74 * @returns VBox error code
75 * @param pClient Client context
76 * @param pCmdBuffer Command buffer
77 * @param cbCmdBuffer Command buffer size
78 * @param cCommands Number of commands in the buffer
79 * @param pLastError Pointer to last error (out)
80 * @param pLastRetVal Pointer to return val of last executed command (out)
81 */
82int vboxglFlushBuffer(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer, uint32_t cbCmdBuffer, uint32_t cCommands, GLenum *pLastError, uint64_t *pLastRetVal);
83
84
85/**
86 * Initialize OpenGL extensions
87 *
88 * @returns VBox error code
89 */
90int vboxInitOpenGLExtensions();
91
92/**
93 * Check if an opengl extension function is available
94 *
95 * @returns VBox error code
96 * @param pszFunctionName OpenGL extension function name
97 */
98#ifdef RT_OS_WINDOWS
99bool vboxwglGetProcAddress(char *pszFunctionName);
100#endif
101
102/* OpenGL wrappers */
103void vboxglArrayElement(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
104void vboxglBegin(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
105void vboxglBindTexture(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
106void vboxglBlendFunc(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
107void vboxglCallList(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
108void vboxglColor3b(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
109void vboxglColor3d(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
110void vboxglColor3f(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
111void vboxglColor3i(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
112void vboxglColor3s(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
113void vboxglColor3ub(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
114void vboxglColor3ui(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
115void vboxglColor3us(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
116void vboxglColor4b(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
117void vboxglColor4d(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
118void vboxglColor4f(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
119void vboxglColor4i(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
120void vboxglColor4s(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
121void vboxglColor4ub(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
122void vboxglColor4ui(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
123void vboxglColor4us(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
124void vboxglClear(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
125void vboxglClearAccum(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
126void vboxglClearColor(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
127void vboxglClearDepth(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
128void vboxglClearIndex(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
129void vboxglClearStencil(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
130void vboxglAccum(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
131void vboxglAlphaFunc(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
132void vboxglVertex2d(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
133void vboxglVertex2f(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
134void vboxglVertex2i(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
135void vboxglVertex2s(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
136void vboxglVertex3d(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
137void vboxglVertex3f(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
138void vboxglVertex3i(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
139void vboxglVertex3s(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
140void vboxglVertex4d(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
141void vboxglVertex4f(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
142void vboxglVertex4i(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
143void vboxglVertex4s(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
144void vboxglTexCoord1d(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
145void vboxglTexCoord1f(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
146void vboxglTexCoord1i(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
147void vboxglTexCoord1s(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
148void vboxglTexCoord2d(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
149void vboxglTexCoord2f(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
150void vboxglTexCoord2i(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
151void vboxglTexCoord2s(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
152void vboxglTexCoord3d(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
153void vboxglTexCoord3f(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
154void vboxglTexCoord3i(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
155void vboxglTexCoord3s(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
156void vboxglTexCoord4d(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
157void vboxglTexCoord4f(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
158void vboxglTexCoord4i(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
159void vboxglTexCoord4s(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
160void vboxglNormal3b(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
161void vboxglNormal3d(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
162void vboxglNormal3f(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
163void vboxglNormal3i(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
164void vboxglNormal3s(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
165void vboxglRasterPos2d(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
166void vboxglRasterPos2f(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
167void vboxglRasterPos2i(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
168void vboxglRasterPos2s(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
169void vboxglRasterPos3d(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
170void vboxglRasterPos3f(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
171void vboxglRasterPos3i(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
172void vboxglRasterPos3s(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
173void vboxglRasterPos4d(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
174void vboxglRasterPos4f(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
175void vboxglRasterPos4i(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
176void vboxglRasterPos4s(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
177void vboxglEvalCoord1d(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
178void vboxglEvalCoord1f(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
179void vboxglEvalCoord2d(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
180void vboxglEvalCoord2f(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
181void vboxglEvalPoint1(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
182void vboxglEvalPoint2(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
183void vboxglIndexd(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
184void vboxglIndexf(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
185void vboxglIndexi(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
186void vboxglIndexs(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
187void vboxglIndexub(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
188void vboxglRotated(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
189void vboxglRotatef(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
190void vboxglScaled(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
191void vboxglScalef(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
192void vboxglTranslated(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
193void vboxglTranslatef(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
194void vboxglDepthFunc(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
195void vboxglDepthMask(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
196void vboxglFinish(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
197void vboxglFlush(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
198void vboxglDeleteLists(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
199void vboxglCullFace(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
200void vboxglDeleteTextures(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
201void vboxglDepthRange(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
202void vboxglDisableClientState(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
203void vboxglEnableClientState(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
204void vboxglEvalMesh1(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
205void vboxglEvalMesh2(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
206void vboxglFogf(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
207void vboxglFogfv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
208void vboxglFogi(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
209void vboxglFogiv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
210void vboxglLightModelf(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
211void vboxglLightModelfv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
212void vboxglLightModeli(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
213void vboxglLightModeliv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
214void vboxglLightf(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
215void vboxglLightfv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
216void vboxglLighti(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
217void vboxglLightiv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
218void vboxglLineStipple(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
219void vboxglLineWidth(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
220void vboxglListBase(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
221void vboxglDrawArrays(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
222void vboxglDrawBuffer(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
223void vboxglEdgeFlag(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
224void vboxglEnd(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
225void vboxglEndList(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
226void vboxglCopyTexImage1D(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
227void vboxglCopyTexImage2D(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
228void vboxglColorMaterial(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
229void vboxglMateriali(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
230void vboxglMaterialf(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
231void vboxglMaterialfv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
232void vboxglMaterialiv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
233void vboxglPopAttrib(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
234void vboxglPopClientAttrib(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
235void vboxglPopMatrix(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
236void vboxglPopName(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
237void vboxglPushAttrib(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
238void vboxglPushClientAttrib(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
239void vboxglPushMatrix(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
240void vboxglPushName(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
241void vboxglReadBuffer(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
242void vboxglTexGendv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
243void vboxglTexGenf(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
244void vboxglTexGend(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
245void vboxglTexGeni(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
246void vboxglTexEnvi(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
247void vboxglTexEnvf(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
248void vboxglTexEnviv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
249void vboxglTexEnvfv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
250void vboxglTexGeniv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
251void vboxglTexGenfv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
252void vboxglTexParameterf(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
253void vboxglTexParameteri(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
254void vboxglTexParameterfv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
255void vboxglTexParameteriv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
256void vboxglLoadIdentity(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
257void vboxglLoadName(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
258void vboxglLoadMatrixd(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
259void vboxglLoadMatrixf(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
260void vboxglStencilFunc(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
261void vboxglShadeModel(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
262void vboxglStencilMask(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
263void vboxglStencilOp(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
264void vboxglScissor(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
265void vboxglViewport(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
266void vboxglRectd(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
267void vboxglRectf(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
268void vboxglRecti(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
269void vboxglRects(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
270void vboxglRectdv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
271void vboxglRectfv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
272void vboxglRectiv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
273void vboxglRectsv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
274void vboxglMultMatrixd(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
275void vboxglMultMatrixf(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
276void vboxglNewList(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
277void vboxglHint(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
278void vboxglIndexMask(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
279void vboxglInitNames(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
280void vboxglTexCoordPointer(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
281void vboxglVertexPointer(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
282void vboxglColorPointer(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
283void vboxglEdgeFlagPointer(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
284void vboxglIndexPointer(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
285void vboxglNormalPointer(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
286void vboxglPolygonStipple(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
287void vboxglCallLists(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
288void vboxglClipPlane(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
289void vboxglFrustum(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
290void vboxglGenTextures(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
291void vboxglMap1d(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
292void vboxglMap1f(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
293void vboxglMap2d(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
294void vboxglMap2f(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
295void vboxglMapGrid1d(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
296void vboxglMapGrid1f(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
297void vboxglMapGrid2d(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
298void vboxglMapGrid2f(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
299void vboxglCopyPixels(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
300void vboxglTexImage1D(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
301void vboxglTexImage2D(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
302void vboxglTexSubImage1D(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
303void vboxglTexSubImage2D(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
304void vboxglFeedbackBuffer(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
305void vboxglSelectBuffer(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
306void vboxglIsList(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
307void vboxglIsTexture(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
308void vboxglRenderMode(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
309void vboxglReadPixels(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
310void vboxglIsEnabled(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
311void vboxglGenLists(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
312void vboxglPixelTransferf(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
313void vboxglPixelTransferi(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
314void vboxglPixelZoom(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
315void vboxglPixelStorei(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
316void vboxglPixelStoref(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
317void vboxglPixelMapfv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
318void vboxglPixelMapuiv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
319void vboxglPixelMapusv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
320void vboxglPointSize(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
321void vboxglPolygonMode(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
322void vboxglPolygonOffset(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
323void vboxglPassThrough(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
324void vboxglOrtho(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
325void vboxglMatrixMode(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
326void vboxglLogicOp(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
327void vboxglColorMask(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
328void vboxglCopyTexSubImage1D(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
329void vboxglCopyTexSubImage2D(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
330void vboxglFrontFace(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
331void vboxglDisable(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
332void vboxglEnable(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
333void vboxglPrioritizeTextures(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
334void vboxglGetBooleanv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
335void vboxglGetDoublev(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
336void vboxglGetFloatv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
337void vboxglGetIntegerv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
338void vboxglGetLightfv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
339void vboxglGetLightiv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
340void vboxglGetMaterialfv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
341void vboxglGetMaterialiv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
342void vboxglGetPixelMapfv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
343void vboxglGetPixelMapuiv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
344void vboxglGetPixelMapusv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
345void vboxglGetTexEnviv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
346void vboxglGetTexEnvfv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
347void vboxglGetTexGendv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
348void vboxglGetTexGenfv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
349void vboxglGetTexGeniv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
350void vboxglGetTexParameterfv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
351void vboxglGetTexParameteriv(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
352void vboxglGetClipPlane(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
353void vboxglGetPolygonStipple(VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
354void vboxglGetTexLevelParameterfv (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
355void vboxglGetTexLevelParameteriv (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
356void vboxglGetTexImage (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
357
358#ifdef RT_OS_WINDOWS
359void vboxwglSwapIntervalEXT (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
360void vboxwglGetSwapIntervalEXT (VBOXOGLCTX *pClient, uint8_t *pCmdBuffer);
361#endif
362
363/* after the above */
364#include <VBox/HostServices/VBoxOpenGLSvc.h>
365#include <VBox/HostServices/VBoxOGLOp.h>
366
367#endif /* !___VBOGL_H */
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