blob: 4a9d708e6c8dac1f8fb2b307cc0d06ab576e79f4 [file] [log] [blame]
Geoff Lang2aaa7b42018-01-12 17:17:27 -05001//
2// Copyright (c) 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// validationES1.cpp: Validation functions for OpenGL ES 1.0 entry point parameters
8
9#include "libANGLE/validationES1.h"
10
11#include "common/debug.h"
Lingfeng Yang13b708f2018-03-21 12:14:10 -070012#include "libANGLE/Context.h"
13#include "libANGLE/ErrorStrings.h"
Lingfeng Yang038dd532018-03-29 17:31:52 -070014#include "libANGLE/validationES.h"
Lingfeng Yang13b708f2018-03-21 12:14:10 -070015
16#define ANGLE_VALIDATE_IS_GLES1(context) \
17 if (context->getClientMajorVersion() > 1) \
18 { \
19 ANGLE_VALIDATION_ERR(context, InvalidOperation(), GLES1Only); \
20 return false; \
21 }
22
23namespace
24{
25
26bool ValidateAlphaFuncCommon(gl::Context *context, gl::AlphaTestFunc func)
27{
28 switch (func)
29 {
30 case gl::AlphaTestFunc::AlwaysPass:
31 case gl::AlphaTestFunc::Equal:
32 case gl::AlphaTestFunc::Gequal:
33 case gl::AlphaTestFunc::Greater:
34 case gl::AlphaTestFunc::Lequal:
35 case gl::AlphaTestFunc::Less:
36 case gl::AlphaTestFunc::Never:
37 case gl::AlphaTestFunc::NotEqual:
38 return true;
39 default:
40 context->handleError(gl::InvalidEnum() << gl::kErrorEnumNotSupported);
41 return false;
42 }
43}
44
45} // anonymous namespace
Geoff Lang2aaa7b42018-01-12 17:17:27 -050046
47namespace gl
48{
49
Lingfeng Yang13b708f2018-03-21 12:14:10 -070050bool ValidateAlphaFunc(Context *context, AlphaTestFunc func, GLfloat ref)
Geoff Lang2aaa7b42018-01-12 17:17:27 -050051{
Lingfeng Yang13b708f2018-03-21 12:14:10 -070052 ANGLE_VALIDATE_IS_GLES1(context);
53 return ValidateAlphaFuncCommon(context, func);
Geoff Lang2aaa7b42018-01-12 17:17:27 -050054}
55
Lingfeng Yang13b708f2018-03-21 12:14:10 -070056bool ValidateAlphaFuncx(Context *context, AlphaTestFunc func, GLfixed ref)
Geoff Lang2aaa7b42018-01-12 17:17:27 -050057{
Lingfeng Yang13b708f2018-03-21 12:14:10 -070058 ANGLE_VALIDATE_IS_GLES1(context);
59 return ValidateAlphaFuncCommon(context, func);
Geoff Lang2aaa7b42018-01-12 17:17:27 -050060}
61
62bool ValidateClearColorx(Context *context, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha)
63{
64 UNIMPLEMENTED();
65 return true;
66}
67
68bool ValidateClearDepthx(Context *context, GLfixed depth)
69{
70 UNIMPLEMENTED();
71 return true;
72}
73
74bool ValidateClientActiveTexture(Context *context, GLenum texture)
75{
Lingfeng Yang96310cd2018-03-28 11:56:28 -070076 ANGLE_VALIDATE_IS_GLES1(context);
Lingfeng Yang038dd532018-03-29 17:31:52 -070077 return ValidateMultitextureUnit(context, texture);
Geoff Lang2aaa7b42018-01-12 17:17:27 -050078}
79
80bool ValidateClipPlanef(Context *context, GLenum p, const GLfloat *eqn)
81{
82 UNIMPLEMENTED();
83 return true;
84}
85
86bool ValidateClipPlanex(Context *context, GLenum plane, const GLfixed *equation)
87{
88 UNIMPLEMENTED();
89 return true;
90}
91
92bool ValidateColor4f(Context *context, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
93{
Lingfeng Yanga43994c2018-03-29 07:21:41 -070094 ANGLE_VALIDATE_IS_GLES1(context);
Geoff Lang2aaa7b42018-01-12 17:17:27 -050095 return true;
96}
97
98bool ValidateColor4ub(Context *context, GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha)
99{
Lingfeng Yanga43994c2018-03-29 07:21:41 -0700100 ANGLE_VALIDATE_IS_GLES1(context);
Geoff Lang2aaa7b42018-01-12 17:17:27 -0500101 return true;
102}
103
104bool ValidateColor4x(Context *context, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha)
105{
Lingfeng Yanga43994c2018-03-29 07:21:41 -0700106 ANGLE_VALIDATE_IS_GLES1(context);
Geoff Lang2aaa7b42018-01-12 17:17:27 -0500107 return true;
108}
109
110bool ValidateColorPointer(Context *context,
111 GLint size,
112 GLenum type,
113 GLsizei stride,
114 const void *pointer)
115{
116 UNIMPLEMENTED();
117 return true;
118}
119
120bool ValidateCullFace(Context *context, GLenum mode)
121{
122 UNIMPLEMENTED();
123 return true;
124}
125
126bool ValidateDepthRangex(Context *context, GLfixed n, GLfixed f)
127{
128 UNIMPLEMENTED();
129 return true;
130}
131
132bool ValidateDisableClientState(Context *context, GLenum array)
133{
134 UNIMPLEMENTED();
135 return true;
136}
137
138bool ValidateEnableClientState(Context *context, GLenum array)
139{
140 UNIMPLEMENTED();
141 return true;
142}
143
144bool ValidateFogf(Context *context, GLenum pname, GLfloat param)
145{
146 UNIMPLEMENTED();
147 return true;
148}
149
150bool ValidateFogfv(Context *context, GLenum pname, const GLfloat *params)
151{
152 UNIMPLEMENTED();
153 return true;
154}
155
156bool ValidateFogx(Context *context, GLenum pname, GLfixed param)
157{
158 UNIMPLEMENTED();
159 return true;
160}
161
162bool ValidateFogxv(Context *context, GLenum pname, const GLfixed *param)
163{
164 UNIMPLEMENTED();
165 return true;
166}
167
168bool ValidateFrustumf(Context *context,
169 GLfloat l,
170 GLfloat r,
171 GLfloat b,
172 GLfloat t,
173 GLfloat n,
174 GLfloat f)
175{
176 UNIMPLEMENTED();
177 return true;
178}
179
180bool ValidateFrustumx(Context *context,
181 GLfixed l,
182 GLfixed r,
183 GLfixed b,
184 GLfixed t,
185 GLfixed n,
186 GLfixed f)
187{
188 UNIMPLEMENTED();
189 return true;
190}
191
192bool ValidateGetBufferParameteriv(Context *context, GLenum target, GLenum pname, GLint *params)
193{
194 UNIMPLEMENTED();
195 return true;
196}
197
198bool ValidateGetClipPlanef(Context *context, GLenum plane, GLfloat *equation)
199{
200 UNIMPLEMENTED();
201 return true;
202}
203
204bool ValidateGetClipPlanex(Context *context, GLenum plane, GLfixed *equation)
205{
206 UNIMPLEMENTED();
207 return true;
208}
209
210bool ValidateGetFixedv(Context *context, GLenum pname, GLfixed *params)
211{
212 UNIMPLEMENTED();
213 return true;
214}
215
216bool ValidateGetLightfv(Context *context, GLenum light, GLenum pname, GLfloat *params)
217{
218 UNIMPLEMENTED();
219 return true;
220}
221
222bool ValidateGetLightxv(Context *context, GLenum light, GLenum pname, GLfixed *params)
223{
224 UNIMPLEMENTED();
225 return true;
226}
227
228bool ValidateGetMaterialfv(Context *context, GLenum face, GLenum pname, GLfloat *params)
229{
230 UNIMPLEMENTED();
231 return true;
232}
233
234bool ValidateGetMaterialxv(Context *context, GLenum face, GLenum pname, GLfixed *params)
235{
236 UNIMPLEMENTED();
237 return true;
238}
239
240bool ValidateGetPointerv(Context *context, GLenum pname, void **params)
241{
242 UNIMPLEMENTED();
243 return true;
244}
245
246bool ValidateGetTexEnvfv(Context *context, GLenum target, GLenum pname, GLfloat *params)
247{
248 UNIMPLEMENTED();
249 return true;
250}
251
252bool ValidateGetTexEnviv(Context *context, GLenum target, GLenum pname, GLint *params)
253{
254 UNIMPLEMENTED();
255 return true;
256}
257
258bool ValidateGetTexEnvxv(Context *context, GLenum target, GLenum pname, GLfixed *params)
259{
260 UNIMPLEMENTED();
261 return true;
262}
263
Corentin Wallezf0e89be2017-11-08 14:00:32 -0800264bool ValidateGetTexParameterxv(Context *context, TextureType target, GLenum pname, GLfixed *params)
Geoff Lang2aaa7b42018-01-12 17:17:27 -0500265{
266 UNIMPLEMENTED();
267 return true;
268}
269
270bool ValidateLightModelf(Context *context, GLenum pname, GLfloat param)
271{
272 UNIMPLEMENTED();
273 return true;
274}
275
276bool ValidateLightModelfv(Context *context, GLenum pname, const GLfloat *params)
277{
278 UNIMPLEMENTED();
279 return true;
280}
281
282bool ValidateLightModelx(Context *context, GLenum pname, GLfixed param)
283{
284 UNIMPLEMENTED();
285 return true;
286}
287
288bool ValidateLightModelxv(Context *context, GLenum pname, const GLfixed *param)
289{
290 UNIMPLEMENTED();
291 return true;
292}
293
294bool ValidateLightf(Context *context, GLenum light, GLenum pname, GLfloat param)
295{
296 UNIMPLEMENTED();
297 return true;
298}
299
300bool ValidateLightfv(Context *context, GLenum light, GLenum pname, const GLfloat *params)
301{
302 UNIMPLEMENTED();
303 return true;
304}
305
306bool ValidateLightx(Context *context, GLenum light, GLenum pname, GLfixed param)
307{
308 UNIMPLEMENTED();
309 return true;
310}
311
312bool ValidateLightxv(Context *context, GLenum light, GLenum pname, const GLfixed *params)
313{
314 UNIMPLEMENTED();
315 return true;
316}
317
318bool ValidateLineWidthx(Context *context, GLfixed width)
319{
320 UNIMPLEMENTED();
321 return true;
322}
323
324bool ValidateLoadIdentity(Context *context)
325{
326 UNIMPLEMENTED();
327 return true;
328}
329
330bool ValidateLoadMatrixf(Context *context, const GLfloat *m)
331{
332 UNIMPLEMENTED();
333 return true;
334}
335
336bool ValidateLoadMatrixx(Context *context, const GLfixed *m)
337{
338 UNIMPLEMENTED();
339 return true;
340}
341
342bool ValidateLogicOp(Context *context, GLenum opcode)
343{
344 UNIMPLEMENTED();
345 return true;
346}
347
348bool ValidateMaterialf(Context *context, GLenum face, GLenum pname, GLfloat param)
349{
350 UNIMPLEMENTED();
351 return true;
352}
353
354bool ValidateMaterialfv(Context *context, GLenum face, GLenum pname, const GLfloat *params)
355{
356 UNIMPLEMENTED();
357 return true;
358}
359
360bool ValidateMaterialx(Context *context, GLenum face, GLenum pname, GLfixed param)
361{
362 UNIMPLEMENTED();
363 return true;
364}
365
366bool ValidateMaterialxv(Context *context, GLenum face, GLenum pname, const GLfixed *param)
367{
368 UNIMPLEMENTED();
369 return true;
370}
371
Lingfeng Yang00af4632018-04-02 12:42:24 -0700372bool ValidateMatrixMode(Context *context, MatrixType mode)
Geoff Lang2aaa7b42018-01-12 17:17:27 -0500373{
374 UNIMPLEMENTED();
375 return true;
376}
377
378bool ValidateMultMatrixf(Context *context, const GLfloat *m)
379{
380 UNIMPLEMENTED();
381 return true;
382}
383
384bool ValidateMultMatrixx(Context *context, const GLfixed *m)
385{
386 UNIMPLEMENTED();
387 return true;
388}
389
390bool ValidateMultiTexCoord4f(Context *context,
391 GLenum target,
392 GLfloat s,
393 GLfloat t,
394 GLfloat r,
395 GLfloat q)
396{
Lingfeng Yang038dd532018-03-29 17:31:52 -0700397 ANGLE_VALIDATE_IS_GLES1(context);
398 return ValidateMultitextureUnit(context, target);
Geoff Lang2aaa7b42018-01-12 17:17:27 -0500399}
400
401bool ValidateMultiTexCoord4x(Context *context,
Lingfeng Yang038dd532018-03-29 17:31:52 -0700402 GLenum target,
Geoff Lang2aaa7b42018-01-12 17:17:27 -0500403 GLfixed s,
404 GLfixed t,
405 GLfixed r,
406 GLfixed q)
407{
Lingfeng Yang038dd532018-03-29 17:31:52 -0700408 ANGLE_VALIDATE_IS_GLES1(context);
409 return ValidateMultitextureUnit(context, target);
Geoff Lang2aaa7b42018-01-12 17:17:27 -0500410}
411
412bool ValidateNormal3f(Context *context, GLfloat nx, GLfloat ny, GLfloat nz)
413{
Lingfeng Yang5a7e61b2018-03-29 16:50:32 -0700414 ANGLE_VALIDATE_IS_GLES1(context);
Geoff Lang2aaa7b42018-01-12 17:17:27 -0500415 return true;
416}
417
418bool ValidateNormal3x(Context *context, GLfixed nx, GLfixed ny, GLfixed nz)
419{
Lingfeng Yang5a7e61b2018-03-29 16:50:32 -0700420 ANGLE_VALIDATE_IS_GLES1(context);
Geoff Lang2aaa7b42018-01-12 17:17:27 -0500421 return true;
422}
423
424bool ValidateNormalPointer(Context *context, GLenum type, GLsizei stride, const void *pointer)
425{
426 UNIMPLEMENTED();
427 return true;
428}
429
430bool ValidateOrthof(Context *context,
431 GLfloat l,
432 GLfloat r,
433 GLfloat b,
434 GLfloat t,
435 GLfloat n,
436 GLfloat f)
437{
438 UNIMPLEMENTED();
439 return true;
440}
441
442bool ValidateOrthox(Context *context,
443 GLfixed l,
444 GLfixed r,
445 GLfixed b,
446 GLfixed t,
447 GLfixed n,
448 GLfixed f)
449{
450 UNIMPLEMENTED();
451 return true;
452}
453
454bool ValidatePointParameterf(Context *context, GLenum pname, GLfloat param)
455{
456 UNIMPLEMENTED();
457 return true;
458}
459
460bool ValidatePointParameterfv(Context *context, GLenum pname, const GLfloat *params)
461{
462 UNIMPLEMENTED();
463 return true;
464}
465
466bool ValidatePointParameterx(Context *context, GLenum pname, GLfixed param)
467{
468 UNIMPLEMENTED();
469 return true;
470}
471
472bool ValidatePointParameterxv(Context *context, GLenum pname, const GLfixed *params)
473{
474 UNIMPLEMENTED();
475 return true;
476}
477
478bool ValidatePointSize(Context *context, GLfloat size)
479{
480 UNIMPLEMENTED();
481 return true;
482}
483
484bool ValidatePointSizex(Context *context, GLfixed size)
485{
486 UNIMPLEMENTED();
487 return true;
488}
489
490bool ValidatePolygonOffsetx(Context *context, GLfixed factor, GLfixed units)
491{
492 UNIMPLEMENTED();
493 return true;
494}
495
496bool ValidatePopMatrix(Context *context)
497{
498 UNIMPLEMENTED();
499 return true;
500}
501
502bool ValidatePushMatrix(Context *context)
503{
504 UNIMPLEMENTED();
505 return true;
506}
507
508bool ValidateRotatef(Context *context, GLfloat angle, GLfloat x, GLfloat y, GLfloat z)
509{
510 UNIMPLEMENTED();
511 return true;
512}
513
514bool ValidateRotatex(Context *context, GLfixed angle, GLfixed x, GLfixed y, GLfixed z)
515{
516 UNIMPLEMENTED();
517 return true;
518}
519
520bool ValidateSampleCoveragex(Context *context, GLclampx value, GLboolean invert)
521{
522 UNIMPLEMENTED();
523 return true;
524}
525
526bool ValidateScalef(Context *context, GLfloat x, GLfloat y, GLfloat z)
527{
528 UNIMPLEMENTED();
529 return true;
530}
531
532bool ValidateScalex(Context *context, GLfixed x, GLfixed y, GLfixed z)
533{
534 UNIMPLEMENTED();
535 return true;
536}
537
538bool ValidateShadeModel(Context *context, GLenum mode)
539{
540 UNIMPLEMENTED();
541 return true;
542}
543
544bool ValidateTexCoordPointer(Context *context,
545 GLint size,
546 GLenum type,
547 GLsizei stride,
548 const void *pointer)
549{
550 UNIMPLEMENTED();
551 return true;
552}
553
554bool ValidateTexEnvf(Context *context, GLenum target, GLenum pname, GLfloat param)
555{
556 UNIMPLEMENTED();
557 return true;
558}
559
560bool ValidateTexEnvfv(Context *context, GLenum target, GLenum pname, const GLfloat *params)
561{
562 UNIMPLEMENTED();
563 return true;
564}
565
566bool ValidateTexEnvi(Context *context, GLenum target, GLenum pname, GLint param)
567{
568 UNIMPLEMENTED();
569 return true;
570}
571
572bool ValidateTexEnviv(Context *context, GLenum target, GLenum pname, const GLint *params)
573{
574 UNIMPLEMENTED();
575 return true;
576}
577
578bool ValidateTexEnvx(Context *context, GLenum target, GLenum pname, GLfixed param)
579{
580 UNIMPLEMENTED();
581 return true;
582}
583
584bool ValidateTexEnvxv(Context *context, GLenum target, GLenum pname, const GLfixed *params)
585{
586 UNIMPLEMENTED();
587 return true;
588}
589
Corentin Wallezf0e89be2017-11-08 14:00:32 -0800590bool ValidateTexParameterx(Context *context, TextureType target, GLenum pname, GLfixed param)
Geoff Lang2aaa7b42018-01-12 17:17:27 -0500591{
592 UNIMPLEMENTED();
593 return true;
594}
595
Corentin Wallezf0e89be2017-11-08 14:00:32 -0800596bool ValidateTexParameterxv(Context *context,
597 TextureType target,
598 GLenum pname,
599 const GLfixed *params)
Geoff Lang2aaa7b42018-01-12 17:17:27 -0500600{
601 UNIMPLEMENTED();
602 return true;
603}
604
605bool ValidateTranslatef(Context *context, GLfloat x, GLfloat y, GLfloat z)
606{
607 UNIMPLEMENTED();
608 return true;
609}
610
611bool ValidateTranslatex(Context *context, GLfixed x, GLfixed y, GLfixed z)
612{
613 UNIMPLEMENTED();
614 return true;
615}
616
617bool ValidateVertexPointer(Context *context,
618 GLint size,
619 GLenum type,
620 GLsizei stride,
621 const void *pointer)
622{
623 UNIMPLEMENTED();
624 return true;
625}
626
627bool ValidateDrawTexfOES(Context *context,
628 GLfloat x,
629 GLfloat y,
630 GLfloat z,
631 GLfloat width,
632 GLfloat height)
633{
634 UNIMPLEMENTED();
635 return true;
636}
637
638bool ValidateDrawTexfvOES(Context *context, const GLfloat *coords)
639{
640 UNIMPLEMENTED();
641 return true;
642}
643
644bool ValidateDrawTexiOES(Context *context, GLint x, GLint y, GLint z, GLint width, GLint height)
645{
646 UNIMPLEMENTED();
647 return true;
648}
649
650bool ValidateDrawTexivOES(Context *context, const GLint *coords)
651{
652 UNIMPLEMENTED();
653 return true;
654}
655
656bool ValidateDrawTexsOES(Context *context,
657 GLshort x,
658 GLshort y,
659 GLshort z,
660 GLshort width,
661 GLshort height)
662{
663 UNIMPLEMENTED();
664 return true;
665}
666
667bool ValidateDrawTexsvOES(Context *context, const GLshort *coords)
668{
669 UNIMPLEMENTED();
670 return true;
671}
672
673bool ValidateDrawTexxOES(Context *context,
674 GLfixed x,
675 GLfixed y,
676 GLfixed z,
677 GLfixed width,
678 GLfixed height)
679{
680 UNIMPLEMENTED();
681 return true;
682}
683
684bool ValidateDrawTexxvOES(Context *context, const GLfixed *coords)
685{
686 UNIMPLEMENTED();
687 return true;
688}
689
690bool ValidateCurrentPaletteMatrixOES(Context *context, GLuint matrixpaletteindex)
691{
692 UNIMPLEMENTED();
693 return true;
694}
695
696bool ValidateLoadPaletteFromModelViewMatrixOES(Context *context)
697{
698 UNIMPLEMENTED();
699 return true;
700}
701
702bool ValidateMatrixIndexPointerOES(Context *context,
703 GLint size,
704 GLenum type,
705 GLsizei stride,
706 const void *pointer)
707{
708 UNIMPLEMENTED();
709 return true;
710}
711
712bool ValidateWeightPointerOES(Context *context,
713 GLint size,
714 GLenum type,
715 GLsizei stride,
716 const void *pointer)
717{
718 UNIMPLEMENTED();
719 return true;
720}
721
722bool ValidatePointSizePointerOES(Context *context, GLenum type, GLsizei stride, const void *pointer)
723{
724 UNIMPLEMENTED();
725 return true;
726}
727
728bool ValidateQueryMatrixxOES(Context *context, GLfixed *mantissa, GLint *exponent)
729{
730 UNIMPLEMENTED();
731 return true;
732}
Lingfeng Yanga0648782018-03-12 14:45:25 -0700733
734bool ValidateGenFramebuffersOES(Context *context, GLsizei n, GLuint *framebuffers)
735{
736 UNIMPLEMENTED();
737 return true;
738}
739
740bool ValidateDeleteFramebuffersOES(Context *context, GLsizei n, const GLuint *framebuffers)
741{
742 UNIMPLEMENTED();
743 return true;
744}
745
746bool ValidateGenRenderbuffersOES(Context *context, GLsizei n, GLuint *renderbuffers)
747{
748 UNIMPLEMENTED();
749 return true;
750}
751
752bool ValidateDeleteRenderbuffersOES(Context *context, GLsizei n, const GLuint *renderbuffers)
753{
754 UNIMPLEMENTED();
755 return true;
756}
757
758bool ValidateBindFramebufferOES(Context *context, GLenum target, GLuint framebuffer)
759{
760 UNIMPLEMENTED();
761 return true;
762}
763
764bool ValidateBindRenderbufferOES(Context *context, GLenum target, GLuint renderbuffer)
765{
766 UNIMPLEMENTED();
767 return true;
768}
769
770bool ValidateCheckFramebufferStatusOES(Context *context, GLenum target)
771{
772 UNIMPLEMENTED();
773 return true;
774}
775
776bool ValidateFramebufferRenderbufferOES(Context *context,
777 GLenum target,
778 GLenum attachment,
779 GLenum rbtarget,
780 GLuint renderbuffer)
781{
782 UNIMPLEMENTED();
783 return true;
784}
785
786bool ValidateFramebufferTexture2DOES(Context *context,
787 GLenum target,
788 GLenum attachment,
789 TextureTarget textarget,
790 GLuint texture,
791 GLint level)
792{
793 UNIMPLEMENTED();
794 return true;
795}
796
797bool ValidateGenerateMipmapOES(Context *context, TextureType target)
798{
799 UNIMPLEMENTED();
800 return true;
801}
802
803bool ValidateGetFramebufferAttachmentParameterivOES(Context *context,
804 GLenum target,
805 GLenum attachment,
806 GLenum pname,
807 GLint *params)
808{
809 UNIMPLEMENTED();
810 return true;
811}
812
813bool ValidateGetRenderbufferParameterivOES(Context *context,
814 GLenum target,
815 GLenum pname,
816 GLint *params)
817{
818 UNIMPLEMENTED();
819 return true;
820}
821
822bool ValidateIsFramebufferOES(Context *context, GLuint framebuffer)
823{
824 UNIMPLEMENTED();
825 return true;
826}
827
828bool ValidateIsRenderbufferOES(Context *context, GLuint renderbuffer)
829{
830 UNIMPLEMENTED();
831 return true;
832}
833
834bool ValidateRenderbufferStorageOES(Context *context,
835 GLenum target,
836 GLint internalformat,
837 GLsizei width,
838 GLsizei height)
839{
840 UNIMPLEMENTED();
841 return true;
842}
843
844// GL_OES_texture_cube_map
845
846bool ValidateGetTexGenfvOES(Context *context, GLenum coord, GLenum pname, GLfloat *params)
847{
848 UNIMPLEMENTED();
849 return true;
850}
851
852bool ValidateGetTexGenivOES(Context *context, GLenum coord, GLenum pname, int *params)
853{
854 UNIMPLEMENTED();
855 return true;
856}
857
858bool ValidateGetTexGenxvOES(Context *context, GLenum coord, GLenum pname, GLfixed *params)
859{
860 UNIMPLEMENTED();
861 return true;
862}
863
864bool ValidateTexGenfvOES(Context *context, GLenum coord, GLenum pname, const GLfloat *params)
865{
866 UNIMPLEMENTED();
867 return true;
868}
869
870bool ValidateTexGenivOES(Context *context, GLenum coord, GLenum pname, const GLint *param)
871{
872 UNIMPLEMENTED();
873 return true;
874}
875
876bool ValidateTexGenxvOES(Context *context, GLenum coord, GLenum pname, const GLint *param)
877{
878 UNIMPLEMENTED();
879 return true;
880}
881
882bool ValidateTexGenfOES(Context *context, GLenum coord, GLenum pname, GLfloat param)
883{
884 UNIMPLEMENTED();
885 return true;
886}
887
888bool ValidateTexGeniOES(Context *context, GLenum coord, GLenum pname, GLint param)
889{
890 UNIMPLEMENTED();
891 return true;
892}
893
894bool ValidateTexGenxOES(Context *context, GLenum coord, GLenum pname, GLfixed param)
895{
896 UNIMPLEMENTED();
897 return true;
898}
Geoff Lang2aaa7b42018-01-12 17:17:27 -0500899}