VirtualBox

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

Last change on this file since 3525 was 3468, checked in by vboxsync, 18 years ago

Extension detection updates

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

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