Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/angle
Path: blob/main_old/src/libGLESv1_CM/libGLESv1_CM.cpp
1693 views
1
//
2
// Copyright 2018 The ANGLE Project Authors. All rights reserved.
3
// Use of this source code is governed by a BSD-style license that can be
4
// found in the LICENSE file.
5
//
6
7
// libGLESv1_CM.cpp: Implements the exported OpenGL ES 1.0 functions.
8
9
#include "angle_gl.h"
10
11
#include "libGLESv2/entry_points_gles_1_0_autogen.h"
12
#include "libGLESv2/entry_points_gles_2_0_autogen.h"
13
#include "libGLESv2/entry_points_gles_3_2_autogen.h"
14
#include "libGLESv2/entry_points_gles_ext_autogen.h"
15
16
extern "C" {
17
18
void GL_APIENTRY glAlphaFunc(GLenum func, GLfloat ref)
19
{
20
return GL_AlphaFunc(func, ref);
21
}
22
23
void GL_APIENTRY glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
24
{
25
return GL_ClearColor(red, green, blue, alpha);
26
}
27
28
void GL_APIENTRY glClearDepthf(GLfloat d)
29
{
30
return GL_ClearDepthf(d);
31
}
32
33
void GL_APIENTRY glClipPlanef(GLenum p, const GLfloat *eqn)
34
{
35
return GL_ClipPlanef(p, eqn);
36
}
37
38
void GL_APIENTRY glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
39
{
40
return GL_Color4f(red, green, blue, alpha);
41
}
42
43
void GL_APIENTRY glDepthRangef(GLfloat n, GLfloat f)
44
{
45
return GL_DepthRangef(n, f);
46
}
47
48
void GL_APIENTRY glFogf(GLenum pname, GLfloat param)
49
{
50
return GL_Fogf(pname, param);
51
}
52
53
void GL_APIENTRY glFogfv(GLenum pname, const GLfloat *params)
54
{
55
return GL_Fogfv(pname, params);
56
}
57
58
void GL_APIENTRY glFrustumf(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f)
59
{
60
return GL_Frustumf(l, r, b, t, n, f);
61
}
62
63
void GL_APIENTRY glGetClipPlanef(GLenum plane, GLfloat *equation)
64
{
65
return GL_GetClipPlanef(plane, equation);
66
}
67
68
void GL_APIENTRY glGetFloatv(GLenum pname, GLfloat *data)
69
{
70
return GL_GetFloatv(pname, data);
71
}
72
73
void GL_APIENTRY glGetLightfv(GLenum light, GLenum pname, GLfloat *params)
74
{
75
return GL_GetLightfv(light, pname, params);
76
}
77
78
void GL_APIENTRY glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params)
79
{
80
return GL_GetMaterialfv(face, pname, params);
81
}
82
83
void GL_APIENTRY glGetTexEnvfv(GLenum target, GLenum pname, GLfloat *params)
84
{
85
return GL_GetTexEnvfv(target, pname, params);
86
}
87
88
void GL_APIENTRY glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params)
89
{
90
return GL_GetTexParameterfv(target, pname, params);
91
}
92
93
void GL_APIENTRY glLightModelf(GLenum pname, GLfloat param)
94
{
95
return GL_LightModelf(pname, param);
96
}
97
98
void GL_APIENTRY glLightModelfv(GLenum pname, const GLfloat *params)
99
{
100
return GL_LightModelfv(pname, params);
101
}
102
103
void GL_APIENTRY glLightf(GLenum light, GLenum pname, GLfloat param)
104
{
105
return GL_Lightf(light, pname, param);
106
}
107
108
void GL_APIENTRY glLightfv(GLenum light, GLenum pname, const GLfloat *params)
109
{
110
return GL_Lightfv(light, pname, params);
111
}
112
113
void GL_APIENTRY glLineWidth(GLfloat width)
114
{
115
return GL_LineWidth(width);
116
}
117
118
void GL_APIENTRY glLoadMatrixf(const GLfloat *m)
119
{
120
return GL_LoadMatrixf(m);
121
}
122
123
void GL_APIENTRY glMaterialf(GLenum face, GLenum pname, GLfloat param)
124
{
125
return GL_Materialf(face, pname, param);
126
}
127
128
void GL_APIENTRY glMaterialfv(GLenum face, GLenum pname, const GLfloat *params)
129
{
130
return GL_Materialfv(face, pname, params);
131
}
132
133
void GL_APIENTRY glMultMatrixf(const GLfloat *m)
134
{
135
return GL_MultMatrixf(m);
136
}
137
138
void GL_APIENTRY glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q)
139
{
140
return GL_MultiTexCoord4f(target, s, t, r, q);
141
}
142
143
void GL_APIENTRY glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz)
144
{
145
return GL_Normal3f(nx, ny, nz);
146
}
147
148
void GL_APIENTRY glOrthof(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f)
149
{
150
return GL_Orthof(l, r, b, t, n, f);
151
}
152
153
void GL_APIENTRY glPointParameterf(GLenum pname, GLfloat param)
154
{
155
return GL_PointParameterf(pname, param);
156
}
157
158
void GL_APIENTRY glPointParameterfv(GLenum pname, const GLfloat *params)
159
{
160
return GL_PointParameterfv(pname, params);
161
}
162
163
void GL_APIENTRY glPointSize(GLfloat size)
164
{
165
return GL_PointSize(size);
166
}
167
168
void GL_APIENTRY glPolygonOffset(GLfloat factor, GLfloat units)
169
{
170
return GL_PolygonOffset(factor, units);
171
}
172
173
void GL_APIENTRY glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z)
174
{
175
return GL_Rotatef(angle, x, y, z);
176
}
177
178
void GL_APIENTRY glScalef(GLfloat x, GLfloat y, GLfloat z)
179
{
180
return GL_Scalef(x, y, z);
181
}
182
183
void GL_APIENTRY glTexEnvf(GLenum target, GLenum pname, GLfloat param)
184
{
185
return GL_TexEnvf(target, pname, param);
186
}
187
188
void GL_APIENTRY glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params)
189
{
190
return GL_TexEnvfv(target, pname, params);
191
}
192
193
void GL_APIENTRY glTexParameterf(GLenum target, GLenum pname, GLfloat param)
194
{
195
return GL_TexParameterf(target, pname, param);
196
}
197
198
void GL_APIENTRY glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params)
199
{
200
return GL_TexParameterfv(target, pname, params);
201
}
202
203
void GL_APIENTRY glTranslatef(GLfloat x, GLfloat y, GLfloat z)
204
{
205
return GL_Translatef(x, y, z);
206
}
207
208
void GL_APIENTRY glActiveTexture(GLenum texture)
209
{
210
return GL_ActiveTexture(texture);
211
}
212
213
void GL_APIENTRY glAlphaFuncx(GLenum func, GLfixed ref)
214
{
215
return GL_AlphaFuncx(func, ref);
216
}
217
218
void GL_APIENTRY glBindBuffer(GLenum target, GLuint buffer)
219
{
220
return GL_BindBuffer(target, buffer);
221
}
222
223
void GL_APIENTRY glBindTexture(GLenum target, GLuint texture)
224
{
225
return GL_BindTexture(target, texture);
226
}
227
228
void GL_APIENTRY glBlendFunc(GLenum sfactor, GLenum dfactor)
229
{
230
return GL_BlendFunc(sfactor, dfactor);
231
}
232
233
void GL_APIENTRY glBufferData(GLenum target, GLsizeiptr size, const void *data, GLenum usage)
234
{
235
return GL_BufferData(target, size, data, usage);
236
}
237
238
void GL_APIENTRY glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const void *data)
239
{
240
return GL_BufferSubData(target, offset, size, data);
241
}
242
243
void GL_APIENTRY glClear(GLbitfield mask)
244
{
245
return GL_Clear(mask);
246
}
247
248
void GL_APIENTRY glClearColorx(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha)
249
{
250
return GL_ClearColorx(red, green, blue, alpha);
251
}
252
253
void GL_APIENTRY glClearDepthx(GLfixed depth)
254
{
255
return GL_ClearDepthx(depth);
256
}
257
258
void GL_APIENTRY glClearStencil(GLint s)
259
{
260
return GL_ClearStencil(s);
261
}
262
263
void GL_APIENTRY glClientActiveTexture(GLenum texture)
264
{
265
return GL_ClientActiveTexture(texture);
266
}
267
268
void GL_APIENTRY glClipPlanex(GLenum plane, const GLfixed *equation)
269
{
270
return GL_ClipPlanex(plane, equation);
271
}
272
273
void GL_APIENTRY glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha)
274
{
275
return GL_Color4ub(red, green, blue, alpha);
276
}
277
278
void GL_APIENTRY glColor4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha)
279
{
280
return GL_Color4x(red, green, blue, alpha);
281
}
282
283
void GL_APIENTRY glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
284
{
285
return GL_ColorMask(red, green, blue, alpha);
286
}
287
288
void GL_APIENTRY glColorPointer(GLint size, GLenum type, GLsizei stride, const void *pointer)
289
{
290
return GL_ColorPointer(size, type, stride, pointer);
291
}
292
293
void GL_APIENTRY glCompressedTexImage2D(GLenum target,
294
GLint level,
295
GLenum internalformat,
296
GLsizei width,
297
GLsizei height,
298
GLint border,
299
GLsizei imageSize,
300
const void *data)
301
{
302
return GL_CompressedTexImage2D(target, level, internalformat, width, height, border, imageSize,
303
data);
304
}
305
306
void GL_APIENTRY glCompressedTexSubImage2D(GLenum target,
307
GLint level,
308
GLint xoffset,
309
GLint yoffset,
310
GLsizei width,
311
GLsizei height,
312
GLenum format,
313
GLsizei imageSize,
314
const void *data)
315
{
316
return GL_CompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format,
317
imageSize, data);
318
}
319
320
void GL_APIENTRY glCopyTexImage2D(GLenum target,
321
GLint level,
322
GLenum internalformat,
323
GLint x,
324
GLint y,
325
GLsizei width,
326
GLsizei height,
327
GLint border)
328
{
329
return GL_CopyTexImage2D(target, level, internalformat, x, y, width, height, border);
330
}
331
332
void GL_APIENTRY glCopyTexSubImage2D(GLenum target,
333
GLint level,
334
GLint xoffset,
335
GLint yoffset,
336
GLint x,
337
GLint y,
338
GLsizei width,
339
GLsizei height)
340
{
341
return GL_CopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height);
342
}
343
344
void GL_APIENTRY glCullFace(GLenum mode)
345
{
346
return GL_CullFace(mode);
347
}
348
349
void GL_APIENTRY glDeleteBuffers(GLsizei n, const GLuint *buffers)
350
{
351
return GL_DeleteBuffers(n, buffers);
352
}
353
354
void GL_APIENTRY glDeleteTextures(GLsizei n, const GLuint *textures)
355
{
356
return GL_DeleteTextures(n, textures);
357
}
358
359
void GL_APIENTRY glDepthFunc(GLenum func)
360
{
361
return GL_DepthFunc(func);
362
}
363
364
void GL_APIENTRY glDepthMask(GLboolean flag)
365
{
366
return GL_DepthMask(flag);
367
}
368
369
void GL_APIENTRY glDepthRangex(GLfixed n, GLfixed f)
370
{
371
return GL_DepthRangex(n, f);
372
}
373
374
void GL_APIENTRY glDisable(GLenum cap)
375
{
376
return GL_Disable(cap);
377
}
378
379
void GL_APIENTRY glDisableClientState(GLenum array)
380
{
381
return GL_DisableClientState(array);
382
}
383
384
void GL_APIENTRY glDrawArrays(GLenum mode, GLint first, GLsizei count)
385
{
386
return GL_DrawArrays(mode, first, count);
387
}
388
389
void GL_APIENTRY glDrawElements(GLenum mode, GLsizei count, GLenum type, const void *indices)
390
{
391
return GL_DrawElements(mode, count, type, indices);
392
}
393
394
void GL_APIENTRY glEnable(GLenum cap)
395
{
396
return GL_Enable(cap);
397
}
398
399
void GL_APIENTRY glEnableClientState(GLenum array)
400
{
401
return GL_EnableClientState(array);
402
}
403
404
void GL_APIENTRY glFinish(void)
405
{
406
return GL_Finish();
407
}
408
409
void GL_APIENTRY glFlush(void)
410
{
411
return GL_Flush();
412
}
413
414
void GL_APIENTRY glFogx(GLenum pname, GLfixed param)
415
{
416
return GL_Fogx(pname, param);
417
}
418
419
void GL_APIENTRY glFogxv(GLenum pname, const GLfixed *param)
420
{
421
return GL_Fogxv(pname, param);
422
}
423
424
void GL_APIENTRY glFrontFace(GLenum mode)
425
{
426
return GL_FrontFace(mode);
427
}
428
429
void GL_APIENTRY glFrustumx(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f)
430
{
431
return GL_Frustumx(l, r, b, t, n, f);
432
}
433
434
void GL_APIENTRY glGetBooleanv(GLenum pname, GLboolean *data)
435
{
436
return GL_GetBooleanv(pname, data);
437
}
438
439
void GL_APIENTRY glGetBufferParameteriv(GLenum target, GLenum pname, GLint *params)
440
{
441
return GL_GetBufferParameteriv(target, pname, params);
442
}
443
444
void GL_APIENTRY glGetClipPlanex(GLenum plane, GLfixed *equation)
445
{
446
return GL_GetClipPlanex(plane, equation);
447
}
448
449
void GL_APIENTRY glGenBuffers(GLsizei n, GLuint *buffers)
450
{
451
return GL_GenBuffers(n, buffers);
452
}
453
454
void GL_APIENTRY glGenTextures(GLsizei n, GLuint *textures)
455
{
456
return GL_GenTextures(n, textures);
457
}
458
459
GLenum GL_APIENTRY glGetError(void)
460
{
461
return GL_GetError();
462
}
463
464
void GL_APIENTRY glGetFixedv(GLenum pname, GLfixed *params)
465
{
466
return GL_GetFixedv(pname, params);
467
}
468
469
void GL_APIENTRY glGetIntegerv(GLenum pname, GLint *data)
470
{
471
return GL_GetIntegerv(pname, data);
472
}
473
474
void GL_APIENTRY glGetLightxv(GLenum light, GLenum pname, GLfixed *params)
475
{
476
return GL_GetLightxv(light, pname, params);
477
}
478
479
void GL_APIENTRY glGetMaterialxv(GLenum face, GLenum pname, GLfixed *params)
480
{
481
return GL_GetMaterialxv(face, pname, params);
482
}
483
484
void GL_APIENTRY glGetPointerv(GLenum pname, void **params)
485
{
486
return GL_GetPointerv(pname, params);
487
}
488
489
const GLubyte *GL_APIENTRY glGetString(GLenum name)
490
{
491
return GL_GetString(name);
492
}
493
494
void GL_APIENTRY glGetTexEnviv(GLenum target, GLenum pname, GLint *params)
495
{
496
return GL_GetTexEnviv(target, pname, params);
497
}
498
499
void GL_APIENTRY glGetTexEnvxv(GLenum target, GLenum pname, GLfixed *params)
500
{
501
return GL_GetTexEnvxv(target, pname, params);
502
}
503
504
void GL_APIENTRY glGetTexParameteriv(GLenum target, GLenum pname, GLint *params)
505
{
506
return GL_GetTexParameteriv(target, pname, params);
507
}
508
509
void GL_APIENTRY glGetTexParameterxv(GLenum target, GLenum pname, GLfixed *params)
510
{
511
return GL_GetTexParameterxv(target, pname, params);
512
}
513
514
void GL_APIENTRY glHint(GLenum target, GLenum mode)
515
{
516
return GL_Hint(target, mode);
517
}
518
519
GLboolean GL_APIENTRY glIsBuffer(GLuint buffer)
520
{
521
return GL_IsBuffer(buffer);
522
}
523
524
GLboolean GL_APIENTRY glIsEnabled(GLenum cap)
525
{
526
return GL_IsEnabled(cap);
527
}
528
529
GLboolean GL_APIENTRY glIsTexture(GLuint texture)
530
{
531
return GL_IsTexture(texture);
532
}
533
534
void GL_APIENTRY glLightModelx(GLenum pname, GLfixed param)
535
{
536
return GL_LightModelx(pname, param);
537
}
538
539
void GL_APIENTRY glLightModelxv(GLenum pname, const GLfixed *param)
540
{
541
return GL_LightModelxv(pname, param);
542
}
543
544
void GL_APIENTRY glLightx(GLenum light, GLenum pname, GLfixed param)
545
{
546
return GL_Lightx(light, pname, param);
547
}
548
549
void GL_APIENTRY glLightxv(GLenum light, GLenum pname, const GLfixed *params)
550
{
551
return GL_Lightxv(light, pname, params);
552
}
553
554
void GL_APIENTRY glLineWidthx(GLfixed width)
555
{
556
return GL_LineWidthx(width);
557
}
558
559
void GL_APIENTRY glLoadIdentity(void)
560
{
561
return GL_LoadIdentity();
562
}
563
564
void GL_APIENTRY glLoadMatrixx(const GLfixed *m)
565
{
566
return GL_LoadMatrixx(m);
567
}
568
569
void GL_APIENTRY glLogicOp(GLenum opcode)
570
{
571
return GL_LogicOp(opcode);
572
}
573
574
void GL_APIENTRY glMaterialx(GLenum face, GLenum pname, GLfixed param)
575
{
576
return GL_Materialx(face, pname, param);
577
}
578
579
void GL_APIENTRY glMaterialxv(GLenum face, GLenum pname, const GLfixed *param)
580
{
581
return GL_Materialxv(face, pname, param);
582
}
583
584
void GL_APIENTRY glMatrixMode(GLenum mode)
585
{
586
return GL_MatrixMode(mode);
587
}
588
589
void GL_APIENTRY glMultMatrixx(const GLfixed *m)
590
{
591
return GL_MultMatrixx(m);
592
}
593
594
void GL_APIENTRY glMultiTexCoord4x(GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q)
595
{
596
return GL_MultiTexCoord4x(texture, s, t, r, q);
597
}
598
599
void GL_APIENTRY glNormal3x(GLfixed nx, GLfixed ny, GLfixed nz)
600
{
601
return GL_Normal3x(nx, ny, nz);
602
}
603
604
void GL_APIENTRY glNormalPointer(GLenum type, GLsizei stride, const void *pointer)
605
{
606
return GL_NormalPointer(type, stride, pointer);
607
}
608
609
void GL_APIENTRY glOrthox(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f)
610
{
611
return GL_Orthox(l, r, b, t, n, f);
612
}
613
614
void GL_APIENTRY glPixelStorei(GLenum pname, GLint param)
615
{
616
return GL_PixelStorei(pname, param);
617
}
618
619
void GL_APIENTRY glPointParameterx(GLenum pname, GLfixed param)
620
{
621
return GL_PointParameterx(pname, param);
622
}
623
624
void GL_APIENTRY glPointParameterxv(GLenum pname, const GLfixed *params)
625
{
626
return GL_PointParameterxv(pname, params);
627
}
628
629
void GL_APIENTRY glPointSizex(GLfixed size)
630
{
631
return GL_PointSizex(size);
632
}
633
634
void GL_APIENTRY glPolygonOffsetx(GLfixed factor, GLfixed units)
635
{
636
return GL_PolygonOffsetx(factor, units);
637
}
638
639
void GL_APIENTRY glPopMatrix(void)
640
{
641
return GL_PopMatrix();
642
}
643
644
void GL_APIENTRY glPushMatrix(void)
645
{
646
return GL_PushMatrix();
647
}
648
649
void GL_APIENTRY glReadPixels(GLint x,
650
GLint y,
651
GLsizei width,
652
GLsizei height,
653
GLenum format,
654
GLenum type,
655
void *pixels)
656
{
657
return GL_ReadPixels(x, y, width, height, format, type, pixels);
658
}
659
660
void GL_APIENTRY glRotatex(GLfixed angle, GLfixed x, GLfixed y, GLfixed z)
661
{
662
return GL_Rotatex(angle, x, y, z);
663
}
664
665
void GL_APIENTRY glSampleCoverage(GLfloat value, GLboolean invert)
666
{
667
return GL_SampleCoverage(value, invert);
668
}
669
670
void GL_APIENTRY glSampleCoveragex(GLclampx value, GLboolean invert)
671
{
672
return GL_SampleCoveragex(value, invert);
673
}
674
675
void GL_APIENTRY glScalex(GLfixed x, GLfixed y, GLfixed z)
676
{
677
return GL_Scalex(x, y, z);
678
}
679
680
void GL_APIENTRY glScissor(GLint x, GLint y, GLsizei width, GLsizei height)
681
{
682
return GL_Scissor(x, y, width, height);
683
}
684
685
void GL_APIENTRY glShadeModel(GLenum mode)
686
{
687
return GL_ShadeModel(mode);
688
}
689
690
void GL_APIENTRY glStencilFunc(GLenum func, GLint ref, GLuint mask)
691
{
692
return GL_StencilFunc(func, ref, mask);
693
}
694
695
void GL_APIENTRY glStencilMask(GLuint mask)
696
{
697
return GL_StencilMask(mask);
698
}
699
700
void GL_APIENTRY glStencilOp(GLenum fail, GLenum zfail, GLenum zpass)
701
{
702
return GL_StencilOp(fail, zfail, zpass);
703
}
704
705
void GL_APIENTRY glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const void *pointer)
706
{
707
return GL_TexCoordPointer(size, type, stride, pointer);
708
}
709
710
void GL_APIENTRY glTexEnvi(GLenum target, GLenum pname, GLint param)
711
{
712
return GL_TexEnvi(target, pname, param);
713
}
714
715
void GL_APIENTRY glTexEnvx(GLenum target, GLenum pname, GLfixed param)
716
{
717
return GL_TexEnvx(target, pname, param);
718
}
719
720
void GL_APIENTRY glTexEnviv(GLenum target, GLenum pname, const GLint *params)
721
{
722
return GL_TexEnviv(target, pname, params);
723
}
724
725
void GL_APIENTRY glTexEnvxv(GLenum target, GLenum pname, const GLfixed *params)
726
{
727
return GL_TexEnvxv(target, pname, params);
728
}
729
730
void GL_APIENTRY glTexImage2D(GLenum target,
731
GLint level,
732
GLint internalformat,
733
GLsizei width,
734
GLsizei height,
735
GLint border,
736
GLenum format,
737
GLenum type,
738
const void *pixels)
739
{
740
return GL_TexImage2D(target, level, internalformat, width, height, border, format, type,
741
pixels);
742
}
743
744
void GL_APIENTRY glTexParameteri(GLenum target, GLenum pname, GLint param)
745
{
746
return GL_TexParameteri(target, pname, param);
747
}
748
749
void GL_APIENTRY glTexParameterx(GLenum target, GLenum pname, GLfixed param)
750
{
751
return GL_TexParameterx(target, pname, param);
752
}
753
754
void GL_APIENTRY glTexParameteriv(GLenum target, GLenum pname, const GLint *params)
755
{
756
return GL_TexParameteriv(target, pname, params);
757
}
758
759
void GL_APIENTRY glTexParameterxv(GLenum target, GLenum pname, const GLfixed *params)
760
{
761
return GL_TexParameterxv(target, pname, params);
762
}
763
764
void GL_APIENTRY glTexSubImage2D(GLenum target,
765
GLint level,
766
GLint xoffset,
767
GLint yoffset,
768
GLsizei width,
769
GLsizei height,
770
GLenum format,
771
GLenum type,
772
const void *pixels)
773
{
774
return GL_TexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels);
775
}
776
777
void GL_APIENTRY glTranslatex(GLfixed x, GLfixed y, GLfixed z)
778
{
779
return GL_Translatex(x, y, z);
780
}
781
782
void GL_APIENTRY glVertexPointer(GLint size, GLenum type, GLsizei stride, const void *pointer)
783
{
784
return GL_VertexPointer(size, type, stride, pointer);
785
}
786
787
void GL_APIENTRY glViewport(GLint x, GLint y, GLsizei width, GLsizei height)
788
{
789
return GL_Viewport(x, y, width, height);
790
}
791
792
// GL_OES_draw_texture
793
void GL_APIENTRY glDrawTexfOES(GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height)
794
{
795
return GL_DrawTexfOES(x, y, z, width, height);
796
}
797
798
void GL_APIENTRY glDrawTexfvOES(const GLfloat *coords)
799
{
800
return GL_DrawTexfvOES(coords);
801
}
802
803
void GL_APIENTRY glDrawTexiOES(GLint x, GLint y, GLint z, GLint width, GLint height)
804
{
805
return GL_DrawTexiOES(x, y, z, width, height);
806
}
807
808
void GL_APIENTRY glDrawTexivOES(const GLint *coords)
809
{
810
return GL_DrawTexivOES(coords);
811
}
812
813
void GL_APIENTRY glDrawTexsOES(GLshort x, GLshort y, GLshort z, GLshort width, GLshort height)
814
{
815
return GL_DrawTexsOES(x, y, z, width, height);
816
}
817
818
void GL_APIENTRY glDrawTexsvOES(const GLshort *coords)
819
{
820
return GL_DrawTexsvOES(coords);
821
}
822
823
void GL_APIENTRY glDrawTexxOES(GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height)
824
{
825
return GL_DrawTexxOES(x, y, z, width, height);
826
}
827
828
void GL_APIENTRY glDrawTexxvOES(const GLfixed *coords)
829
{
830
return GL_DrawTexxvOES(coords);
831
}
832
833
// GL_OES_matrix_palette
834
void GL_APIENTRY glCurrentPaletteMatrixOES(GLuint matrixpaletteindex)
835
{
836
return GL_CurrentPaletteMatrixOES(matrixpaletteindex);
837
}
838
839
void GL_APIENTRY glLoadPaletteFromModelViewMatrixOES()
840
{
841
return GL_LoadPaletteFromModelViewMatrixOES();
842
}
843
844
void GL_APIENTRY glMatrixIndexPointerOES(GLint size,
845
GLenum type,
846
GLsizei stride,
847
const void *pointer)
848
{
849
return GL_MatrixIndexPointerOES(size, type, stride, pointer);
850
}
851
852
void GL_APIENTRY glWeightPointerOES(GLint size, GLenum type, GLsizei stride, const void *pointer)
853
{
854
return GL_WeightPointerOES(size, type, stride, pointer);
855
}
856
857
// GL_OES_point_size_array
858
void GL_APIENTRY glPointSizePointerOES(GLenum type, GLsizei stride, const void *pointer)
859
{
860
return GL_PointSizePointerOES(type, stride, pointer);
861
}
862
863
// GL_OES_query_matrix
864
GLbitfield GL_APIENTRY glQueryMatrixxOES(GLfixed *mantissa, GLint *exponent)
865
{
866
return GL_QueryMatrixxOES(mantissa, exponent);
867
}
868
869
} // extern "C"
870
871