blob: f713129f78049113c5460d7150d75d2a9e11b044 [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"
12
13namespace gl
14{
15
16bool ValidateAlphaFunc(Context *context, GLenum func, GLfloat ref)
17{
18 UNIMPLEMENTED();
19 return true;
20}
21
22bool ValidateAlphaFuncx(Context *context, GLenum func, GLfixed ref)
23{
24 UNIMPLEMENTED();
25 return true;
26}
27
28bool ValidateClearColorx(Context *context, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha)
29{
30 UNIMPLEMENTED();
31 return true;
32}
33
34bool ValidateClearDepthx(Context *context, GLfixed depth)
35{
36 UNIMPLEMENTED();
37 return true;
38}
39
40bool ValidateClientActiveTexture(Context *context, GLenum texture)
41{
42 UNIMPLEMENTED();
43 return true;
44}
45
46bool ValidateClipPlanef(Context *context, GLenum p, const GLfloat *eqn)
47{
48 UNIMPLEMENTED();
49 return true;
50}
51
52bool ValidateClipPlanex(Context *context, GLenum plane, const GLfixed *equation)
53{
54 UNIMPLEMENTED();
55 return true;
56}
57
58bool ValidateColor4f(Context *context, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
59{
60 UNIMPLEMENTED();
61 return true;
62}
63
64bool ValidateColor4ub(Context *context, GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha)
65{
66 UNIMPLEMENTED();
67 return true;
68}
69
70bool ValidateColor4x(Context *context, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha)
71{
72 UNIMPLEMENTED();
73 return true;
74}
75
76bool ValidateColorPointer(Context *context,
77 GLint size,
78 GLenum type,
79 GLsizei stride,
80 const void *pointer)
81{
82 UNIMPLEMENTED();
83 return true;
84}
85
86bool ValidateCullFace(Context *context, GLenum mode)
87{
88 UNIMPLEMENTED();
89 return true;
90}
91
92bool ValidateDepthRangex(Context *context, GLfixed n, GLfixed f)
93{
94 UNIMPLEMENTED();
95 return true;
96}
97
98bool ValidateDisableClientState(Context *context, GLenum array)
99{
100 UNIMPLEMENTED();
101 return true;
102}
103
104bool ValidateEnableClientState(Context *context, GLenum array)
105{
106 UNIMPLEMENTED();
107 return true;
108}
109
110bool ValidateFogf(Context *context, GLenum pname, GLfloat param)
111{
112 UNIMPLEMENTED();
113 return true;
114}
115
116bool ValidateFogfv(Context *context, GLenum pname, const GLfloat *params)
117{
118 UNIMPLEMENTED();
119 return true;
120}
121
122bool ValidateFogx(Context *context, GLenum pname, GLfixed param)
123{
124 UNIMPLEMENTED();
125 return true;
126}
127
128bool ValidateFogxv(Context *context, GLenum pname, const GLfixed *param)
129{
130 UNIMPLEMENTED();
131 return true;
132}
133
134bool ValidateFrustumf(Context *context,
135 GLfloat l,
136 GLfloat r,
137 GLfloat b,
138 GLfloat t,
139 GLfloat n,
140 GLfloat f)
141{
142 UNIMPLEMENTED();
143 return true;
144}
145
146bool ValidateFrustumx(Context *context,
147 GLfixed l,
148 GLfixed r,
149 GLfixed b,
150 GLfixed t,
151 GLfixed n,
152 GLfixed f)
153{
154 UNIMPLEMENTED();
155 return true;
156}
157
158bool ValidateGetBufferParameteriv(Context *context, GLenum target, GLenum pname, GLint *params)
159{
160 UNIMPLEMENTED();
161 return true;
162}
163
164bool ValidateGetClipPlanef(Context *context, GLenum plane, GLfloat *equation)
165{
166 UNIMPLEMENTED();
167 return true;
168}
169
170bool ValidateGetClipPlanex(Context *context, GLenum plane, GLfixed *equation)
171{
172 UNIMPLEMENTED();
173 return true;
174}
175
176bool ValidateGetFixedv(Context *context, GLenum pname, GLfixed *params)
177{
178 UNIMPLEMENTED();
179 return true;
180}
181
182bool ValidateGetLightfv(Context *context, GLenum light, GLenum pname, GLfloat *params)
183{
184 UNIMPLEMENTED();
185 return true;
186}
187
188bool ValidateGetLightxv(Context *context, GLenum light, GLenum pname, GLfixed *params)
189{
190 UNIMPLEMENTED();
191 return true;
192}
193
194bool ValidateGetMaterialfv(Context *context, GLenum face, GLenum pname, GLfloat *params)
195{
196 UNIMPLEMENTED();
197 return true;
198}
199
200bool ValidateGetMaterialxv(Context *context, GLenum face, GLenum pname, GLfixed *params)
201{
202 UNIMPLEMENTED();
203 return true;
204}
205
206bool ValidateGetPointerv(Context *context, GLenum pname, void **params)
207{
208 UNIMPLEMENTED();
209 return true;
210}
211
212bool ValidateGetTexEnvfv(Context *context, GLenum target, GLenum pname, GLfloat *params)
213{
214 UNIMPLEMENTED();
215 return true;
216}
217
218bool ValidateGetTexEnviv(Context *context, GLenum target, GLenum pname, GLint *params)
219{
220 UNIMPLEMENTED();
221 return true;
222}
223
224bool ValidateGetTexEnvxv(Context *context, GLenum target, GLenum pname, GLfixed *params)
225{
226 UNIMPLEMENTED();
227 return true;
228}
229
230bool ValidateGetTexParameterxv(Context *context, GLenum target, GLenum pname, GLfixed *params)
231{
232 UNIMPLEMENTED();
233 return true;
234}
235
236bool ValidateLightModelf(Context *context, GLenum pname, GLfloat param)
237{
238 UNIMPLEMENTED();
239 return true;
240}
241
242bool ValidateLightModelfv(Context *context, GLenum pname, const GLfloat *params)
243{
244 UNIMPLEMENTED();
245 return true;
246}
247
248bool ValidateLightModelx(Context *context, GLenum pname, GLfixed param)
249{
250 UNIMPLEMENTED();
251 return true;
252}
253
254bool ValidateLightModelxv(Context *context, GLenum pname, const GLfixed *param)
255{
256 UNIMPLEMENTED();
257 return true;
258}
259
260bool ValidateLightf(Context *context, GLenum light, GLenum pname, GLfloat param)
261{
262 UNIMPLEMENTED();
263 return true;
264}
265
266bool ValidateLightfv(Context *context, GLenum light, GLenum pname, const GLfloat *params)
267{
268 UNIMPLEMENTED();
269 return true;
270}
271
272bool ValidateLightx(Context *context, GLenum light, GLenum pname, GLfixed param)
273{
274 UNIMPLEMENTED();
275 return true;
276}
277
278bool ValidateLightxv(Context *context, GLenum light, GLenum pname, const GLfixed *params)
279{
280 UNIMPLEMENTED();
281 return true;
282}
283
284bool ValidateLineWidthx(Context *context, GLfixed width)
285{
286 UNIMPLEMENTED();
287 return true;
288}
289
290bool ValidateLoadIdentity(Context *context)
291{
292 UNIMPLEMENTED();
293 return true;
294}
295
296bool ValidateLoadMatrixf(Context *context, const GLfloat *m)
297{
298 UNIMPLEMENTED();
299 return true;
300}
301
302bool ValidateLoadMatrixx(Context *context, const GLfixed *m)
303{
304 UNIMPLEMENTED();
305 return true;
306}
307
308bool ValidateLogicOp(Context *context, GLenum opcode)
309{
310 UNIMPLEMENTED();
311 return true;
312}
313
314bool ValidateMaterialf(Context *context, GLenum face, GLenum pname, GLfloat param)
315{
316 UNIMPLEMENTED();
317 return true;
318}
319
320bool ValidateMaterialfv(Context *context, GLenum face, GLenum pname, const GLfloat *params)
321{
322 UNIMPLEMENTED();
323 return true;
324}
325
326bool ValidateMaterialx(Context *context, GLenum face, GLenum pname, GLfixed param)
327{
328 UNIMPLEMENTED();
329 return true;
330}
331
332bool ValidateMaterialxv(Context *context, GLenum face, GLenum pname, const GLfixed *param)
333{
334 UNIMPLEMENTED();
335 return true;
336}
337
338bool ValidateMatrixMode(Context *context, GLenum mode)
339{
340 UNIMPLEMENTED();
341 return true;
342}
343
344bool ValidateMultMatrixf(Context *context, const GLfloat *m)
345{
346 UNIMPLEMENTED();
347 return true;
348}
349
350bool ValidateMultMatrixx(Context *context, const GLfixed *m)
351{
352 UNIMPLEMENTED();
353 return true;
354}
355
356bool ValidateMultiTexCoord4f(Context *context,
357 GLenum target,
358 GLfloat s,
359 GLfloat t,
360 GLfloat r,
361 GLfloat q)
362{
363 UNIMPLEMENTED();
364 return true;
365}
366
367bool ValidateMultiTexCoord4x(Context *context,
368 GLenum texture,
369 GLfixed s,
370 GLfixed t,
371 GLfixed r,
372 GLfixed q)
373{
374 UNIMPLEMENTED();
375 return true;
376}
377
378bool ValidateNormal3f(Context *context, GLfloat nx, GLfloat ny, GLfloat nz)
379{
380 UNIMPLEMENTED();
381 return true;
382}
383
384bool ValidateNormal3x(Context *context, GLfixed nx, GLfixed ny, GLfixed nz)
385{
386 UNIMPLEMENTED();
387 return true;
388}
389
390bool ValidateNormalPointer(Context *context, GLenum type, GLsizei stride, const void *pointer)
391{
392 UNIMPLEMENTED();
393 return true;
394}
395
396bool ValidateOrthof(Context *context,
397 GLfloat l,
398 GLfloat r,
399 GLfloat b,
400 GLfloat t,
401 GLfloat n,
402 GLfloat f)
403{
404 UNIMPLEMENTED();
405 return true;
406}
407
408bool ValidateOrthox(Context *context,
409 GLfixed l,
410 GLfixed r,
411 GLfixed b,
412 GLfixed t,
413 GLfixed n,
414 GLfixed f)
415{
416 UNIMPLEMENTED();
417 return true;
418}
419
420bool ValidatePointParameterf(Context *context, GLenum pname, GLfloat param)
421{
422 UNIMPLEMENTED();
423 return true;
424}
425
426bool ValidatePointParameterfv(Context *context, GLenum pname, const GLfloat *params)
427{
428 UNIMPLEMENTED();
429 return true;
430}
431
432bool ValidatePointParameterx(Context *context, GLenum pname, GLfixed param)
433{
434 UNIMPLEMENTED();
435 return true;
436}
437
438bool ValidatePointParameterxv(Context *context, GLenum pname, const GLfixed *params)
439{
440 UNIMPLEMENTED();
441 return true;
442}
443
444bool ValidatePointSize(Context *context, GLfloat size)
445{
446 UNIMPLEMENTED();
447 return true;
448}
449
450bool ValidatePointSizex(Context *context, GLfixed size)
451{
452 UNIMPLEMENTED();
453 return true;
454}
455
456bool ValidatePolygonOffsetx(Context *context, GLfixed factor, GLfixed units)
457{
458 UNIMPLEMENTED();
459 return true;
460}
461
462bool ValidatePopMatrix(Context *context)
463{
464 UNIMPLEMENTED();
465 return true;
466}
467
468bool ValidatePushMatrix(Context *context)
469{
470 UNIMPLEMENTED();
471 return true;
472}
473
474bool ValidateRotatef(Context *context, GLfloat angle, GLfloat x, GLfloat y, GLfloat z)
475{
476 UNIMPLEMENTED();
477 return true;
478}
479
480bool ValidateRotatex(Context *context, GLfixed angle, GLfixed x, GLfixed y, GLfixed z)
481{
482 UNIMPLEMENTED();
483 return true;
484}
485
486bool ValidateSampleCoveragex(Context *context, GLclampx value, GLboolean invert)
487{
488 UNIMPLEMENTED();
489 return true;
490}
491
492bool ValidateScalef(Context *context, GLfloat x, GLfloat y, GLfloat z)
493{
494 UNIMPLEMENTED();
495 return true;
496}
497
498bool ValidateScalex(Context *context, GLfixed x, GLfixed y, GLfixed z)
499{
500 UNIMPLEMENTED();
501 return true;
502}
503
504bool ValidateShadeModel(Context *context, GLenum mode)
505{
506 UNIMPLEMENTED();
507 return true;
508}
509
510bool ValidateTexCoordPointer(Context *context,
511 GLint size,
512 GLenum type,
513 GLsizei stride,
514 const void *pointer)
515{
516 UNIMPLEMENTED();
517 return true;
518}
519
520bool ValidateTexEnvf(Context *context, GLenum target, GLenum pname, GLfloat param)
521{
522 UNIMPLEMENTED();
523 return true;
524}
525
526bool ValidateTexEnvfv(Context *context, GLenum target, GLenum pname, const GLfloat *params)
527{
528 UNIMPLEMENTED();
529 return true;
530}
531
532bool ValidateTexEnvi(Context *context, GLenum target, GLenum pname, GLint param)
533{
534 UNIMPLEMENTED();
535 return true;
536}
537
538bool ValidateTexEnviv(Context *context, GLenum target, GLenum pname, const GLint *params)
539{
540 UNIMPLEMENTED();
541 return true;
542}
543
544bool ValidateTexEnvx(Context *context, GLenum target, GLenum pname, GLfixed param)
545{
546 UNIMPLEMENTED();
547 return true;
548}
549
550bool ValidateTexEnvxv(Context *context, GLenum target, GLenum pname, const GLfixed *params)
551{
552 UNIMPLEMENTED();
553 return true;
554}
555
556bool ValidateTexParameterx(Context *context, GLenum target, GLenum pname, GLfixed param)
557{
558 UNIMPLEMENTED();
559 return true;
560}
561
562bool ValidateTexParameterxv(Context *context, GLenum target, GLenum pname, const GLfixed *params)
563{
564 UNIMPLEMENTED();
565 return true;
566}
567
568bool ValidateTranslatef(Context *context, GLfloat x, GLfloat y, GLfloat z)
569{
570 UNIMPLEMENTED();
571 return true;
572}
573
574bool ValidateTranslatex(Context *context, GLfixed x, GLfixed y, GLfixed z)
575{
576 UNIMPLEMENTED();
577 return true;
578}
579
580bool ValidateVertexPointer(Context *context,
581 GLint size,
582 GLenum type,
583 GLsizei stride,
584 const void *pointer)
585{
586 UNIMPLEMENTED();
587 return true;
588}
589
590bool ValidateDrawTexfOES(Context *context,
591 GLfloat x,
592 GLfloat y,
593 GLfloat z,
594 GLfloat width,
595 GLfloat height)
596{
597 UNIMPLEMENTED();
598 return true;
599}
600
601bool ValidateDrawTexfvOES(Context *context, const GLfloat *coords)
602{
603 UNIMPLEMENTED();
604 return true;
605}
606
607bool ValidateDrawTexiOES(Context *context, GLint x, GLint y, GLint z, GLint width, GLint height)
608{
609 UNIMPLEMENTED();
610 return true;
611}
612
613bool ValidateDrawTexivOES(Context *context, const GLint *coords)
614{
615 UNIMPLEMENTED();
616 return true;
617}
618
619bool ValidateDrawTexsOES(Context *context,
620 GLshort x,
621 GLshort y,
622 GLshort z,
623 GLshort width,
624 GLshort height)
625{
626 UNIMPLEMENTED();
627 return true;
628}
629
630bool ValidateDrawTexsvOES(Context *context, const GLshort *coords)
631{
632 UNIMPLEMENTED();
633 return true;
634}
635
636bool ValidateDrawTexxOES(Context *context,
637 GLfixed x,
638 GLfixed y,
639 GLfixed z,
640 GLfixed width,
641 GLfixed height)
642{
643 UNIMPLEMENTED();
644 return true;
645}
646
647bool ValidateDrawTexxvOES(Context *context, const GLfixed *coords)
648{
649 UNIMPLEMENTED();
650 return true;
651}
652
653bool ValidateCurrentPaletteMatrixOES(Context *context, GLuint matrixpaletteindex)
654{
655 UNIMPLEMENTED();
656 return true;
657}
658
659bool ValidateLoadPaletteFromModelViewMatrixOES(Context *context)
660{
661 UNIMPLEMENTED();
662 return true;
663}
664
665bool ValidateMatrixIndexPointerOES(Context *context,
666 GLint size,
667 GLenum type,
668 GLsizei stride,
669 const void *pointer)
670{
671 UNIMPLEMENTED();
672 return true;
673}
674
675bool ValidateWeightPointerOES(Context *context,
676 GLint size,
677 GLenum type,
678 GLsizei stride,
679 const void *pointer)
680{
681 UNIMPLEMENTED();
682 return true;
683}
684
685bool ValidatePointSizePointerOES(Context *context, GLenum type, GLsizei stride, const void *pointer)
686{
687 UNIMPLEMENTED();
688 return true;
689}
690
691bool ValidateQueryMatrixxOES(Context *context, GLfixed *mantissa, GLint *exponent)
692{
693 UNIMPLEMENTED();
694 return true;
695}
696}