annotate android/testproject/jni/importgl.h @ 4704:611d39792201

Added minimal test project
author Paul Hunkin <paul@bieh.net>
date Thu, 17 Jun 2010 22:19:27 +1200
parents
children
rev   line source
4704
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
1 /* San Angeles Observation OpenGL ES version example
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
2 * Copyright 2004-2005 Jetro Lauha
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
3 * All rights reserved.
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
4 * Web: http://iki.fi/jetro/
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
5 *
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
6 * This source is free software; you can redistribute it and/or
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
7 * modify it under the terms of EITHER:
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
8 * (1) The GNU Lesser General Public License as published by the Free
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
9 * Software Foundation; either version 2.1 of the License, or (at
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
10 * your option) any later version. The text of the GNU Lesser
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
11 * General Public License is included with this source in the
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
12 * file LICENSE-LGPL.txt.
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
13 * (2) The BSD-style license that is included with this source in
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
14 * the file LICENSE-BSD.txt.
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
15 *
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
16 * This source is distributed in the hope that it will be useful,
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the files
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
19 * LICENSE-LGPL.txt and LICENSE-BSD.txt for more details.
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
20 *
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
21 * $Id: importgl.h,v 1.4 2005/02/24 20:29:33 tonic Exp $
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
22 * $Revision: 1.4 $
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
23 */
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
24
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
25 #ifndef IMPORTGL_H_INCLUDED
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
26 #define IMPORTGL_H_INCLUDED
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
27
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
28
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
29 #ifdef __cplusplus
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
30 extern "C" {
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
31 #endif
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
32
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
33
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
34 #include <GLES/gl.h>
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
35 #ifndef ANDROID_NDK
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
36 #include <GLES/egl.h>
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
37 #endif /* !ANDROID_NDK */
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
38
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
39 /* Use DISABLE_IMPORTGL if you want to link the OpenGL ES at
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
40 * compile/link time and not import it dynamically runtime.
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
41 */
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
42 #ifndef DISABLE_IMPORTGL
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
43
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
44
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
45 /* Dynamically fetches pointers to the egl & gl functions.
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
46 * Should be called once on application initialization.
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
47 * Returns non-zero on success and 0 on failure.
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
48 */
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
49 extern int importGLInit();
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
50
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
51 /* Frees the handle to egl & gl functions library.
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
52 */
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
53 extern void importGLDeinit();
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
54
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
55
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
56 #ifndef IMPORTGL_API
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
57 #define IMPORTGL_API extern
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
58 #endif
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
59 #ifndef IMPORTGL_FNPTRINIT
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
60 #define IMPORTGL_FNPTRINIT
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
61 #endif
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
62
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
63 #define FNDEF(retType, funcName, args) IMPORTGL_API retType (*funcPtr_##funcName) args IMPORTGL_FNPTRINIT
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
64
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
65 #ifndef ANDROID_NDK
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
66 FNDEF(EGLBoolean, eglChooseConfig, (EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_size, EGLint *num_config));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
67 FNDEF(EGLContext, eglCreateContext, (EGLDisplay dpy, EGLConfig config, EGLContext share_list, const EGLint *attrib_list));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
68 FNDEF(EGLSurface, eglCreateWindowSurface, (EGLDisplay dpy, EGLConfig config, NativeWindowType window, const EGLint *attrib_list));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
69 FNDEF(EGLBoolean, eglDestroyContext, (EGLDisplay dpy, EGLContext ctx));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
70 FNDEF(EGLBoolean, eglDestroySurface, (EGLDisplay dpy, EGLSurface surface));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
71 FNDEF(EGLBoolean, eglGetConfigAttrib, (EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
72 FNDEF(EGLBoolean, eglGetConfigs, (EGLDisplay dpy, EGLConfig *configs, EGLint config_size, EGLint *num_config));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
73 FNDEF(EGLDisplay, eglGetDisplay, (NativeDisplayType display));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
74 FNDEF(EGLint, eglGetError, (void));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
75 FNDEF(EGLBoolean, eglInitialize, (EGLDisplay dpy, EGLint *major, EGLint *minor));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
76 FNDEF(EGLBoolean, eglMakeCurrent, (EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
77 FNDEF(EGLBoolean, eglSwapBuffers, (EGLDisplay dpy, EGLSurface draw));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
78 FNDEF(EGLBoolean, eglTerminate, (EGLDisplay dpy));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
79 #endif /* !ANDROID_NDK */
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
80
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
81 FNDEF(void, glBlendFunc, (GLenum sfactor, GLenum dfactor));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
82 FNDEF(void, glClear, (GLbitfield mask));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
83 FNDEF(void, glClearColorx, (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
84 FNDEF(void, glColor4x, (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
85 FNDEF(void, glColorPointer, (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
86 FNDEF(void, glDisable, (GLenum cap));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
87 FNDEF(void, glDisableClientState, (GLenum array));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
88 FNDEF(void, glDrawArrays, (GLenum mode, GLint first, GLsizei count));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
89 FNDEF(void, glEnable, (GLenum cap));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
90 FNDEF(void, glEnableClientState, (GLenum array));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
91 FNDEF(void, glFrustumx, (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
92 FNDEF(GLenum, glGetError, (void));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
93 FNDEF(void, glLightxv, (GLenum light, GLenum pname, const GLfixed *params));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
94 FNDEF(void, glLoadIdentity, (void));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
95 FNDEF(void, glMaterialx, (GLenum face, GLenum pname, GLfixed param));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
96 FNDEF(void, glMaterialxv, (GLenum face, GLenum pname, const GLfixed *params));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
97 FNDEF(void, glMatrixMode, (GLenum mode));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
98 FNDEF(void, glMultMatrixx, (const GLfixed *m));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
99 FNDEF(void, glNormalPointer, (GLenum type, GLsizei stride, const GLvoid *pointer));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
100 FNDEF(void, glPopMatrix, (void));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
101 FNDEF(void, glPushMatrix, (void));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
102 FNDEF(void, glRotatex, (GLfixed angle, GLfixed x, GLfixed y, GLfixed z));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
103 FNDEF(void, glScalex, (GLfixed x, GLfixed y, GLfixed z));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
104 FNDEF(void, glShadeModel, (GLenum mode));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
105 FNDEF(void, glTranslatex, (GLfixed x, GLfixed y, GLfixed z));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
106 FNDEF(void, glVertexPointer, (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
107 FNDEF(void, glViewport, (GLint x, GLint y, GLsizei width, GLsizei height));
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
108
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
109
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
110 #undef FN
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
111 #define FNPTR(name) funcPtr_##name
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
112
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
113 #ifndef IMPORTGL_NO_FNPTR_DEFS
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
114
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
115 // Redirect egl* and gl* function calls to funcPtr_egl* and funcPtr_gl*.
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
116
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
117 #ifndef ANDROID_NDK
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
118 #define eglChooseConfig FNPTR(eglChooseConfig)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
119 #define eglCreateContext FNPTR(eglCreateContext)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
120 #define eglCreateWindowSurface FNPTR(eglCreateWindowSurface)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
121 #define eglDestroyContext FNPTR(eglDestroyContext)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
122 #define eglDestroySurface FNPTR(eglDestroySurface)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
123 #define eglGetConfigAttrib FNPTR(eglGetConfigAttrib)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
124 #define eglGetConfigs FNPTR(eglGetConfigs)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
125 #define eglGetDisplay FNPTR(eglGetDisplay)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
126 #define eglGetError FNPTR(eglGetError)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
127 #define eglInitialize FNPTR(eglInitialize)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
128 #define eglMakeCurrent FNPTR(eglMakeCurrent)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
129 #define eglSwapBuffers FNPTR(eglSwapBuffers)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
130 #define eglTerminate FNPTR(eglTerminate)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
131 #endif /* !ANDROID_NDK */
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
132
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
133 #define glBlendFunc FNPTR(glBlendFunc)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
134 #define glClear FNPTR(glClear)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
135 #define glClearColorx FNPTR(glClearColorx)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
136 #define glColor4x FNPTR(glColor4x)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
137 #define glColorPointer FNPTR(glColorPointer)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
138 #define glDisable FNPTR(glDisable)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
139 #define glDisableClientState FNPTR(glDisableClientState)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
140 #define glDrawArrays FNPTR(glDrawArrays)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
141 #define glEnable FNPTR(glEnable)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
142 #define glEnableClientState FNPTR(glEnableClientState)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
143 #define glFrustumx FNPTR(glFrustumx)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
144 #define glGetError FNPTR(glGetError)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
145 #define glLightxv FNPTR(glLightxv)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
146 #define glLoadIdentity FNPTR(glLoadIdentity)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
147 #define glMaterialx FNPTR(glMaterialx)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
148 #define glMaterialxv FNPTR(glMaterialxv)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
149 #define glMatrixMode FNPTR(glMatrixMode)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
150 #define glMultMatrixx FNPTR(glMultMatrixx)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
151 #define glNormalPointer FNPTR(glNormalPointer)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
152 #define glPopMatrix FNPTR(glPopMatrix)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
153 #define glPushMatrix FNPTR(glPushMatrix)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
154 #define glRotatex FNPTR(glRotatex)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
155 #define glScalex FNPTR(glScalex)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
156 #define glShadeModel FNPTR(glShadeModel)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
157 #define glTranslatex FNPTR(glTranslatex)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
158 #define glVertexPointer FNPTR(glVertexPointer)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
159 #define glViewport FNPTR(glViewport)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
160
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
161 #endif // !IMPORTGL_NO_FNPTR_DEFS
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
162
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
163
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
164 #endif // !DISABLE_IMPORTGL
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
165
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
166
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
167 #ifdef __cplusplus
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
168 }
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
169 #endif
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
170
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
171
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
172 #endif // !IMPORTGL_H_INCLUDED