1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
|
package jake2.render.opengl;
import java.nio.*;
import org.lwjgl.opengl.*;
public class LwjglGL implements QGL {
LwjglGL() {
// singleton
}
public final void glAlphaFunc(int func, float ref) {
GL11.glAlphaFunc(func, ref);
}
public final void glBegin(int mode) {
GL11.glBegin(mode);
}
public final void glBindTexture(int target, int texture) {
GL11.glBindTexture(target, texture);
}
public final void glBlendFunc(int sfactor, int dfactor) {
GL11.glBlendFunc(sfactor, dfactor);
}
public final void glClear(int mask) {
GL11.glClear(mask);
}
public final void glClearColor(float red, float green, float blue, float alpha) {
GL11.glClearColor(red, green, blue, alpha);
}
public final void glColor3f(float red, float green, float blue) {
GL11.glColor3f(red, green, blue);
}
public final void glColor3ub(byte red, byte green, byte blue) {
GL11.glColor3ub(red, green, blue);
}
public final void glColor4f(float red, float green, float blue, float alpha) {
GL11.glColor4f(red, green, blue, alpha);
}
public final void glColor4ub(byte red, byte green, byte blue, byte alpha) {
GL11.glColor4ub(red, green, blue, alpha);
}
public final void glColorPointer(int size, boolean unsigned, int stride,
ByteBuffer pointer) {
GL11.glColorPointer(size, unsigned, stride, pointer);
}
public final void glColorPointer(int size, int stride, FloatBuffer pointer) {
GL11.glColorPointer(size, stride, pointer);
}
public final void glCullFace(int mode) {
GL11.glCullFace(mode);
}
public final void glDeleteTextures(IntBuffer textures) {
GL11.glDeleteTextures(textures);
}
public final void glDepthFunc(int func) {
GL11.glDepthFunc(func);
}
public final void glDepthMask(boolean flag) {
GL11.glDepthMask(flag);
}
public final void glDepthRange(double zNear, double zFar) {
GL11.glDepthRange(zNear, zFar);
}
public final void glDisable(int cap) {
GL11.glDisable(cap);
}
public final void glDisableClientState(int cap) {
GL11.glDisableClientState(cap);
}
public final void glDrawArrays(int mode, int first, int count) {
GL11.glDrawArrays(mode, first, count);
}
public final void glDrawBuffer(int mode) {
GL11.glDrawBuffer(mode);
}
public final void glDrawElements(int mode, IntBuffer indices) {
GL11.glDrawElements(mode, indices);
}
public final void glEnable(int cap) {
GL11.glEnable(cap);
}
public final void glEnableClientState(int cap) {
GL11.glEnableClientState(cap);
}
public final void glEnd() {
GL11.glEnd();
}
public final void glFinish() {
GL11.glFinish();
}
public final void glFlush() {
GL11.glFlush();
}
public final void glFrustum(double left, double right, double bottom,
double top, double zNear, double zFar) {
GL11.glFrustum(left, right, bottom, top, zNear, zFar);
}
public final int glGetError() {
return GL11.glGetError();
}
public final void glGetFloat(int pname, FloatBuffer params) {
GL11.glGetFloat(pname, params);
}
public final String glGetString(int name) {
return GL11.glGetString(name);
}
public void glHint(int target, int mode) {
GL11.glHint(target, mode);
}
public final void glInterleavedArrays(int format, int stride,
FloatBuffer pointer) {
GL11.glInterleavedArrays(format, stride, pointer);
}
public final void glLoadIdentity() {
GL11.glLoadIdentity();
}
public final void glLoadMatrix(FloatBuffer m) {
GL11.glLoadMatrix(m);
}
public final void glMatrixMode(int mode) {
GL11.glMatrixMode(mode);
}
public final void glOrtho(double left, double right, double bottom,
double top, double zNear, double zFar) {
GL11.glOrtho(left, right, bottom, top, zNear, zFar);
}
public final void glPixelStorei(int pname, int param) {
GL11.glPixelStorei(pname, param);
}
public final void glPointSize(float size) {
GL11.glPointSize(size);
}
public final void glPolygonMode(int face, int mode) {
GL11.glPolygonMode(face, mode);
}
public final void glPopMatrix() {
GL11.glPopMatrix();
}
public final void glPushMatrix() {
GL11.glPushMatrix();
}
public final void glReadPixels(int x, int y, int width, int height,
int format, int type, ByteBuffer pixels) {
GL11.glReadPixels(x, y, width, height, format, type, pixels);
}
public final void glRotatef(float angle, float x, float y, float z) {
GL11.glRotatef(angle, x, y, z);
}
public final void glScalef(float x, float y, float z) {
GL11.glScalef(x, y, z);
}
public final void glScissor(int x, int y, int width, int height) {
GL11.glScissor(x, y, width, height);
}
public final void glShadeModel(int mode) {
GL11.glShadeModel(mode);
}
public final void glTexCoord2f(float s, float t) {
GL11.glTexCoord2f(s, t);
}
public final void glTexCoordPointer(int size, int stride, FloatBuffer pointer) {
GL11.glTexCoordPointer(size, stride, pointer);
}
public final void glTexEnvi(int target, int pname, int param) {
GL11.glTexEnvi(target, pname, param);
}
public final void glTexImage2D(int target, int level, int internalformat,
int width, int height, int border, int format, int type,
ByteBuffer pixels) {
GL11.glTexImage2D(target, level, internalformat, width, height, border,
format, type, pixels);
}
public final void glTexImage2D(int target, int level, int internalformat,
int width, int height, int border, int format, int type,
IntBuffer pixels) {
GL11.glTexImage2D(target, level, internalformat, width, height, border,
format, type, pixels);
}
public final void glTexParameterf(int target, int pname, float param) {
GL11.glTexParameterf(target, pname, param);
}
public final void glTexParameteri(int target, int pname, int param) {
GL11.glTexParameteri(target, pname, param);
}
public final void glTexSubImage2D(int target, int level, int xoffset,
int yoffset, int width, int height, int format, int type,
IntBuffer pixels) {
GL11.glTexSubImage2D(target, level, xoffset, yoffset, width, height,
format, type, pixels);
}
public final void glTranslatef(float x, float y, float z) {
GL11.glTranslatef(x, y, z);
}
public final void glVertex2f(float x, float y) {
GL11.glVertex2f(x, y);
}
public final void glVertex3f(float x, float y, float z) {
GL11.glVertex3f(x, y, z);
}
public final void glVertexPointer(int size, int stride, FloatBuffer pointer) {
GL11.glVertexPointer(size, stride, pointer);
}
public final void glViewport(int x, int y, int width, int height) {
GL11.glViewport(x, y, width, height);
}
public final void glColorTable(int target, int internalFormat, int width,
int format, int type, ByteBuffer data) {
EXTPalettedTexture.glColorTableEXT(target, internalFormat, width, format, type, data);
}
public final void glActiveTextureARB(int texture) {
ARBMultitexture.glActiveTextureARB(texture);
}
public final void glClientActiveTextureARB(int texture) {
ARBMultitexture.glClientActiveTextureARB(texture);
}
public final void glPointParameterEXT(int pname, FloatBuffer pfParams) {
EXTPointParameters.glPointParameterEXT(pname, pfParams);
}
public final void glPointParameterfEXT(int pname, float param) {
EXTPointParameters.glPointParameterfEXT(pname, param);
}
public final void glLockArraysEXT(int first, int count) {
EXTCompiledVertexArray.glLockArraysEXT(first, count);
}
public final void glArrayElement(int index) {
GL11.glArrayElement(index);
}
public final void glUnlockArraysEXT() {
EXTCompiledVertexArray.glUnlockArraysEXT();
}
public final void glMultiTexCoord2f(int target, float s, float t) {
GL13.glMultiTexCoord2f(target, s, t);
}
}
|