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
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
|
// GENERATED FILE - DO NOT EDIT.
// Generated by generate_entry_points.py using data from gl.xml and gl_angle_ext.xml.
//
// Copyright 2020 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// validationESEXT_autogen.h:
// Validation functions for the OpenGL ES extension entry points.
#ifndef LIBANGLE_VALIDATION_ESEXT_AUTOGEN_H_
#define LIBANGLE_VALIDATION_ESEXT_AUTOGEN_H_
#include "common/PackedEnums.h"
namespace gl
{
class Context;
// GL_ANGLE_base_vertex_base_instance
bool ValidateDrawArraysInstancedBaseInstanceANGLE(const Context *context,
PrimitiveMode modePacked,
GLint first,
GLsizei count,
GLsizei instanceCount,
GLuint baseInstance);
bool ValidateDrawElementsInstancedBaseVertexBaseInstanceANGLE(const Context *context,
PrimitiveMode modePacked,
GLsizei count,
DrawElementsType typePacked,
const GLvoid *indices,
GLsizei instanceCounts,
GLint baseVertex,
GLuint baseInstance);
bool ValidateMultiDrawArraysInstancedBaseInstanceANGLE(const Context *context,
PrimitiveMode modePacked,
const GLint *firsts,
const GLsizei *counts,
const GLsizei *instanceCounts,
const GLuint *baseInstances,
GLsizei drawcount);
bool ValidateMultiDrawElementsInstancedBaseVertexBaseInstanceANGLE(const Context *context,
PrimitiveMode modePacked,
const GLsizei *counts,
DrawElementsType typePacked,
const GLvoid *const *indices,
const GLsizei *instanceCounts,
const GLint *baseVertices,
const GLuint *baseInstances,
GLsizei drawcount);
// GL_ANGLE_copy_texture_3d
bool ValidateCopyTexture3DANGLE(const Context *context,
TextureID sourceIdPacked,
GLint sourceLevel,
TextureTarget destTargetPacked,
TextureID destIdPacked,
GLint destLevel,
GLint internalFormat,
GLenum destType,
GLboolean unpackFlipY,
GLboolean unpackPremultiplyAlpha,
GLboolean unpackUnmultiplyAlpha);
bool ValidateCopySubTexture3DANGLE(const Context *context,
TextureID sourceIdPacked,
GLint sourceLevel,
TextureTarget destTargetPacked,
TextureID destIdPacked,
GLint destLevel,
GLint xoffset,
GLint yoffset,
GLint zoffset,
GLint x,
GLint y,
GLint z,
GLint width,
GLint height,
GLint depth,
GLboolean unpackFlipY,
GLboolean unpackPremultiplyAlpha,
GLboolean unpackUnmultiplyAlpha);
// GL_ANGLE_framebuffer_blit
bool ValidateBlitFramebufferANGLE(const Context *context,
GLint srcX0,
GLint srcY0,
GLint srcX1,
GLint srcY1,
GLint dstX0,
GLint dstY0,
GLint dstX1,
GLint dstY1,
GLbitfield mask,
GLenum filter);
// GL_ANGLE_framebuffer_multisample
bool ValidateRenderbufferStorageMultisampleANGLE(const Context *context,
GLenum target,
GLsizei samples,
GLenum internalformat,
GLsizei width,
GLsizei height);
// GL_ANGLE_get_image
bool ValidateGetTexImageANGLE(const Context *context,
TextureTarget targetPacked,
GLint level,
GLenum format,
GLenum type,
const void *pixels);
bool ValidateGetRenderbufferImageANGLE(const Context *context,
GLenum target,
GLenum format,
GLenum type,
const void *pixels);
// GL_ANGLE_get_tex_level_parameter
bool ValidateGetTexLevelParameterivANGLE(const Context *context,
TextureTarget targetPacked,
GLint level,
GLenum pname,
const GLint *params);
bool ValidateGetTexLevelParameterfvANGLE(const Context *context,
TextureTarget targetPacked,
GLint level,
GLenum pname,
const GLfloat *params);
// GL_ANGLE_instanced_arrays
bool ValidateDrawArraysInstancedANGLE(const Context *context,
PrimitiveMode modePacked,
GLint first,
GLsizei count,
GLsizei primcount);
bool ValidateDrawElementsInstancedANGLE(const Context *context,
PrimitiveMode modePacked,
GLsizei count,
DrawElementsType typePacked,
const void *indices,
GLsizei primcount);
bool ValidateVertexAttribDivisorANGLE(const Context *context, GLuint index, GLuint divisor);
// GL_ANGLE_memory_object_flags
bool ValidateTexStorageMemFlags2DANGLE(const Context *context,
TextureType targetPacked,
GLsizei levels,
GLenum internalFormat,
GLsizei width,
GLsizei height,
MemoryObjectID memoryPacked,
GLuint64 offset,
GLbitfield createFlags,
GLbitfield usageFlags);
bool ValidateTexStorageMemFlags2DMultisampleANGLE(const Context *context,
TextureType targetPacked,
GLsizei samples,
GLenum internalFormat,
GLsizei width,
GLsizei height,
GLboolean fixedSampleLocations,
MemoryObjectID memoryPacked,
GLuint64 offset,
GLbitfield createFlags,
GLbitfield usageFlags);
bool ValidateTexStorageMemFlags3DANGLE(const Context *context,
TextureType targetPacked,
GLsizei levels,
GLenum internalFormat,
GLsizei width,
GLsizei height,
GLsizei depth,
MemoryObjectID memoryPacked,
GLuint64 offset,
GLbitfield createFlags,
GLbitfield usageFlags);
bool ValidateTexStorageMemFlags3DMultisampleANGLE(const Context *context,
TextureType targetPacked,
GLsizei samples,
GLenum internalFormat,
GLsizei width,
GLsizei height,
GLsizei depth,
GLboolean fixedSampleLocations,
MemoryObjectID memoryPacked,
GLuint64 offset,
GLbitfield createFlags,
GLbitfield usageFlags);
// GL_ANGLE_memory_object_fuchsia
bool ValidateImportMemoryZirconHandleANGLE(const Context *context,
MemoryObjectID memoryPacked,
GLuint64 size,
HandleType handleTypePacked,
GLuint handle);
// GL_ANGLE_multi_draw
bool ValidateMultiDrawArraysANGLE(const Context *context,
PrimitiveMode modePacked,
const GLint *firsts,
const GLsizei *counts,
GLsizei drawcount);
bool ValidateMultiDrawArraysInstancedANGLE(const Context *context,
PrimitiveMode modePacked,
const GLint *firsts,
const GLsizei *counts,
const GLsizei *instanceCounts,
GLsizei drawcount);
bool ValidateMultiDrawElementsANGLE(const Context *context,
PrimitiveMode modePacked,
const GLsizei *counts,
DrawElementsType typePacked,
const GLvoid *const *indices,
GLsizei drawcount);
bool ValidateMultiDrawElementsInstancedANGLE(const Context *context,
PrimitiveMode modePacked,
const GLsizei *counts,
DrawElementsType typePacked,
const GLvoid *const *indices,
const GLsizei *instanceCounts,
GLsizei drawcount);
// GL_ANGLE_program_binary
// GL_ANGLE_provoking_vertex
bool ValidateProvokingVertexANGLE(const Context *context, ProvokingVertexConvention modePacked);
// GL_ANGLE_request_extension
bool ValidateRequestExtensionANGLE(const Context *context, const GLchar *name);
bool ValidateDisableExtensionANGLE(const Context *context, const GLchar *name);
// GL_ANGLE_robust_client_memory
bool ValidateGetBooleanvRobustANGLE(const Context *context,
GLenum pname,
GLsizei bufSize,
const GLsizei *length,
const GLboolean *params);
bool ValidateGetBufferParameterivRobustANGLE(const Context *context,
BufferBinding targetPacked,
GLenum pname,
GLsizei bufSize,
const GLsizei *length,
const GLint *params);
bool ValidateGetFloatvRobustANGLE(const Context *context,
GLenum pname,
GLsizei bufSize,
const GLsizei *length,
const GLfloat *params);
bool ValidateGetFramebufferAttachmentParameterivRobustANGLE(const Context *context,
GLenum target,
GLenum attachment,
GLenum pname,
GLsizei bufSize,
const GLsizei *length,
const GLint *params);
bool ValidateGetIntegervRobustANGLE(const Context *context,
GLenum pname,
GLsizei bufSize,
const GLsizei *length,
const GLint *data);
bool ValidateGetProgramivRobustANGLE(const Context *context,
ShaderProgramID programPacked,
GLenum pname,
GLsizei bufSize,
const GLsizei *length,
const GLint *params);
bool ValidateGetRenderbufferParameterivRobustANGLE(const Context *context,
GLenum target,
GLenum pname,
GLsizei bufSize,
const GLsizei *length,
const GLint *params);
bool ValidateGetShaderivRobustANGLE(const Context *context,
ShaderProgramID shaderPacked,
GLenum pname,
GLsizei bufSize,
const GLsizei *length,
const GLint *params);
bool ValidateGetTexParameterfvRobustANGLE(const Context *context,
TextureType targetPacked,
GLenum pname,
GLsizei bufSize,
const GLsizei *length,
const GLfloat *params);
bool ValidateGetTexParameterivRobustANGLE(const Context *context,
TextureType targetPacked,
GLenum pname,
GLsizei bufSize,
const GLsizei *length,
const GLint *params);
bool ValidateGetUniformfvRobustANGLE(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLsizei bufSize,
const GLsizei *length,
const GLfloat *params);
bool ValidateGetUniformivRobustANGLE(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLsizei bufSize,
const GLsizei *length,
const GLint *params);
bool ValidateGetVertexAttribfvRobustANGLE(const Context *context,
GLuint index,
GLenum pname,
GLsizei bufSize,
const GLsizei *length,
const GLfloat *params);
bool ValidateGetVertexAttribivRobustANGLE(const Context *context,
GLuint index,
GLenum pname,
GLsizei bufSize,
const GLsizei *length,
const GLint *params);
bool ValidateGetVertexAttribPointervRobustANGLE(const Context *context,
GLuint index,
GLenum pname,
GLsizei bufSize,
const GLsizei *length,
void *const *pointer);
bool ValidateReadPixelsRobustANGLE(const Context *context,
GLint x,
GLint y,
GLsizei width,
GLsizei height,
GLenum format,
GLenum type,
GLsizei bufSize,
const GLsizei *length,
const GLsizei *columns,
const GLsizei *rows,
const void *pixels);
bool ValidateTexImage2DRobustANGLE(const Context *context,
TextureTarget targetPacked,
GLint level,
GLint internalformat,
GLsizei width,
GLsizei height,
GLint border,
GLenum format,
GLenum type,
GLsizei bufSize,
const void *pixels);
bool ValidateTexParameterfvRobustANGLE(const Context *context,
TextureType targetPacked,
GLenum pname,
GLsizei bufSize,
const GLfloat *params);
bool ValidateTexParameterivRobustANGLE(const Context *context,
TextureType targetPacked,
GLenum pname,
GLsizei bufSize,
const GLint *params);
bool ValidateTexSubImage2DRobustANGLE(const Context *context,
TextureTarget targetPacked,
GLint level,
GLint xoffset,
GLint yoffset,
GLsizei width,
GLsizei height,
GLenum format,
GLenum type,
GLsizei bufSize,
const void *pixels);
bool ValidateTexImage3DRobustANGLE(const Context *context,
TextureTarget targetPacked,
GLint level,
GLint internalformat,
GLsizei width,
GLsizei height,
GLsizei depth,
GLint border,
GLenum format,
GLenum type,
GLsizei bufSize,
const void *pixels);
bool ValidateTexSubImage3DRobustANGLE(const Context *context,
TextureTarget targetPacked,
GLint level,
GLint xoffset,
GLint yoffset,
GLint zoffset,
GLsizei width,
GLsizei height,
GLsizei depth,
GLenum format,
GLenum type,
GLsizei bufSize,
const void *pixels);
bool ValidateCompressedTexImage2DRobustANGLE(const Context *context,
TextureTarget targetPacked,
GLint level,
GLenum internalformat,
GLsizei width,
GLsizei height,
GLint border,
GLsizei imageSize,
GLsizei dataSize,
const GLvoid *data);
bool ValidateCompressedTexSubImage2DRobustANGLE(const Context *context,
TextureTarget targetPacked,
GLint level,
GLsizei xoffset,
GLsizei yoffset,
GLsizei width,
GLsizei height,
GLenum format,
GLsizei imageSize,
GLsizei dataSize,
const GLvoid *data);
bool ValidateCompressedTexImage3DRobustANGLE(const Context *context,
TextureTarget targetPacked,
GLint level,
GLenum internalformat,
GLsizei width,
GLsizei height,
GLsizei depth,
GLint border,
GLsizei imageSize,
GLsizei dataSize,
const GLvoid *data);
bool ValidateCompressedTexSubImage3DRobustANGLE(const Context *context,
TextureTarget targetPacked,
GLint level,
GLint xoffset,
GLint yoffset,
GLint zoffset,
GLsizei width,
GLsizei height,
GLsizei depth,
GLenum format,
GLsizei imageSize,
GLsizei dataSize,
const GLvoid *data);
bool ValidateGetQueryivRobustANGLE(const Context *context,
QueryType targetPacked,
GLenum pname,
GLsizei bufSize,
const GLsizei *length,
const GLint *params);
bool ValidateGetQueryObjectuivRobustANGLE(const Context *context,
QueryID idPacked,
GLenum pname,
GLsizei bufSize,
const GLsizei *length,
const GLuint *params);
bool ValidateGetBufferPointervRobustANGLE(const Context *context,
BufferBinding targetPacked,
GLenum pname,
GLsizei bufSize,
const GLsizei *length,
void *const *params);
bool ValidateGetIntegeri_vRobustANGLE(const Context *context,
GLenum target,
GLuint index,
GLsizei bufSize,
const GLsizei *length,
const GLint *data);
bool ValidateGetInternalformativRobustANGLE(const Context *context,
GLenum target,
GLenum internalformat,
GLenum pname,
GLsizei bufSize,
const GLsizei *length,
const GLint *params);
bool ValidateGetVertexAttribIivRobustANGLE(const Context *context,
GLuint index,
GLenum pname,
GLsizei bufSize,
const GLsizei *length,
const GLint *params);
bool ValidateGetVertexAttribIuivRobustANGLE(const Context *context,
GLuint index,
GLenum pname,
GLsizei bufSize,
const GLsizei *length,
const GLuint *params);
bool ValidateGetUniformuivRobustANGLE(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLsizei bufSize,
const GLsizei *length,
const GLuint *params);
bool ValidateGetActiveUniformBlockivRobustANGLE(const Context *context,
ShaderProgramID programPacked,
UniformBlockIndex uniformBlockIndexPacked,
GLenum pname,
GLsizei bufSize,
const GLsizei *length,
const GLint *params);
bool ValidateGetInteger64vRobustANGLE(const Context *context,
GLenum pname,
GLsizei bufSize,
const GLsizei *length,
const GLint64 *data);
bool ValidateGetInteger64i_vRobustANGLE(const Context *context,
GLenum target,
GLuint index,
GLsizei bufSize,
const GLsizei *length,
const GLint64 *data);
bool ValidateGetBufferParameteri64vRobustANGLE(const Context *context,
BufferBinding targetPacked,
GLenum pname,
GLsizei bufSize,
const GLsizei *length,
const GLint64 *params);
bool ValidateSamplerParameterivRobustANGLE(const Context *context,
SamplerID samplerPacked,
GLuint pname,
GLsizei bufSize,
const GLint *param);
bool ValidateSamplerParameterfvRobustANGLE(const Context *context,
SamplerID samplerPacked,
GLenum pname,
GLsizei bufSize,
const GLfloat *param);
bool ValidateGetSamplerParameterivRobustANGLE(const Context *context,
SamplerID samplerPacked,
GLenum pname,
GLsizei bufSize,
const GLsizei *length,
const GLint *params);
bool ValidateGetSamplerParameterfvRobustANGLE(const Context *context,
SamplerID samplerPacked,
GLenum pname,
GLsizei bufSize,
const GLsizei *length,
const GLfloat *params);
bool ValidateGetFramebufferParameterivRobustANGLE(const Context *context,
GLenum target,
GLenum pname,
GLsizei bufSize,
const GLsizei *length,
const GLint *params);
bool ValidateGetProgramInterfaceivRobustANGLE(const Context *context,
ShaderProgramID programPacked,
GLenum programInterface,
GLenum pname,
GLsizei bufSize,
const GLsizei *length,
const GLint *params);
bool ValidateGetBooleani_vRobustANGLE(const Context *context,
GLenum target,
GLuint index,
GLsizei bufSize,
const GLsizei *length,
const GLboolean *data);
bool ValidateGetMultisamplefvRobustANGLE(const Context *context,
GLenum pname,
GLuint index,
GLsizei bufSize,
const GLsizei *length,
const GLfloat *val);
bool ValidateGetTexLevelParameterivRobustANGLE(const Context *context,
TextureTarget targetPacked,
GLint level,
GLenum pname,
GLsizei bufSize,
const GLsizei *length,
const GLint *params);
bool ValidateGetTexLevelParameterfvRobustANGLE(const Context *context,
TextureTarget targetPacked,
GLint level,
GLenum pname,
GLsizei bufSize,
const GLsizei *length,
const GLfloat *params);
bool ValidateGetPointervRobustANGLERobustANGLE(const Context *context,
GLenum pname,
GLsizei bufSize,
const GLsizei *length,
void *const *params);
bool ValidateReadnPixelsRobustANGLE(const Context *context,
GLint x,
GLint y,
GLsizei width,
GLsizei height,
GLenum format,
GLenum type,
GLsizei bufSize,
const GLsizei *length,
const GLsizei *columns,
const GLsizei *rows,
const void *data);
bool ValidateGetnUniformfvRobustANGLE(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLsizei bufSize,
const GLsizei *length,
const GLfloat *params);
bool ValidateGetnUniformivRobustANGLE(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLsizei bufSize,
const GLsizei *length,
const GLint *params);
bool ValidateGetnUniformuivRobustANGLE(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLsizei bufSize,
const GLsizei *length,
const GLuint *params);
bool ValidateTexParameterIivRobustANGLE(const Context *context,
TextureType targetPacked,
GLenum pname,
GLsizei bufSize,
const GLint *params);
bool ValidateTexParameterIuivRobustANGLE(const Context *context,
TextureType targetPacked,
GLenum pname,
GLsizei bufSize,
const GLuint *params);
bool ValidateGetTexParameterIivRobustANGLE(const Context *context,
TextureType targetPacked,
GLenum pname,
GLsizei bufSize,
const GLsizei *length,
const GLint *params);
bool ValidateGetTexParameterIuivRobustANGLE(const Context *context,
TextureType targetPacked,
GLenum pname,
GLsizei bufSize,
const GLsizei *length,
const GLuint *params);
bool ValidateSamplerParameterIivRobustANGLE(const Context *context,
SamplerID samplerPacked,
GLenum pname,
GLsizei bufSize,
const GLint *param);
bool ValidateSamplerParameterIuivRobustANGLE(const Context *context,
SamplerID samplerPacked,
GLenum pname,
GLsizei bufSize,
const GLuint *param);
bool ValidateGetSamplerParameterIivRobustANGLE(const Context *context,
SamplerID samplerPacked,
GLenum pname,
GLsizei bufSize,
const GLsizei *length,
const GLint *params);
bool ValidateGetSamplerParameterIuivRobustANGLE(const Context *context,
SamplerID samplerPacked,
GLenum pname,
GLsizei bufSize,
const GLsizei *length,
const GLuint *params);
bool ValidateGetQueryObjectivRobustANGLE(const Context *context,
QueryID idPacked,
GLenum pname,
GLsizei bufSize,
const GLsizei *length,
const GLint *params);
bool ValidateGetQueryObjecti64vRobustANGLE(const Context *context,
QueryID idPacked,
GLenum pname,
GLsizei bufSize,
const GLsizei *length,
const GLint64 *params);
bool ValidateGetQueryObjectui64vRobustANGLE(const Context *context,
QueryID idPacked,
GLenum pname,
GLsizei bufSize,
const GLsizei *length,
const GLuint64 *params);
// GL_ANGLE_semaphore_fuchsia
bool ValidateImportSemaphoreZirconHandleANGLE(const Context *context,
SemaphoreID semaphorePacked,
HandleType handleTypePacked,
GLuint handle);
// GL_ANGLE_texture_external_update
bool ValidateTexImage2DExternalANGLE(const Context *context,
TextureTarget targetPacked,
GLint level,
GLint internalformat,
GLsizei width,
GLsizei height,
GLint border,
GLenum format,
GLenum type);
bool ValidateInvalidateTextureANGLE(const Context *context, TextureType targetPacked);
// GL_ANGLE_texture_multisample
bool ValidateTexStorage2DMultisampleANGLE(const Context *context,
TextureType targetPacked,
GLsizei samples,
GLenum internalformat,
GLsizei width,
GLsizei height,
GLboolean fixedsamplelocations);
bool ValidateGetMultisamplefvANGLE(const Context *context,
GLenum pname,
GLuint index,
const GLfloat *val);
bool ValidateSampleMaskiANGLE(const Context *context, GLuint maskNumber, GLbitfield mask);
// GL_ANGLE_translated_shader_source
bool ValidateGetTranslatedShaderSourceANGLE(const Context *context,
ShaderProgramID shaderPacked,
GLsizei bufsize,
const GLsizei *length,
const GLchar *source);
// GL_CHROMIUM_bind_uniform_location
bool ValidateBindUniformLocationCHROMIUM(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
const GLchar *name);
// GL_CHROMIUM_copy_compressed_texture
bool ValidateCompressedCopyTextureCHROMIUM(const Context *context,
TextureID sourceIdPacked,
TextureID destIdPacked);
// GL_CHROMIUM_copy_texture
bool ValidateCopyTextureCHROMIUM(const Context *context,
TextureID sourceIdPacked,
GLint sourceLevel,
TextureTarget destTargetPacked,
TextureID destIdPacked,
GLint destLevel,
GLint internalFormat,
GLenum destType,
GLboolean unpackFlipY,
GLboolean unpackPremultiplyAlpha,
GLboolean unpackUnmultiplyAlpha);
bool ValidateCopySubTextureCHROMIUM(const Context *context,
TextureID sourceIdPacked,
GLint sourceLevel,
TextureTarget destTargetPacked,
TextureID destIdPacked,
GLint destLevel,
GLint xoffset,
GLint yoffset,
GLint x,
GLint y,
GLint width,
GLint height,
GLboolean unpackFlipY,
GLboolean unpackPremultiplyAlpha,
GLboolean unpackUnmultiplyAlpha);
// GL_CHROMIUM_framebuffer_mixed_samples
bool ValidateCoverageModulationCHROMIUM(const Context *context, GLenum components);
// GL_CHROMIUM_lose_context
bool ValidateLoseContextCHROMIUM(const Context *context,
GraphicsResetStatus currentPacked,
GraphicsResetStatus otherPacked);
// GL_EXT_EGL_image_array
// GL_EXT_YUV_target
// GL_EXT_blend_func_extended
bool ValidateBindFragDataLocationEXT(const Context *context,
ShaderProgramID programPacked,
GLuint color,
const GLchar *name);
bool ValidateBindFragDataLocationIndexedEXT(const Context *context,
ShaderProgramID programPacked,
GLuint colorNumber,
GLuint index,
const GLchar *name);
bool ValidateGetFragDataIndexEXT(const Context *context,
ShaderProgramID programPacked,
const GLchar *name);
bool ValidateGetProgramResourceLocationIndexEXT(const Context *context,
ShaderProgramID programPacked,
GLenum programInterface,
const GLchar *name);
// GL_EXT_buffer_storage
bool ValidateBufferStorageEXT(const Context *context,
BufferBinding targetPacked,
GLsizeiptr size,
const void *data,
GLbitfield flags);
// GL_EXT_clip_control
bool ValidateClipControlEXT(const Context *context, GLenum origin, GLenum depth);
// GL_EXT_copy_image
bool ValidateCopyImageSubDataEXT(const Context *context,
GLuint srcName,
GLenum srcTarget,
GLint srcLevel,
GLint srcX,
GLint srcY,
GLint srcZ,
GLuint dstName,
GLenum dstTarget,
GLint dstLevel,
GLint dstX,
GLint dstY,
GLint dstZ,
GLsizei srcWidth,
GLsizei srcHeight,
GLsizei srcDepth);
// GL_EXT_debug_label
bool ValidateGetObjectLabelEXT(const Context *context,
GLenum type,
GLuint object,
GLsizei bufSize,
const GLsizei *length,
const GLchar *label);
bool ValidateLabelObjectEXT(const Context *context,
GLenum type,
GLuint object,
GLsizei length,
const GLchar *label);
// GL_EXT_debug_marker
bool ValidateInsertEventMarkerEXT(const Context *context, GLsizei length, const GLchar *marker);
bool ValidatePopGroupMarkerEXT(const Context *context);
bool ValidatePushGroupMarkerEXT(const Context *context, GLsizei length, const GLchar *marker);
// GL_EXT_discard_framebuffer
bool ValidateDiscardFramebufferEXT(const Context *context,
GLenum target,
GLsizei numAttachments,
const GLenum *attachments);
// GL_EXT_disjoint_timer_query
bool ValidateBeginQueryEXT(const Context *context, QueryType targetPacked, QueryID idPacked);
bool ValidateDeleteQueriesEXT(const Context *context, GLsizei n, const QueryID *idsPacked);
bool ValidateEndQueryEXT(const Context *context, QueryType targetPacked);
bool ValidateGenQueriesEXT(const Context *context, GLsizei n, const QueryID *idsPacked);
bool ValidateGetInteger64vEXT(const Context *context, GLenum pname, const GLint64 *data);
bool ValidateGetQueryObjecti64vEXT(const Context *context,
QueryID idPacked,
GLenum pname,
const GLint64 *params);
bool ValidateGetQueryObjectivEXT(const Context *context,
QueryID idPacked,
GLenum pname,
const GLint *params);
bool ValidateGetQueryObjectui64vEXT(const Context *context,
QueryID idPacked,
GLenum pname,
const GLuint64 *params);
bool ValidateGetQueryObjectuivEXT(const Context *context,
QueryID idPacked,
GLenum pname,
const GLuint *params);
bool ValidateGetQueryivEXT(const Context *context,
QueryType targetPacked,
GLenum pname,
const GLint *params);
bool ValidateIsQueryEXT(const Context *context, QueryID idPacked);
bool ValidateQueryCounterEXT(const Context *context, QueryID idPacked, QueryType targetPacked);
// GL_EXT_draw_buffers
bool ValidateDrawBuffersEXT(const Context *context, GLsizei n, const GLenum *bufs);
// GL_EXT_draw_buffers_indexed
bool ValidateBlendEquationSeparateiEXT(const Context *context,
GLuint buf,
GLenum modeRGB,
GLenum modeAlpha);
bool ValidateBlendEquationiEXT(const Context *context, GLuint buf, GLenum mode);
bool ValidateBlendFuncSeparateiEXT(const Context *context,
GLuint buf,
GLenum srcRGB,
GLenum dstRGB,
GLenum srcAlpha,
GLenum dstAlpha);
bool ValidateBlendFunciEXT(const Context *context, GLuint buf, GLenum src, GLenum dst);
bool ValidateColorMaskiEXT(const Context *context,
GLuint index,
GLboolean r,
GLboolean g,
GLboolean b,
GLboolean a);
bool ValidateDisableiEXT(const Context *context, GLenum target, GLuint index);
bool ValidateEnableiEXT(const Context *context, GLenum target, GLuint index);
bool ValidateIsEnablediEXT(const Context *context, GLenum target, GLuint index);
// GL_EXT_draw_elements_base_vertex
bool ValidateDrawElementsBaseVertexEXT(const Context *context,
PrimitiveMode modePacked,
GLsizei count,
DrawElementsType typePacked,
const void *indices,
GLint basevertex);
bool ValidateDrawElementsInstancedBaseVertexEXT(const Context *context,
PrimitiveMode modePacked,
GLsizei count,
DrawElementsType typePacked,
const void *indices,
GLsizei instancecount,
GLint basevertex);
bool ValidateDrawRangeElementsBaseVertexEXT(const Context *context,
PrimitiveMode modePacked,
GLuint start,
GLuint end,
GLsizei count,
DrawElementsType typePacked,
const void *indices,
GLint basevertex);
bool ValidateMultiDrawElementsBaseVertexEXT(const Context *context,
PrimitiveMode modePacked,
const GLsizei *count,
DrawElementsType typePacked,
const void *const *indices,
GLsizei primcount,
const GLint *basevertex);
// GL_EXT_external_buffer
bool ValidateBufferStorageExternalEXT(const Context *context,
BufferBinding targetPacked,
GLintptr offset,
GLsizeiptr size,
GLeglClientBufferEXT clientBuffer,
GLbitfield flags);
bool ValidateNamedBufferStorageExternalEXT(const Context *context,
GLuint buffer,
GLintptr offset,
GLsizeiptr size,
GLeglClientBufferEXT clientBuffer,
GLbitfield flags);
// GL_EXT_geometry_shader
bool ValidateFramebufferTextureEXT(const Context *context,
GLenum target,
GLenum attachment,
TextureID texturePacked,
GLint level);
// GL_EXT_instanced_arrays
bool ValidateDrawArraysInstancedEXT(const Context *context,
PrimitiveMode modePacked,
GLint start,
GLsizei count,
GLsizei primcount);
bool ValidateDrawElementsInstancedEXT(const Context *context,
PrimitiveMode modePacked,
GLsizei count,
DrawElementsType typePacked,
const void *indices,
GLsizei primcount);
bool ValidateVertexAttribDivisorEXT(const Context *context, GLuint index, GLuint divisor);
// GL_EXT_map_buffer_range
bool ValidateFlushMappedBufferRangeEXT(const Context *context,
BufferBinding targetPacked,
GLintptr offset,
GLsizeiptr length);
bool ValidateMapBufferRangeEXT(const Context *context,
BufferBinding targetPacked,
GLintptr offset,
GLsizeiptr length,
GLbitfield access);
// GL_EXT_memory_object
bool ValidateBufferStorageMemEXT(const Context *context,
TextureType targetPacked,
GLsizeiptr size,
MemoryObjectID memoryPacked,
GLuint64 offset);
bool ValidateCreateMemoryObjectsEXT(const Context *context,
GLsizei n,
const MemoryObjectID *memoryObjectsPacked);
bool ValidateDeleteMemoryObjectsEXT(const Context *context,
GLsizei n,
const MemoryObjectID *memoryObjectsPacked);
bool ValidateGetMemoryObjectParameterivEXT(const Context *context,
MemoryObjectID memoryObjectPacked,
GLenum pname,
const GLint *params);
bool ValidateGetUnsignedBytevEXT(const Context *context, GLenum pname, const GLubyte *data);
bool ValidateGetUnsignedBytei_vEXT(const Context *context,
GLenum target,
GLuint index,
const GLubyte *data);
bool ValidateIsMemoryObjectEXT(const Context *context, MemoryObjectID memoryObjectPacked);
bool ValidateMemoryObjectParameterivEXT(const Context *context,
MemoryObjectID memoryObjectPacked,
GLenum pname,
const GLint *params);
bool ValidateTexStorageMem2DEXT(const Context *context,
TextureType targetPacked,
GLsizei levels,
GLenum internalFormat,
GLsizei width,
GLsizei height,
MemoryObjectID memoryPacked,
GLuint64 offset);
bool ValidateTexStorageMem2DMultisampleEXT(const Context *context,
TextureType targetPacked,
GLsizei samples,
GLenum internalFormat,
GLsizei width,
GLsizei height,
GLboolean fixedSampleLocations,
MemoryObjectID memoryPacked,
GLuint64 offset);
bool ValidateTexStorageMem3DEXT(const Context *context,
TextureType targetPacked,
GLsizei levels,
GLenum internalFormat,
GLsizei width,
GLsizei height,
GLsizei depth,
MemoryObjectID memoryPacked,
GLuint64 offset);
bool ValidateTexStorageMem3DMultisampleEXT(const Context *context,
TextureType targetPacked,
GLsizei samples,
GLenum internalFormat,
GLsizei width,
GLsizei height,
GLsizei depth,
GLboolean fixedSampleLocations,
MemoryObjectID memoryPacked,
GLuint64 offset);
// GL_EXT_memory_object_fd
bool ValidateImportMemoryFdEXT(const Context *context,
MemoryObjectID memoryPacked,
GLuint64 size,
HandleType handleTypePacked,
GLint fd);
// GL_EXT_multisampled_render_to_texture
bool ValidateFramebufferTexture2DMultisampleEXT(const Context *context,
GLenum target,
GLenum attachment,
TextureTarget textargetPacked,
TextureID texturePacked,
GLint level,
GLsizei samples);
bool ValidateRenderbufferStorageMultisampleEXT(const Context *context,
GLenum target,
GLsizei samples,
GLenum internalformat,
GLsizei width,
GLsizei height);
// GL_EXT_occlusion_query_boolean
// GL_EXT_primitive_bounding_box
bool ValidatePrimitiveBoundingBoxEXT(const Context *context,
GLfloat minX,
GLfloat minY,
GLfloat minZ,
GLfloat minW,
GLfloat maxX,
GLfloat maxY,
GLfloat maxZ,
GLfloat maxW);
// GL_EXT_read_format_bgra
// GL_EXT_robustness
bool ValidateGetGraphicsResetStatusEXT(const Context *context);
bool ValidateGetnUniformfvEXT(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLsizei bufSize,
const GLfloat *params);
bool ValidateGetnUniformivEXT(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLsizei bufSize,
const GLint *params);
bool ValidateReadnPixelsEXT(const Context *context,
GLint x,
GLint y,
GLsizei width,
GLsizei height,
GLenum format,
GLenum type,
GLsizei bufSize,
const void *data);
// GL_EXT_sRGB
// GL_EXT_semaphore
bool ValidateDeleteSemaphoresEXT(const Context *context,
GLsizei n,
const SemaphoreID *semaphoresPacked);
bool ValidateGenSemaphoresEXT(const Context *context,
GLsizei n,
const SemaphoreID *semaphoresPacked);
bool ValidateGetSemaphoreParameterui64vEXT(const Context *context,
SemaphoreID semaphorePacked,
GLenum pname,
const GLuint64 *params);
bool ValidateIsSemaphoreEXT(const Context *context, SemaphoreID semaphorePacked);
bool ValidateSemaphoreParameterui64vEXT(const Context *context,
SemaphoreID semaphorePacked,
GLenum pname,
const GLuint64 *params);
bool ValidateSignalSemaphoreEXT(const Context *context,
SemaphoreID semaphorePacked,
GLuint numBufferBarriers,
const BufferID *buffersPacked,
GLuint numTextureBarriers,
const TextureID *texturesPacked,
const GLenum *dstLayouts);
bool ValidateWaitSemaphoreEXT(const Context *context,
SemaphoreID semaphorePacked,
GLuint numBufferBarriers,
const BufferID *buffersPacked,
GLuint numTextureBarriers,
const TextureID *texturesPacked,
const GLenum *srcLayouts);
// GL_EXT_semaphore_fd
bool ValidateImportSemaphoreFdEXT(const Context *context,
SemaphoreID semaphorePacked,
HandleType handleTypePacked,
GLint fd);
// GL_EXT_separate_shader_objects
bool ValidateActiveShaderProgramEXT(const Context *context,
ProgramPipelineID pipelinePacked,
ShaderProgramID programPacked);
bool ValidateBindProgramPipelineEXT(const Context *context, ProgramPipelineID pipelinePacked);
bool ValidateCreateShaderProgramvEXT(const Context *context,
ShaderType typePacked,
GLsizei count,
const GLchar **strings);
bool ValidateDeleteProgramPipelinesEXT(const Context *context,
GLsizei n,
const ProgramPipelineID *pipelinesPacked);
bool ValidateGenProgramPipelinesEXT(const Context *context,
GLsizei n,
const ProgramPipelineID *pipelinesPacked);
bool ValidateGetProgramPipelineInfoLogEXT(const Context *context,
ProgramPipelineID pipelinePacked,
GLsizei bufSize,
const GLsizei *length,
const GLchar *infoLog);
bool ValidateGetProgramPipelineivEXT(const Context *context,
ProgramPipelineID pipelinePacked,
GLenum pname,
const GLint *params);
bool ValidateIsProgramPipelineEXT(const Context *context, ProgramPipelineID pipelinePacked);
bool ValidateProgramParameteriEXT(const Context *context,
ShaderProgramID programPacked,
GLenum pname,
GLint value);
bool ValidateProgramUniform1fEXT(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLfloat v0);
bool ValidateProgramUniform1fvEXT(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLsizei count,
const GLfloat *value);
bool ValidateProgramUniform1iEXT(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLint v0);
bool ValidateProgramUniform1ivEXT(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLsizei count,
const GLint *value);
bool ValidateProgramUniform1uiEXT(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLuint v0);
bool ValidateProgramUniform1uivEXT(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLsizei count,
const GLuint *value);
bool ValidateProgramUniform2fEXT(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLfloat v0,
GLfloat v1);
bool ValidateProgramUniform2fvEXT(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLsizei count,
const GLfloat *value);
bool ValidateProgramUniform2iEXT(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLint v0,
GLint v1);
bool ValidateProgramUniform2ivEXT(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLsizei count,
const GLint *value);
bool ValidateProgramUniform2uiEXT(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLuint v0,
GLuint v1);
bool ValidateProgramUniform2uivEXT(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLsizei count,
const GLuint *value);
bool ValidateProgramUniform3fEXT(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLfloat v0,
GLfloat v1,
GLfloat v2);
bool ValidateProgramUniform3fvEXT(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLsizei count,
const GLfloat *value);
bool ValidateProgramUniform3iEXT(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLint v0,
GLint v1,
GLint v2);
bool ValidateProgramUniform3ivEXT(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLsizei count,
const GLint *value);
bool ValidateProgramUniform3uiEXT(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLuint v0,
GLuint v1,
GLuint v2);
bool ValidateProgramUniform3uivEXT(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLsizei count,
const GLuint *value);
bool ValidateProgramUniform4fEXT(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLfloat v0,
GLfloat v1,
GLfloat v2,
GLfloat v3);
bool ValidateProgramUniform4fvEXT(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLsizei count,
const GLfloat *value);
bool ValidateProgramUniform4iEXT(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLint v0,
GLint v1,
GLint v2,
GLint v3);
bool ValidateProgramUniform4ivEXT(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLsizei count,
const GLint *value);
bool ValidateProgramUniform4uiEXT(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLuint v0,
GLuint v1,
GLuint v2,
GLuint v3);
bool ValidateProgramUniform4uivEXT(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLsizei count,
const GLuint *value);
bool ValidateProgramUniformMatrix2fvEXT(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLsizei count,
GLboolean transpose,
const GLfloat *value);
bool ValidateProgramUniformMatrix2x3fvEXT(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLsizei count,
GLboolean transpose,
const GLfloat *value);
bool ValidateProgramUniformMatrix2x4fvEXT(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLsizei count,
GLboolean transpose,
const GLfloat *value);
bool ValidateProgramUniformMatrix3fvEXT(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLsizei count,
GLboolean transpose,
const GLfloat *value);
bool ValidateProgramUniformMatrix3x2fvEXT(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLsizei count,
GLboolean transpose,
const GLfloat *value);
bool ValidateProgramUniformMatrix3x4fvEXT(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLsizei count,
GLboolean transpose,
const GLfloat *value);
bool ValidateProgramUniformMatrix4fvEXT(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLsizei count,
GLboolean transpose,
const GLfloat *value);
bool ValidateProgramUniformMatrix4x2fvEXT(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLsizei count,
GLboolean transpose,
const GLfloat *value);
bool ValidateProgramUniformMatrix4x3fvEXT(const Context *context,
ShaderProgramID programPacked,
UniformLocation locationPacked,
GLsizei count,
GLboolean transpose,
const GLfloat *value);
bool ValidateUseProgramStagesEXT(const Context *context,
ProgramPipelineID pipelinePacked,
GLbitfield stages,
ShaderProgramID programPacked);
bool ValidateValidateProgramPipelineEXT(const Context *context, ProgramPipelineID pipelinePacked);
// GL_EXT_shader_framebuffer_fetch_non_coherent
bool ValidateFramebufferFetchBarrierEXT(const Context *context);
// GL_EXT_shader_io_blocks
// GL_EXT_tessellation_shader
bool ValidatePatchParameteriEXT(const Context *context, GLenum pname, GLint value);
// GL_EXT_texture_border_clamp
bool ValidateGetSamplerParameterIivEXT(const Context *context,
SamplerID samplerPacked,
GLenum pname,
const GLint *params);
bool ValidateGetSamplerParameterIuivEXT(const Context *context,
SamplerID samplerPacked,
GLenum pname,
const GLuint *params);
bool ValidateGetTexParameterIivEXT(const Context *context,
TextureType targetPacked,
GLenum pname,
const GLint *params);
bool ValidateGetTexParameterIuivEXT(const Context *context,
TextureType targetPacked,
GLenum pname,
const GLuint *params);
bool ValidateSamplerParameterIivEXT(const Context *context,
SamplerID samplerPacked,
GLenum pname,
const GLint *param);
bool ValidateSamplerParameterIuivEXT(const Context *context,
SamplerID samplerPacked,
GLenum pname,
const GLuint *param);
bool ValidateTexParameterIivEXT(const Context *context,
TextureType targetPacked,
GLenum pname,
const GLint *params);
bool ValidateTexParameterIuivEXT(const Context *context,
TextureType targetPacked,
GLenum pname,
const GLuint *params);
// GL_EXT_texture_buffer
bool ValidateTexBufferEXT(const Context *context,
TextureType targetPacked,
GLenum internalformat,
BufferID bufferPacked);
bool ValidateTexBufferRangeEXT(const Context *context,
TextureType targetPacked,
GLenum internalformat,
BufferID bufferPacked,
GLintptr offset,
GLsizeiptr size);
// GL_EXT_texture_compression_bptc
// GL_EXT_texture_compression_dxt1
// GL_EXT_texture_compression_rgtc
// GL_EXT_texture_compression_s3tc
// GL_EXT_texture_compression_s3tc_srgb
// GL_EXT_texture_cube_map_array
// GL_EXT_texture_filter_anisotropic
// GL_EXT_texture_format_BGRA8888
// GL_EXT_texture_sRGB_R8
// GL_EXT_texture_sRGB_RG8
// GL_EXT_texture_storage
bool ValidateTexStorage1DEXT(const Context *context,
GLenum target,
GLsizei levels,
GLenum internalformat,
GLsizei width);
bool ValidateTexStorage2DEXT(const Context *context,
TextureType targetPacked,
GLsizei levels,
GLenum internalformat,
GLsizei width,
GLsizei height);
bool ValidateTexStorage3DEXT(const Context *context,
TextureType targetPacked,
GLsizei levels,
GLenum internalformat,
GLsizei width,
GLsizei height,
GLsizei depth);
// GL_KHR_blend_equation_advanced
bool ValidateBlendBarrierKHR(const Context *context);
// GL_KHR_debug
bool ValidateDebugMessageCallbackKHR(const Context *context,
GLDEBUGPROCKHR callback,
const void *userParam);
bool ValidateDebugMessageControlKHR(const Context *context,
GLenum source,
GLenum type,
GLenum severity,
GLsizei count,
const GLuint *ids,
GLboolean enabled);
bool ValidateDebugMessageInsertKHR(const Context *context,
GLenum source,
GLenum type,
GLuint id,
GLenum severity,
GLsizei length,
const GLchar *buf);
bool ValidateGetDebugMessageLogKHR(const Context *context,
GLuint count,
GLsizei bufSize,
const GLenum *sources,
const GLenum *types,
const GLuint *ids,
const GLenum *severities,
const GLsizei *lengths,
const GLchar *messageLog);
bool ValidateGetObjectLabelKHR(const Context *context,
GLenum identifier,
GLuint name,
GLsizei bufSize,
const GLsizei *length,
const GLchar *label);
bool ValidateGetObjectPtrLabelKHR(const Context *context,
const void *ptr,
GLsizei bufSize,
const GLsizei *length,
const GLchar *label);
bool ValidateGetPointervKHR(const Context *context, GLenum pname, void *const *params);
bool ValidateObjectLabelKHR(const Context *context,
GLenum identifier,
GLuint name,
GLsizei length,
const GLchar *label);
bool ValidateObjectPtrLabelKHR(const Context *context,
const void *ptr,
GLsizei length,
const GLchar *label);
bool ValidatePopDebugGroupKHR(const Context *context);
bool ValidatePushDebugGroupKHR(const Context *context,
GLenum source,
GLuint id,
GLsizei length,
const GLchar *message);
// GL_KHR_parallel_shader_compile
bool ValidateMaxShaderCompilerThreadsKHR(const Context *context, GLuint count);
// GL_NV_fence
bool ValidateDeleteFencesNV(const Context *context, GLsizei n, const FenceNVID *fencesPacked);
bool ValidateFinishFenceNV(const Context *context, FenceNVID fencePacked);
bool ValidateGenFencesNV(const Context *context, GLsizei n, const FenceNVID *fencesPacked);
bool ValidateGetFenceivNV(const Context *context,
FenceNVID fencePacked,
GLenum pname,
const GLint *params);
bool ValidateIsFenceNV(const Context *context, FenceNVID fencePacked);
bool ValidateSetFenceNV(const Context *context, FenceNVID fencePacked, GLenum condition);
bool ValidateTestFenceNV(const Context *context, FenceNVID fencePacked);
// GL_NV_framebuffer_blit
bool ValidateBlitFramebufferNV(const Context *context,
GLint srcX0,
GLint srcY0,
GLint srcX1,
GLint srcY1,
GLint dstX0,
GLint dstY0,
GLint dstX1,
GLint dstY1,
GLbitfield mask,
GLenum filter);
// GL_OES_EGL_image
bool ValidateEGLImageTargetRenderbufferStorageOES(const Context *context,
GLenum target,
GLeglImageOES image);
bool ValidateEGLImageTargetTexture2DOES(const Context *context,
TextureType targetPacked,
GLeglImageOES image);
// GL_OES_compressed_ETC1_RGB8_texture
// GL_OES_copy_image
bool ValidateCopyImageSubDataOES(const Context *context,
GLuint srcName,
GLenum srcTarget,
GLint srcLevel,
GLint srcX,
GLint srcY,
GLint srcZ,
GLuint dstName,
GLenum dstTarget,
GLint dstLevel,
GLint dstX,
GLint dstY,
GLint dstZ,
GLsizei srcWidth,
GLsizei srcHeight,
GLsizei srcDepth);
// GL_OES_depth32
// GL_OES_draw_buffers_indexed
bool ValidateBlendEquationSeparateiOES(const Context *context,
GLuint buf,
GLenum modeRGB,
GLenum modeAlpha);
bool ValidateBlendEquationiOES(const Context *context, GLuint buf, GLenum mode);
bool ValidateBlendFuncSeparateiOES(const Context *context,
GLuint buf,
GLenum srcRGB,
GLenum dstRGB,
GLenum srcAlpha,
GLenum dstAlpha);
bool ValidateBlendFunciOES(const Context *context, GLuint buf, GLenum src, GLenum dst);
bool ValidateColorMaskiOES(const Context *context,
GLuint index,
GLboolean r,
GLboolean g,
GLboolean b,
GLboolean a);
bool ValidateDisableiOES(const Context *context, GLenum target, GLuint index);
bool ValidateEnableiOES(const Context *context, GLenum target, GLuint index);
bool ValidateIsEnablediOES(const Context *context, GLenum target, GLuint index);
// GL_OES_draw_elements_base_vertex
bool ValidateDrawElementsBaseVertexOES(const Context *context,
PrimitiveMode modePacked,
GLsizei count,
DrawElementsType typePacked,
const void *indices,
GLint basevertex);
bool ValidateDrawElementsInstancedBaseVertexOES(const Context *context,
PrimitiveMode modePacked,
GLsizei count,
DrawElementsType typePacked,
const void *indices,
GLsizei instancecount,
GLint basevertex);
bool ValidateDrawRangeElementsBaseVertexOES(const Context *context,
PrimitiveMode modePacked,
GLuint start,
GLuint end,
GLsizei count,
DrawElementsType typePacked,
const void *indices,
GLint basevertex);
// GL_OES_draw_texture
bool ValidateDrawTexfOES(const Context *context,
GLfloat x,
GLfloat y,
GLfloat z,
GLfloat width,
GLfloat height);
bool ValidateDrawTexfvOES(const Context *context, const GLfloat *coords);
bool ValidateDrawTexiOES(const Context *context,
GLint x,
GLint y,
GLint z,
GLint width,
GLint height);
bool ValidateDrawTexivOES(const Context *context, const GLint *coords);
bool ValidateDrawTexsOES(const Context *context,
GLshort x,
GLshort y,
GLshort z,
GLshort width,
GLshort height);
bool ValidateDrawTexsvOES(const Context *context, const GLshort *coords);
bool ValidateDrawTexxOES(const Context *context,
GLfixed x,
GLfixed y,
GLfixed z,
GLfixed width,
GLfixed height);
bool ValidateDrawTexxvOES(const Context *context, const GLfixed *coords);
// GL_OES_framebuffer_object
bool ValidateBindFramebufferOES(const Context *context,
GLenum target,
FramebufferID framebufferPacked);
bool ValidateBindRenderbufferOES(const Context *context,
GLenum target,
RenderbufferID renderbufferPacked);
bool ValidateCheckFramebufferStatusOES(const Context *context, GLenum target);
bool ValidateDeleteFramebuffersOES(const Context *context,
GLsizei n,
const FramebufferID *framebuffersPacked);
bool ValidateDeleteRenderbuffersOES(const Context *context,
GLsizei n,
const RenderbufferID *renderbuffersPacked);
bool ValidateFramebufferRenderbufferOES(const Context *context,
GLenum target,
GLenum attachment,
GLenum renderbuffertarget,
RenderbufferID renderbufferPacked);
bool ValidateFramebufferTexture2DOES(const Context *context,
GLenum target,
GLenum attachment,
TextureTarget textargetPacked,
TextureID texturePacked,
GLint level);
bool ValidateGenFramebuffersOES(const Context *context,
GLsizei n,
const FramebufferID *framebuffersPacked);
bool ValidateGenRenderbuffersOES(const Context *context,
GLsizei n,
const RenderbufferID *renderbuffersPacked);
bool ValidateGenerateMipmapOES(const Context *context, TextureType targetPacked);
bool ValidateGetFramebufferAttachmentParameterivOES(const Context *context,
GLenum target,
GLenum attachment,
GLenum pname,
const GLint *params);
bool ValidateGetRenderbufferParameterivOES(const Context *context,
GLenum target,
GLenum pname,
const GLint *params);
bool ValidateIsFramebufferOES(const Context *context, FramebufferID framebufferPacked);
bool ValidateIsRenderbufferOES(const Context *context, RenderbufferID renderbufferPacked);
bool ValidateRenderbufferStorageOES(const Context *context,
GLenum target,
GLenum internalformat,
GLsizei width,
GLsizei height);
// GL_OES_get_program_binary
bool ValidateGetProgramBinaryOES(const Context *context,
ShaderProgramID programPacked,
GLsizei bufSize,
const GLsizei *length,
const GLenum *binaryFormat,
const void *binary);
bool ValidateProgramBinaryOES(const Context *context,
ShaderProgramID programPacked,
GLenum binaryFormat,
const void *binary,
GLint length);
// GL_OES_mapbuffer
bool ValidateGetBufferPointervOES(const Context *context,
BufferBinding targetPacked,
GLenum pname,
void *const *params);
bool ValidateMapBufferOES(const Context *context, BufferBinding targetPacked, GLenum access);
bool ValidateUnmapBufferOES(const Context *context, BufferBinding targetPacked);
// GL_OES_matrix_palette
bool ValidateCurrentPaletteMatrixOES(const Context *context, GLuint matrixpaletteindex);
bool ValidateLoadPaletteFromModelViewMatrixOES(const Context *context);
bool ValidateMatrixIndexPointerOES(const Context *context,
GLint size,
GLenum type,
GLsizei stride,
const void *pointer);
bool ValidateWeightPointerOES(const Context *context,
GLint size,
GLenum type,
GLsizei stride,
const void *pointer);
// GL_OES_point_size_array
bool ValidatePointSizePointerOES(const Context *context,
VertexAttribType typePacked,
GLsizei stride,
const void *pointer);
// GL_OES_query_matrix
bool ValidateQueryMatrixxOES(const Context *context,
const GLfixed *mantissa,
const GLint *exponent);
// GL_OES_sample_shading
bool ValidateMinSampleShadingOES(const Context *context, GLfloat value);
// GL_OES_shader_io_blocks
// GL_OES_texture_3D
bool ValidateCompressedTexImage3DOES(const Context *context,
TextureTarget targetPacked,
GLint level,
GLenum internalformat,
GLsizei width,
GLsizei height,
GLsizei depth,
GLint border,
GLsizei imageSize,
const void *data);
bool ValidateCompressedTexSubImage3DOES(const Context *context,
TextureTarget targetPacked,
GLint level,
GLint xoffset,
GLint yoffset,
GLint zoffset,
GLsizei width,
GLsizei height,
GLsizei depth,
GLenum format,
GLsizei imageSize,
const void *data);
bool ValidateCopyTexSubImage3DOES(const Context *context,
TextureTarget targetPacked,
GLint level,
GLint xoffset,
GLint yoffset,
GLint zoffset,
GLint x,
GLint y,
GLsizei width,
GLsizei height);
bool ValidateFramebufferTexture3DOES(const Context *context,
GLenum target,
GLenum attachment,
TextureTarget textargetPacked,
TextureID texturePacked,
GLint level,
GLint zoffset);
bool ValidateTexImage3DOES(const Context *context,
TextureTarget targetPacked,
GLint level,
GLenum internalformat,
GLsizei width,
GLsizei height,
GLsizei depth,
GLint border,
GLenum format,
GLenum type,
const void *pixels);
bool ValidateTexSubImage3DOES(const Context *context,
TextureTarget targetPacked,
GLint level,
GLint xoffset,
GLint yoffset,
GLint zoffset,
GLsizei width,
GLsizei height,
GLsizei depth,
GLenum format,
GLenum type,
const void *pixels);
// GL_OES_texture_border_clamp
bool ValidateGetSamplerParameterIivOES(const Context *context,
SamplerID samplerPacked,
GLenum pname,
const GLint *params);
bool ValidateGetSamplerParameterIuivOES(const Context *context,
SamplerID samplerPacked,
GLenum pname,
const GLuint *params);
bool ValidateGetTexParameterIivOES(const Context *context,
TextureType targetPacked,
GLenum pname,
const GLint *params);
bool ValidateGetTexParameterIuivOES(const Context *context,
TextureType targetPacked,
GLenum pname,
const GLuint *params);
bool ValidateSamplerParameterIivOES(const Context *context,
SamplerID samplerPacked,
GLenum pname,
const GLint *param);
bool ValidateSamplerParameterIuivOES(const Context *context,
SamplerID samplerPacked,
GLenum pname,
const GLuint *param);
bool ValidateTexParameterIivOES(const Context *context,
TextureType targetPacked,
GLenum pname,
const GLint *params);
bool ValidateTexParameterIuivOES(const Context *context,
TextureType targetPacked,
GLenum pname,
const GLuint *params);
// GL_OES_texture_buffer
bool ValidateTexBufferOES(const Context *context,
TextureType targetPacked,
GLenum internalformat,
BufferID bufferPacked);
bool ValidateTexBufferRangeOES(const Context *context,
TextureType targetPacked,
GLenum internalformat,
BufferID bufferPacked,
GLintptr offset,
GLsizeiptr size);
// GL_OES_texture_cube_map
bool ValidateGetTexGenfvOES(const Context *context,
GLenum coord,
GLenum pname,
const GLfloat *params);
bool ValidateGetTexGenivOES(const Context *context,
GLenum coord,
GLenum pname,
const GLint *params);
bool ValidateGetTexGenxvOES(const Context *context,
GLenum coord,
GLenum pname,
const GLfixed *params);
bool ValidateTexGenfOES(const Context *context, GLenum coord, GLenum pname, GLfloat param);
bool ValidateTexGenfvOES(const Context *context, GLenum coord, GLenum pname, const GLfloat *params);
bool ValidateTexGeniOES(const Context *context, GLenum coord, GLenum pname, GLint param);
bool ValidateTexGenivOES(const Context *context, GLenum coord, GLenum pname, const GLint *params);
bool ValidateTexGenxOES(const Context *context, GLenum coord, GLenum pname, GLfixed param);
bool ValidateTexGenxvOES(const Context *context, GLenum coord, GLenum pname, const GLfixed *params);
// GL_OES_texture_cube_map_array
// GL_OES_texture_half_float
// GL_OES_texture_stencil8
// GL_OES_texture_storage_multisample_2d_array
bool ValidateTexStorage3DMultisampleOES(const Context *context,
TextureType targetPacked,
GLsizei samples,
GLenum internalformat,
GLsizei width,
GLsizei height,
GLsizei depth,
GLboolean fixedsamplelocations);
// GL_OES_vertex_array_object
bool ValidateBindVertexArrayOES(const Context *context, VertexArrayID arrayPacked);
bool ValidateDeleteVertexArraysOES(const Context *context,
GLsizei n,
const VertexArrayID *arraysPacked);
bool ValidateGenVertexArraysOES(const Context *context,
GLsizei n,
const VertexArrayID *arraysPacked);
bool ValidateIsVertexArrayOES(const Context *context, VertexArrayID arrayPacked);
// GL_OVR_multiview
bool ValidateFramebufferTextureMultiviewOVR(const Context *context,
GLenum target,
GLenum attachment,
TextureID texturePacked,
GLint level,
GLint baseViewIndex,
GLsizei numViews);
// GL_OVR_multiview2
} // namespace gl
#endif // LIBANGLE_VALIDATION_ESEXT_AUTOGEN_H_
|