1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 
3 #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
4 #include "gltrace.pb.h"
5 #include <google/protobuf/stubs/once.h>
6 #include <google/protobuf/io/coded_stream.h>
7 #include <google/protobuf/wire_format_lite_inl.h>
8 // @@protoc_insertion_point(includes)
9 
10 namespace android {
11 namespace gltrace {
12 
protobuf_ShutdownFile_gltrace_2eproto()13 void protobuf_ShutdownFile_gltrace_2eproto() {
14   delete GLMessage::default_instance_;
15   delete GLMessage_DataType::default_instance_;
16   delete GLMessage_FrameBuffer::default_instance_;
17 }
18 
protobuf_AddDesc_gltrace_2eproto()19 void protobuf_AddDesc_gltrace_2eproto() {
20   static bool already_here = false;
21   if (already_here) return;
22   already_here = true;
23   GOOGLE_PROTOBUF_VERIFY_VERSION;
24 
25   GLMessage::default_instance_ = new GLMessage();
26   GLMessage_DataType::default_instance_ = new GLMessage_DataType();
27   GLMessage_FrameBuffer::default_instance_ = new GLMessage_FrameBuffer();
28   GLMessage::default_instance_->InitAsDefaultInstance();
29   GLMessage_DataType::default_instance_->InitAsDefaultInstance();
30   GLMessage_FrameBuffer::default_instance_->InitAsDefaultInstance();
31   ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_gltrace_2eproto);
32 }
33 
34 // Force AddDescriptors() to be called at static initialization time.
35 struct StaticDescriptorInitializer_gltrace_2eproto {
StaticDescriptorInitializer_gltrace_2eprotoandroid::gltrace::StaticDescriptorInitializer_gltrace_2eproto36   StaticDescriptorInitializer_gltrace_2eproto() {
37     protobuf_AddDesc_gltrace_2eproto();
38   }
39 } static_descriptor_initializer_gltrace_2eproto_;
40 
41 
42 // ===================================================================
43 
GLMessage_Function_IsValid(int value)44 bool GLMessage_Function_IsValid(int value) {
45   switch(value) {
46     case 0:
47     case 1:
48     case 2:
49     case 3:
50     case 4:
51     case 5:
52     case 6:
53     case 7:
54     case 8:
55     case 9:
56     case 10:
57     case 11:
58     case 12:
59     case 13:
60     case 14:
61     case 15:
62     case 16:
63     case 17:
64     case 18:
65     case 19:
66     case 20:
67     case 21:
68     case 22:
69     case 23:
70     case 24:
71     case 25:
72     case 26:
73     case 27:
74     case 28:
75     case 29:
76     case 30:
77     case 31:
78     case 32:
79     case 33:
80     case 34:
81     case 35:
82     case 36:
83     case 37:
84     case 38:
85     case 39:
86     case 40:
87     case 41:
88     case 42:
89     case 43:
90     case 44:
91     case 45:
92     case 46:
93     case 47:
94     case 48:
95     case 49:
96     case 50:
97     case 51:
98     case 52:
99     case 53:
100     case 54:
101     case 55:
102     case 56:
103     case 57:
104     case 58:
105     case 59:
106     case 60:
107     case 61:
108     case 62:
109     case 63:
110     case 64:
111     case 65:
112     case 66:
113     case 67:
114     case 68:
115     case 69:
116     case 70:
117     case 71:
118     case 72:
119     case 73:
120     case 74:
121     case 75:
122     case 76:
123     case 77:
124     case 78:
125     case 79:
126     case 80:
127     case 81:
128     case 82:
129     case 83:
130     case 84:
131     case 85:
132     case 86:
133     case 87:
134     case 88:
135     case 89:
136     case 90:
137     case 91:
138     case 92:
139     case 93:
140     case 94:
141     case 95:
142     case 96:
143     case 97:
144     case 98:
145     case 99:
146     case 100:
147     case 101:
148     case 102:
149     case 103:
150     case 104:
151     case 105:
152     case 106:
153     case 107:
154     case 108:
155     case 109:
156     case 110:
157     case 111:
158     case 112:
159     case 113:
160     case 114:
161     case 115:
162     case 116:
163     case 117:
164     case 118:
165     case 119:
166     case 120:
167     case 121:
168     case 122:
169     case 123:
170     case 124:
171     case 125:
172     case 126:
173     case 127:
174     case 128:
175     case 129:
176     case 130:
177     case 131:
178     case 132:
179     case 133:
180     case 134:
181     case 135:
182     case 136:
183     case 137:
184     case 138:
185     case 139:
186     case 140:
187     case 141:
188     case 142:
189     case 143:
190     case 144:
191     case 145:
192     case 146:
193     case 147:
194     case 148:
195     case 149:
196     case 150:
197     case 151:
198     case 152:
199     case 153:
200     case 154:
201     case 155:
202     case 156:
203     case 157:
204     case 158:
205     case 159:
206     case 160:
207     case 161:
208     case 162:
209     case 163:
210     case 164:
211     case 165:
212     case 166:
213     case 167:
214     case 168:
215     case 169:
216     case 170:
217     case 171:
218     case 172:
219     case 173:
220     case 174:
221     case 175:
222     case 176:
223     case 177:
224     case 178:
225     case 179:
226     case 180:
227     case 181:
228     case 182:
229     case 183:
230     case 184:
231     case 185:
232     case 186:
233     case 187:
234     case 188:
235     case 189:
236     case 190:
237     case 191:
238     case 192:
239     case 193:
240     case 194:
241     case 195:
242     case 196:
243     case 197:
244     case 198:
245     case 199:
246     case 200:
247     case 201:
248     case 202:
249     case 203:
250     case 204:
251     case 205:
252     case 206:
253     case 207:
254     case 208:
255     case 209:
256     case 210:
257     case 211:
258     case 212:
259     case 213:
260     case 214:
261     case 215:
262     case 216:
263     case 217:
264     case 218:
265     case 219:
266     case 220:
267     case 221:
268     case 222:
269     case 223:
270     case 224:
271     case 225:
272     case 226:
273     case 227:
274     case 228:
275     case 229:
276     case 230:
277     case 231:
278     case 232:
279     case 233:
280     case 234:
281     case 235:
282     case 236:
283     case 237:
284     case 238:
285     case 239:
286     case 240:
287     case 241:
288     case 242:
289     case 243:
290     case 244:
291     case 245:
292     case 246:
293     case 247:
294     case 248:
295     case 249:
296     case 250:
297     case 251:
298     case 252:
299     case 253:
300     case 254:
301     case 255:
302     case 256:
303     case 257:
304     case 258:
305     case 259:
306     case 260:
307     case 261:
308     case 262:
309     case 263:
310     case 264:
311     case 265:
312     case 266:
313     case 267:
314     case 268:
315     case 269:
316     case 270:
317     case 271:
318     case 272:
319     case 273:
320     case 274:
321     case 275:
322     case 276:
323     case 277:
324     case 278:
325     case 279:
326     case 280:
327     case 281:
328     case 282:
329     case 283:
330     case 284:
331     case 285:
332     case 286:
333     case 287:
334     case 288:
335     case 289:
336     case 290:
337     case 291:
338     case 292:
339     case 293:
340     case 294:
341     case 295:
342     case 296:
343     case 297:
344     case 298:
345     case 299:
346     case 300:
347     case 301:
348     case 302:
349     case 303:
350     case 304:
351     case 305:
352     case 306:
353     case 307:
354     case 308:
355     case 309:
356     case 310:
357     case 311:
358     case 312:
359     case 313:
360     case 314:
361     case 315:
362     case 316:
363     case 317:
364     case 318:
365     case 319:
366     case 320:
367     case 321:
368     case 322:
369     case 323:
370     case 324:
371     case 325:
372     case 326:
373     case 327:
374     case 328:
375     case 329:
376     case 330:
377     case 331:
378     case 332:
379     case 333:
380     case 334:
381     case 335:
382     case 336:
383     case 337:
384     case 338:
385     case 339:
386     case 340:
387     case 341:
388     case 342:
389     case 343:
390     case 344:
391     case 345:
392     case 346:
393     case 347:
394     case 348:
395     case 349:
396     case 350:
397     case 351:
398     case 352:
399     case 353:
400     case 354:
401     case 355:
402     case 356:
403     case 357:
404     case 358:
405     case 359:
406     case 360:
407     case 361:
408     case 362:
409     case 363:
410     case 364:
411     case 365:
412     case 366:
413     case 367:
414     case 368:
415     case 369:
416     case 370:
417     case 371:
418     case 372:
419     case 373:
420     case 374:
421     case 375:
422     case 376:
423     case 377:
424     case 378:
425     case 379:
426     case 380:
427     case 381:
428     case 382:
429     case 383:
430     case 384:
431     case 385:
432     case 386:
433     case 387:
434     case 388:
435     case 389:
436     case 390:
437     case 391:
438     case 392:
439     case 393:
440     case 394:
441     case 395:
442     case 396:
443     case 397:
444     case 398:
445     case 399:
446     case 400:
447     case 401:
448     case 402:
449     case 403:
450     case 404:
451     case 405:
452     case 406:
453     case 407:
454     case 408:
455     case 409:
456     case 410:
457     case 411:
458     case 412:
459     case 413:
460     case 414:
461     case 415:
462     case 416:
463     case 417:
464     case 418:
465     case 419:
466     case 420:
467     case 421:
468     case 422:
469     case 423:
470     case 424:
471     case 425:
472     case 426:
473     case 427:
474     case 428:
475     case 429:
476     case 430:
477     case 431:
478     case 432:
479     case 433:
480     case 434:
481     case 435:
482     case 436:
483     case 437:
484     case 438:
485     case 439:
486     case 440:
487     case 441:
488     case 442:
489     case 443:
490     case 444:
491     case 445:
492     case 446:
493     case 447:
494     case 448:
495     case 449:
496     case 450:
497     case 451:
498     case 452:
499     case 453:
500     case 454:
501     case 455:
502     case 456:
503     case 457:
504     case 458:
505     case 459:
506     case 460:
507     case 461:
508     case 462:
509     case 463:
510     case 464:
511     case 465:
512     case 466:
513     case 467:
514     case 468:
515     case 469:
516     case 470:
517     case 471:
518     case 472:
519     case 473:
520     case 474:
521     case 475:
522     case 476:
523     case 477:
524     case 478:
525     case 479:
526     case 480:
527     case 481:
528     case 482:
529     case 483:
530     case 484:
531     case 485:
532     case 486:
533     case 487:
534     case 488:
535     case 489:
536     case 490:
537     case 491:
538     case 492:
539     case 493:
540     case 494:
541     case 495:
542     case 496:
543     case 497:
544     case 498:
545     case 499:
546     case 500:
547     case 501:
548     case 502:
549     case 503:
550     case 504:
551     case 505:
552     case 506:
553     case 507:
554     case 508:
555     case 509:
556     case 510:
557     case 511:
558     case 512:
559     case 513:
560     case 514:
561     case 515:
562     case 516:
563     case 517:
564     case 518:
565     case 519:
566     case 520:
567     case 521:
568     case 522:
569     case 523:
570     case 524:
571     case 525:
572     case 526:
573     case 527:
574     case 528:
575     case 529:
576     case 530:
577     case 531:
578     case 532:
579     case 533:
580     case 534:
581     case 535:
582     case 536:
583     case 537:
584     case 538:
585     case 539:
586     case 540:
587     case 541:
588     case 542:
589     case 543:
590     case 544:
591     case 545:
592     case 546:
593     case 547:
594     case 548:
595     case 549:
596     case 550:
597     case 551:
598     case 552:
599     case 553:
600     case 554:
601     case 555:
602     case 556:
603     case 557:
604     case 558:
605     case 559:
606     case 560:
607     case 561:
608     case 562:
609     case 563:
610     case 564:
611     case 565:
612     case 566:
613     case 567:
614     case 568:
615     case 569:
616     case 570:
617     case 571:
618     case 572:
619     case 573:
620     case 574:
621     case 575:
622     case 576:
623     case 577:
624     case 578:
625     case 579:
626     case 580:
627     case 581:
628     case 582:
629     case 583:
630     case 584:
631     case 585:
632     case 586:
633     case 587:
634     case 588:
635     case 589:
636     case 590:
637     case 591:
638     case 592:
639     case 593:
640     case 594:
641     case 595:
642     case 596:
643     case 597:
644     case 598:
645     case 599:
646     case 600:
647     case 601:
648     case 602:
649     case 603:
650     case 604:
651     case 605:
652     case 606:
653     case 607:
654     case 608:
655     case 609:
656     case 610:
657     case 611:
658     case 612:
659     case 613:
660     case 614:
661     case 615:
662     case 616:
663     case 617:
664     case 618:
665     case 619:
666     case 620:
667     case 621:
668     case 622:
669     case 623:
670     case 624:
671     case 625:
672     case 626:
673     case 627:
674     case 628:
675     case 629:
676     case 630:
677     case 631:
678     case 632:
679     case 633:
680     case 634:
681     case 635:
682     case 636:
683     case 637:
684     case 638:
685     case 639:
686     case 640:
687     case 641:
688     case 642:
689     case 643:
690     case 644:
691     case 645:
692     case 646:
693     case 647:
694     case 648:
695     case 649:
696     case 650:
697     case 651:
698     case 652:
699     case 653:
700     case 654:
701     case 655:
702     case 656:
703     case 657:
704     case 658:
705     case 659:
706     case 660:
707     case 661:
708     case 662:
709     case 663:
710     case 664:
711     case 665:
712     case 666:
713     case 667:
714     case 668:
715     case 669:
716     case 670:
717     case 671:
718     case 672:
719     case 673:
720     case 674:
721     case 675:
722     case 676:
723     case 677:
724     case 678:
725     case 679:
726     case 680:
727     case 681:
728     case 682:
729     case 683:
730     case 684:
731     case 685:
732     case 686:
733     case 687:
734     case 688:
735     case 689:
736     case 690:
737     case 691:
738     case 692:
739     case 693:
740     case 694:
741     case 695:
742     case 696:
743     case 697:
744     case 698:
745     case 699:
746     case 700:
747     case 701:
748     case 702:
749     case 703:
750     case 704:
751     case 705:
752     case 706:
753     case 707:
754     case 708:
755     case 709:
756     case 710:
757     case 711:
758     case 712:
759     case 713:
760     case 714:
761     case 715:
762     case 716:
763     case 717:
764     case 718:
765     case 719:
766     case 720:
767     case 721:
768     case 722:
769     case 723:
770     case 724:
771     case 725:
772     case 726:
773     case 727:
774     case 728:
775     case 729:
776     case 730:
777     case 2000:
778     case 2001:
779     case 2002:
780     case 2003:
781     case 2004:
782     case 2005:
783     case 2006:
784     case 2007:
785     case 2008:
786     case 2009:
787     case 2010:
788     case 2011:
789     case 2012:
790     case 2013:
791     case 2014:
792     case 2015:
793     case 2016:
794     case 2017:
795     case 2018:
796     case 2019:
797     case 2020:
798     case 2021:
799     case 2022:
800     case 2023:
801     case 2024:
802     case 2025:
803     case 2026:
804     case 2027:
805     case 2028:
806     case 2029:
807     case 2030:
808     case 2031:
809     case 2032:
810     case 2033:
811     case 2034:
812     case 2035:
813     case 2036:
814     case 2037:
815     case 2038:
816     case 2039:
817     case 2040:
818     case 2041:
819     case 2042:
820     case 2043:
821     case 2044:
822     case 2045:
823     case 3000:
824     case 3001:
825       return true;
826     default:
827       return false;
828   }
829 }
830 
831 #ifndef _MSC_VER
832 const GLMessage_Function GLMessage::glActiveTexture;
833 const GLMessage_Function GLMessage::glAlphaFunc;
834 const GLMessage_Function GLMessage::glAlphaFuncx;
835 const GLMessage_Function GLMessage::glAlphaFuncxOES;
836 const GLMessage_Function GLMessage::glAttachShader;
837 const GLMessage_Function GLMessage::glBeginPerfMonitorAMD;
838 const GLMessage_Function GLMessage::glBindAttribLocation;
839 const GLMessage_Function GLMessage::glBindBuffer;
840 const GLMessage_Function GLMessage::glBindFramebuffer;
841 const GLMessage_Function GLMessage::glBindFramebufferOES;
842 const GLMessage_Function GLMessage::glBindRenderbuffer;
843 const GLMessage_Function GLMessage::glBindRenderbufferOES;
844 const GLMessage_Function GLMessage::glBindTexture;
845 const GLMessage_Function GLMessage::glBindVertexArrayOES;
846 const GLMessage_Function GLMessage::glBlendColor;
847 const GLMessage_Function GLMessage::glBlendEquation;
848 const GLMessage_Function GLMessage::glBlendEquationOES;
849 const GLMessage_Function GLMessage::glBlendEquationSeparate;
850 const GLMessage_Function GLMessage::glBlendEquationSeparateOES;
851 const GLMessage_Function GLMessage::glBlendFunc;
852 const GLMessage_Function GLMessage::glBlendFuncSeparate;
853 const GLMessage_Function GLMessage::glBlendFuncSeparateOES;
854 const GLMessage_Function GLMessage::glBufferData;
855 const GLMessage_Function GLMessage::glBufferSubData;
856 const GLMessage_Function GLMessage::glCheckFramebufferStatus;
857 const GLMessage_Function GLMessage::glCheckFramebufferStatusOES;
858 const GLMessage_Function GLMessage::glClearColor;
859 const GLMessage_Function GLMessage::glClearColorx;
860 const GLMessage_Function GLMessage::glClearColorxOES;
861 const GLMessage_Function GLMessage::glClearDepthf;
862 const GLMessage_Function GLMessage::glClearDepthfOES;
863 const GLMessage_Function GLMessage::glClearDepthx;
864 const GLMessage_Function GLMessage::glClearDepthxOES;
865 const GLMessage_Function GLMessage::glClear;
866 const GLMessage_Function GLMessage::glClearStencil;
867 const GLMessage_Function GLMessage::glClientActiveTexture;
868 const GLMessage_Function GLMessage::glClipPlanef;
869 const GLMessage_Function GLMessage::glClipPlanefIMG;
870 const GLMessage_Function GLMessage::glClipPlanefOES;
871 const GLMessage_Function GLMessage::glClipPlanex;
872 const GLMessage_Function GLMessage::glClipPlanexIMG;
873 const GLMessage_Function GLMessage::glClipPlanexOES;
874 const GLMessage_Function GLMessage::glColor4f;
875 const GLMessage_Function GLMessage::glColor4ub;
876 const GLMessage_Function GLMessage::glColor4x;
877 const GLMessage_Function GLMessage::glColor4xOES;
878 const GLMessage_Function GLMessage::glColorMask;
879 const GLMessage_Function GLMessage::glColorPointer;
880 const GLMessage_Function GLMessage::glCompileShader;
881 const GLMessage_Function GLMessage::glCompressedTexImage2D;
882 const GLMessage_Function GLMessage::glCompressedTexImage3DOES;
883 const GLMessage_Function GLMessage::glCompressedTexSubImage2D;
884 const GLMessage_Function GLMessage::glCompressedTexSubImage3DOES;
885 const GLMessage_Function GLMessage::glCopyTexImage2D;
886 const GLMessage_Function GLMessage::glCopyTexSubImage2D;
887 const GLMessage_Function GLMessage::glCopyTexSubImage3DOES;
888 const GLMessage_Function GLMessage::glCoverageMaskNV;
889 const GLMessage_Function GLMessage::glCoverageOperationNV;
890 const GLMessage_Function GLMessage::glCreateProgram;
891 const GLMessage_Function GLMessage::glCreateShader;
892 const GLMessage_Function GLMessage::glCullFace;
893 const GLMessage_Function GLMessage::glCurrentPaletteMatrixOES;
894 const GLMessage_Function GLMessage::glDeleteBuffers;
895 const GLMessage_Function GLMessage::glDeleteFencesNV;
896 const GLMessage_Function GLMessage::glDeleteFramebuffers;
897 const GLMessage_Function GLMessage::glDeleteFramebuffersOES;
898 const GLMessage_Function GLMessage::glDeletePerfMonitorsAMD;
899 const GLMessage_Function GLMessage::glDeleteProgram;
900 const GLMessage_Function GLMessage::glDeleteRenderbuffers;
901 const GLMessage_Function GLMessage::glDeleteRenderbuffersOES;
902 const GLMessage_Function GLMessage::glDeleteShader;
903 const GLMessage_Function GLMessage::glDeleteTextures;
904 const GLMessage_Function GLMessage::glDeleteVertexArraysOES;
905 const GLMessage_Function GLMessage::glDepthFunc;
906 const GLMessage_Function GLMessage::glDepthMask;
907 const GLMessage_Function GLMessage::glDepthRangef;
908 const GLMessage_Function GLMessage::glDepthRangefOES;
909 const GLMessage_Function GLMessage::glDepthRangex;
910 const GLMessage_Function GLMessage::glDepthRangexOES;
911 const GLMessage_Function GLMessage::glDetachShader;
912 const GLMessage_Function GLMessage::glDisableClientState;
913 const GLMessage_Function GLMessage::glDisableDriverControlQCOM;
914 const GLMessage_Function GLMessage::glDisable;
915 const GLMessage_Function GLMessage::glDisableVertexAttribArray;
916 const GLMessage_Function GLMessage::glDiscardFramebufferEXT;
917 const GLMessage_Function GLMessage::glDrawArrays;
918 const GLMessage_Function GLMessage::glDrawElements;
919 const GLMessage_Function GLMessage::glDrawTexfOES;
920 const GLMessage_Function GLMessage::glDrawTexfvOES;
921 const GLMessage_Function GLMessage::glDrawTexiOES;
922 const GLMessage_Function GLMessage::glDrawTexivOES;
923 const GLMessage_Function GLMessage::glDrawTexsOES;
924 const GLMessage_Function GLMessage::glDrawTexsvOES;
925 const GLMessage_Function GLMessage::glDrawTexxOES;
926 const GLMessage_Function GLMessage::glDrawTexxvOES;
927 const GLMessage_Function GLMessage::glEGLImageTargetRenderbufferStorageOES;
928 const GLMessage_Function GLMessage::glEGLImageTargetTexture2DOES;
929 const GLMessage_Function GLMessage::glEnableClientState;
930 const GLMessage_Function GLMessage::glEnableDriverControlQCOM;
931 const GLMessage_Function GLMessage::glEnable;
932 const GLMessage_Function GLMessage::glEnableVertexAttribArray;
933 const GLMessage_Function GLMessage::glEndPerfMonitorAMD;
934 const GLMessage_Function GLMessage::glEndTilingQCOM;
935 const GLMessage_Function GLMessage::glExtGetBufferPointervQCOM;
936 const GLMessage_Function GLMessage::glExtGetBuffersQCOM;
937 const GLMessage_Function GLMessage::glExtGetFramebuffersQCOM;
938 const GLMessage_Function GLMessage::glExtGetProgramBinarySourceQCOM;
939 const GLMessage_Function GLMessage::glExtGetProgramsQCOM;
940 const GLMessage_Function GLMessage::glExtGetRenderbuffersQCOM;
941 const GLMessage_Function GLMessage::glExtGetShadersQCOM;
942 const GLMessage_Function GLMessage::glExtGetTexLevelParameterivQCOM;
943 const GLMessage_Function GLMessage::glExtGetTexSubImageQCOM;
944 const GLMessage_Function GLMessage::glExtGetTexturesQCOM;
945 const GLMessage_Function GLMessage::glExtIsProgramBinaryQCOM;
946 const GLMessage_Function GLMessage::glExtTexObjectStateOverrideiQCOM;
947 const GLMessage_Function GLMessage::glFinishFenceNV;
948 const GLMessage_Function GLMessage::glFinish;
949 const GLMessage_Function GLMessage::glFlush;
950 const GLMessage_Function GLMessage::glFogf;
951 const GLMessage_Function GLMessage::glFogfv;
952 const GLMessage_Function GLMessage::glFogx;
953 const GLMessage_Function GLMessage::glFogxOES;
954 const GLMessage_Function GLMessage::glFogxv;
955 const GLMessage_Function GLMessage::glFogxvOES;
956 const GLMessage_Function GLMessage::glFramebufferRenderbuffer;
957 const GLMessage_Function GLMessage::glFramebufferRenderbufferOES;
958 const GLMessage_Function GLMessage::glFramebufferTexture2D;
959 const GLMessage_Function GLMessage::glFramebufferTexture2DMultisampleIMG;
960 const GLMessage_Function GLMessage::glFramebufferTexture2DOES;
961 const GLMessage_Function GLMessage::glFramebufferTexture3DOES;
962 const GLMessage_Function GLMessage::glFrontFace;
963 const GLMessage_Function GLMessage::glFrustumf;
964 const GLMessage_Function GLMessage::glFrustumfOES;
965 const GLMessage_Function GLMessage::glFrustumx;
966 const GLMessage_Function GLMessage::glFrustumxOES;
967 const GLMessage_Function GLMessage::glGenBuffers;
968 const GLMessage_Function GLMessage::glGenerateMipmap;
969 const GLMessage_Function GLMessage::glGenerateMipmapOES;
970 const GLMessage_Function GLMessage::glGenFencesNV;
971 const GLMessage_Function GLMessage::glGenFramebuffers;
972 const GLMessage_Function GLMessage::glGenFramebuffersOES;
973 const GLMessage_Function GLMessage::glGenPerfMonitorsAMD;
974 const GLMessage_Function GLMessage::glGenRenderbuffers;
975 const GLMessage_Function GLMessage::glGenRenderbuffersOES;
976 const GLMessage_Function GLMessage::glGenTextures;
977 const GLMessage_Function GLMessage::glGenVertexArraysOES;
978 const GLMessage_Function GLMessage::glGetActiveAttrib;
979 const GLMessage_Function GLMessage::glGetActiveUniform;
980 const GLMessage_Function GLMessage::glGetAttachedShaders;
981 const GLMessage_Function GLMessage::glGetAttribLocation;
982 const GLMessage_Function GLMessage::glGetBooleanv;
983 const GLMessage_Function GLMessage::glGetBufferParameteriv;
984 const GLMessage_Function GLMessage::glGetBufferPointervOES;
985 const GLMessage_Function GLMessage::glGetClipPlanef;
986 const GLMessage_Function GLMessage::glGetClipPlanefOES;
987 const GLMessage_Function GLMessage::glGetClipPlanex;
988 const GLMessage_Function GLMessage::glGetClipPlanexOES;
989 const GLMessage_Function GLMessage::glGetDriverControlsQCOM;
990 const GLMessage_Function GLMessage::glGetDriverControlStringQCOM;
991 const GLMessage_Function GLMessage::glGetError;
992 const GLMessage_Function GLMessage::glGetFenceivNV;
993 const GLMessage_Function GLMessage::glGetFixedv;
994 const GLMessage_Function GLMessage::glGetFixedvOES;
995 const GLMessage_Function GLMessage::glGetFloatv;
996 const GLMessage_Function GLMessage::glGetFramebufferAttachmentParameteriv;
997 const GLMessage_Function GLMessage::glGetFramebufferAttachmentParameterivOES;
998 const GLMessage_Function GLMessage::glGetIntegerv;
999 const GLMessage_Function GLMessage::glGetLightfv;
1000 const GLMessage_Function GLMessage::glGetLightxv;
1001 const GLMessage_Function GLMessage::glGetLightxvOES;
1002 const GLMessage_Function GLMessage::glGetMaterialfv;
1003 const GLMessage_Function GLMessage::glGetMaterialxv;
1004 const GLMessage_Function GLMessage::glGetMaterialxvOES;
1005 const GLMessage_Function GLMessage::glGetPerfMonitorCounterDataAMD;
1006 const GLMessage_Function GLMessage::glGetPerfMonitorCounterInfoAMD;
1007 const GLMessage_Function GLMessage::glGetPerfMonitorCountersAMD;
1008 const GLMessage_Function GLMessage::glGetPerfMonitorCounterStringAMD;
1009 const GLMessage_Function GLMessage::glGetPerfMonitorGroupsAMD;
1010 const GLMessage_Function GLMessage::glGetPerfMonitorGroupStringAMD;
1011 const GLMessage_Function GLMessage::glGetPointerv;
1012 const GLMessage_Function GLMessage::glGetProgramBinaryOES;
1013 const GLMessage_Function GLMessage::glGetProgramInfoLog;
1014 const GLMessage_Function GLMessage::glGetProgramiv;
1015 const GLMessage_Function GLMessage::glGetRenderbufferParameteriv;
1016 const GLMessage_Function GLMessage::glGetRenderbufferParameterivOES;
1017 const GLMessage_Function GLMessage::glGetShaderInfoLog;
1018 const GLMessage_Function GLMessage::glGetShaderiv;
1019 const GLMessage_Function GLMessage::glGetShaderPrecisionFormat;
1020 const GLMessage_Function GLMessage::glGetShaderSource;
1021 const GLMessage_Function GLMessage::glGetString;
1022 const GLMessage_Function GLMessage::glGetTexEnvfv;
1023 const GLMessage_Function GLMessage::glGetTexEnviv;
1024 const GLMessage_Function GLMessage::glGetTexEnvxv;
1025 const GLMessage_Function GLMessage::glGetTexEnvxvOES;
1026 const GLMessage_Function GLMessage::glGetTexGenfvOES;
1027 const GLMessage_Function GLMessage::glGetTexGenivOES;
1028 const GLMessage_Function GLMessage::glGetTexGenxvOES;
1029 const GLMessage_Function GLMessage::glGetTexParameterfv;
1030 const GLMessage_Function GLMessage::glGetTexParameteriv;
1031 const GLMessage_Function GLMessage::glGetTexParameterxv;
1032 const GLMessage_Function GLMessage::glGetTexParameterxvOES;
1033 const GLMessage_Function GLMessage::glGetUniformfv;
1034 const GLMessage_Function GLMessage::glGetUniformiv;
1035 const GLMessage_Function GLMessage::glGetUniformLocation;
1036 const GLMessage_Function GLMessage::glGetVertexAttribfv;
1037 const GLMessage_Function GLMessage::glGetVertexAttribiv;
1038 const GLMessage_Function GLMessage::glGetVertexAttribPointerv;
1039 const GLMessage_Function GLMessage::glHint;
1040 const GLMessage_Function GLMessage::glIsBuffer;
1041 const GLMessage_Function GLMessage::glIsEnabled;
1042 const GLMessage_Function GLMessage::glIsFenceNV;
1043 const GLMessage_Function GLMessage::glIsFramebuffer;
1044 const GLMessage_Function GLMessage::glIsFramebufferOES;
1045 const GLMessage_Function GLMessage::glIsProgram;
1046 const GLMessage_Function GLMessage::glIsRenderbuffer;
1047 const GLMessage_Function GLMessage::glIsRenderbufferOES;
1048 const GLMessage_Function GLMessage::glIsShader;
1049 const GLMessage_Function GLMessage::glIsTexture;
1050 const GLMessage_Function GLMessage::glIsVertexArrayOES;
1051 const GLMessage_Function GLMessage::glLightf;
1052 const GLMessage_Function GLMessage::glLightfv;
1053 const GLMessage_Function GLMessage::glLightModelf;
1054 const GLMessage_Function GLMessage::glLightModelfv;
1055 const GLMessage_Function GLMessage::glLightModelx;
1056 const GLMessage_Function GLMessage::glLightModelxOES;
1057 const GLMessage_Function GLMessage::glLightModelxv;
1058 const GLMessage_Function GLMessage::glLightModelxvOES;
1059 const GLMessage_Function GLMessage::glLightx;
1060 const GLMessage_Function GLMessage::glLightxOES;
1061 const GLMessage_Function GLMessage::glLightxv;
1062 const GLMessage_Function GLMessage::glLightxvOES;
1063 const GLMessage_Function GLMessage::glLineWidth;
1064 const GLMessage_Function GLMessage::glLineWidthx;
1065 const GLMessage_Function GLMessage::glLineWidthxOES;
1066 const GLMessage_Function GLMessage::glLinkProgram;
1067 const GLMessage_Function GLMessage::glLoadIdentity;
1068 const GLMessage_Function GLMessage::glLoadMatrixf;
1069 const GLMessage_Function GLMessage::glLoadMatrixx;
1070 const GLMessage_Function GLMessage::glLoadMatrixxOES;
1071 const GLMessage_Function GLMessage::glLoadPaletteFromModelViewMatrixOES;
1072 const GLMessage_Function GLMessage::glLogicOp;
1073 const GLMessage_Function GLMessage::glMapBufferOES;
1074 const GLMessage_Function GLMessage::glMaterialf;
1075 const GLMessage_Function GLMessage::glMaterialfv;
1076 const GLMessage_Function GLMessage::glMaterialx;
1077 const GLMessage_Function GLMessage::glMaterialxOES;
1078 const GLMessage_Function GLMessage::glMaterialxv;
1079 const GLMessage_Function GLMessage::glMaterialxvOES;
1080 const GLMessage_Function GLMessage::glMatrixIndexPointerOES;
1081 const GLMessage_Function GLMessage::glMatrixMode;
1082 const GLMessage_Function GLMessage::glMultiDrawArraysEXT;
1083 const GLMessage_Function GLMessage::glMultiDrawElementsEXT;
1084 const GLMessage_Function GLMessage::glMultiTexCoord4f;
1085 const GLMessage_Function GLMessage::glMultiTexCoord4x;
1086 const GLMessage_Function GLMessage::glMultiTexCoord4xOES;
1087 const GLMessage_Function GLMessage::glMultMatrixf;
1088 const GLMessage_Function GLMessage::glMultMatrixx;
1089 const GLMessage_Function GLMessage::glMultMatrixxOES;
1090 const GLMessage_Function GLMessage::glNormal3f;
1091 const GLMessage_Function GLMessage::glNormal3x;
1092 const GLMessage_Function GLMessage::glNormal3xOES;
1093 const GLMessage_Function GLMessage::glNormalPointer;
1094 const GLMessage_Function GLMessage::glOrthof;
1095 const GLMessage_Function GLMessage::glOrthofOES;
1096 const GLMessage_Function GLMessage::glOrthox;
1097 const GLMessage_Function GLMessage::glOrthoxOES;
1098 const GLMessage_Function GLMessage::glPixelStorei;
1099 const GLMessage_Function GLMessage::glPointParameterf;
1100 const GLMessage_Function GLMessage::glPointParameterfv;
1101 const GLMessage_Function GLMessage::glPointParameterx;
1102 const GLMessage_Function GLMessage::glPointParameterxOES;
1103 const GLMessage_Function GLMessage::glPointParameterxv;
1104 const GLMessage_Function GLMessage::glPointParameterxvOES;
1105 const GLMessage_Function GLMessage::glPointSize;
1106 const GLMessage_Function GLMessage::glPointSizePointerOES;
1107 const GLMessage_Function GLMessage::glPointSizex;
1108 const GLMessage_Function GLMessage::glPointSizexOES;
1109 const GLMessage_Function GLMessage::glPolygonOffset;
1110 const GLMessage_Function GLMessage::glPolygonOffsetx;
1111 const GLMessage_Function GLMessage::glPolygonOffsetxOES;
1112 const GLMessage_Function GLMessage::glPopMatrix;
1113 const GLMessage_Function GLMessage::glProgramBinaryOES;
1114 const GLMessage_Function GLMessage::glPushMatrix;
1115 const GLMessage_Function GLMessage::glQueryMatrixxOES;
1116 const GLMessage_Function GLMessage::glReadPixels;
1117 const GLMessage_Function GLMessage::glReleaseShaderCompiler;
1118 const GLMessage_Function GLMessage::glRenderbufferStorage;
1119 const GLMessage_Function GLMessage::glRenderbufferStorageMultisampleIMG;
1120 const GLMessage_Function GLMessage::glRenderbufferStorageOES;
1121 const GLMessage_Function GLMessage::glRotatef;
1122 const GLMessage_Function GLMessage::glRotatex;
1123 const GLMessage_Function GLMessage::glRotatexOES;
1124 const GLMessage_Function GLMessage::glSampleCoverage;
1125 const GLMessage_Function GLMessage::glSampleCoveragex;
1126 const GLMessage_Function GLMessage::glSampleCoveragexOES;
1127 const GLMessage_Function GLMessage::glScalef;
1128 const GLMessage_Function GLMessage::glScalex;
1129 const GLMessage_Function GLMessage::glScalexOES;
1130 const GLMessage_Function GLMessage::glScissor;
1131 const GLMessage_Function GLMessage::glSelectPerfMonitorCountersAMD;
1132 const GLMessage_Function GLMessage::glSetFenceNV;
1133 const GLMessage_Function GLMessage::glShadeModel;
1134 const GLMessage_Function GLMessage::glShaderBinary;
1135 const GLMessage_Function GLMessage::glShaderSource;
1136 const GLMessage_Function GLMessage::glStartTilingQCOM;
1137 const GLMessage_Function GLMessage::glStencilFunc;
1138 const GLMessage_Function GLMessage::glStencilFuncSeparate;
1139 const GLMessage_Function GLMessage::glStencilMask;
1140 const GLMessage_Function GLMessage::glStencilMaskSeparate;
1141 const GLMessage_Function GLMessage::glStencilOp;
1142 const GLMessage_Function GLMessage::glStencilOpSeparate;
1143 const GLMessage_Function GLMessage::glTestFenceNV;
1144 const GLMessage_Function GLMessage::glTexCoordPointer;
1145 const GLMessage_Function GLMessage::glTexEnvf;
1146 const GLMessage_Function GLMessage::glTexEnvfv;
1147 const GLMessage_Function GLMessage::glTexEnvi;
1148 const GLMessage_Function GLMessage::glTexEnviv;
1149 const GLMessage_Function GLMessage::glTexEnvx;
1150 const GLMessage_Function GLMessage::glTexEnvxOES;
1151 const GLMessage_Function GLMessage::glTexEnvxv;
1152 const GLMessage_Function GLMessage::glTexEnvxvOES;
1153 const GLMessage_Function GLMessage::glTexGenfOES;
1154 const GLMessage_Function GLMessage::glTexGenfvOES;
1155 const GLMessage_Function GLMessage::glTexGeniOES;
1156 const GLMessage_Function GLMessage::glTexGenivOES;
1157 const GLMessage_Function GLMessage::glTexGenxOES;
1158 const GLMessage_Function GLMessage::glTexGenxvOES;
1159 const GLMessage_Function GLMessage::glTexImage2D;
1160 const GLMessage_Function GLMessage::glTexImage3DOES;
1161 const GLMessage_Function GLMessage::glTexParameterf;
1162 const GLMessage_Function GLMessage::glTexParameterfv;
1163 const GLMessage_Function GLMessage::glTexParameteri;
1164 const GLMessage_Function GLMessage::glTexParameteriv;
1165 const GLMessage_Function GLMessage::glTexParameterx;
1166 const GLMessage_Function GLMessage::glTexParameterxOES;
1167 const GLMessage_Function GLMessage::glTexParameterxv;
1168 const GLMessage_Function GLMessage::glTexParameterxvOES;
1169 const GLMessage_Function GLMessage::glTexSubImage2D;
1170 const GLMessage_Function GLMessage::glTexSubImage3DOES;
1171 const GLMessage_Function GLMessage::glTranslatef;
1172 const GLMessage_Function GLMessage::glTranslatex;
1173 const GLMessage_Function GLMessage::glTranslatexOES;
1174 const GLMessage_Function GLMessage::glUniform1f;
1175 const GLMessage_Function GLMessage::glUniform1fv;
1176 const GLMessage_Function GLMessage::glUniform1i;
1177 const GLMessage_Function GLMessage::glUniform1iv;
1178 const GLMessage_Function GLMessage::glUniform2f;
1179 const GLMessage_Function GLMessage::glUniform2fv;
1180 const GLMessage_Function GLMessage::glUniform2i;
1181 const GLMessage_Function GLMessage::glUniform2iv;
1182 const GLMessage_Function GLMessage::glUniform3f;
1183 const GLMessage_Function GLMessage::glUniform3fv;
1184 const GLMessage_Function GLMessage::glUniform3i;
1185 const GLMessage_Function GLMessage::glUniform3iv;
1186 const GLMessage_Function GLMessage::glUniform4f;
1187 const GLMessage_Function GLMessage::glUniform4fv;
1188 const GLMessage_Function GLMessage::glUniform4i;
1189 const GLMessage_Function GLMessage::glUniform4iv;
1190 const GLMessage_Function GLMessage::glUniformMatrix2fv;
1191 const GLMessage_Function GLMessage::glUniformMatrix3fv;
1192 const GLMessage_Function GLMessage::glUniformMatrix4fv;
1193 const GLMessage_Function GLMessage::glUnmapBufferOES;
1194 const GLMessage_Function GLMessage::glUseProgram;
1195 const GLMessage_Function GLMessage::glValidateProgram;
1196 const GLMessage_Function GLMessage::glVertexAttrib1f;
1197 const GLMessage_Function GLMessage::glVertexAttrib1fv;
1198 const GLMessage_Function GLMessage::glVertexAttrib2f;
1199 const GLMessage_Function GLMessage::glVertexAttrib2fv;
1200 const GLMessage_Function GLMessage::glVertexAttrib3f;
1201 const GLMessage_Function GLMessage::glVertexAttrib3fv;
1202 const GLMessage_Function GLMessage::glVertexAttrib4f;
1203 const GLMessage_Function GLMessage::glVertexAttrib4fv;
1204 const GLMessage_Function GLMessage::glVertexAttribPointer;
1205 const GLMessage_Function GLMessage::glVertexPointer;
1206 const GLMessage_Function GLMessage::glViewport;
1207 const GLMessage_Function GLMessage::glWeightPointerOES;
1208 const GLMessage_Function GLMessage::glReadBuffer;
1209 const GLMessage_Function GLMessage::glDrawRangeElements;
1210 const GLMessage_Function GLMessage::glTexImage3D;
1211 const GLMessage_Function GLMessage::glTexSubImage3D;
1212 const GLMessage_Function GLMessage::glCopyTexSubImage3D;
1213 const GLMessage_Function GLMessage::glCompressedTexImage3D;
1214 const GLMessage_Function GLMessage::glCompressedTexSubImage3D;
1215 const GLMessage_Function GLMessage::glGenQueries;
1216 const GLMessage_Function GLMessage::glDeleteQueries;
1217 const GLMessage_Function GLMessage::glIsQuery;
1218 const GLMessage_Function GLMessage::glBeginQuery;
1219 const GLMessage_Function GLMessage::glEndQuery;
1220 const GLMessage_Function GLMessage::glGetQueryiv;
1221 const GLMessage_Function GLMessage::glGetQueryObjectuiv;
1222 const GLMessage_Function GLMessage::glUnmapBuffer;
1223 const GLMessage_Function GLMessage::glGetBufferPointerv;
1224 const GLMessage_Function GLMessage::glDrawBuffers;
1225 const GLMessage_Function GLMessage::glUniformMatrix2x3fv;
1226 const GLMessage_Function GLMessage::glUniformMatrix3x2fv;
1227 const GLMessage_Function GLMessage::glUniformMatrix2x4fv;
1228 const GLMessage_Function GLMessage::glUniformMatrix4x2fv;
1229 const GLMessage_Function GLMessage::glUniformMatrix3x4fv;
1230 const GLMessage_Function GLMessage::glUniformMatrix4x3fv;
1231 const GLMessage_Function GLMessage::glBlitFramebuffer;
1232 const GLMessage_Function GLMessage::glRenderbufferStorageMultisample;
1233 const GLMessage_Function GLMessage::glFramebufferTextureLayer;
1234 const GLMessage_Function GLMessage::glMapBufferRange;
1235 const GLMessage_Function GLMessage::glFlushMappedBufferRange;
1236 const GLMessage_Function GLMessage::glBindVertexArray;
1237 const GLMessage_Function GLMessage::glDeleteVertexArrays;
1238 const GLMessage_Function GLMessage::glGenVertexArrays;
1239 const GLMessage_Function GLMessage::glIsVertexArray;
1240 const GLMessage_Function GLMessage::glGetIntegeri_v;
1241 const GLMessage_Function GLMessage::glBeginTransformFeedback;
1242 const GLMessage_Function GLMessage::glEndTransformFeedback;
1243 const GLMessage_Function GLMessage::glBindBufferRange;
1244 const GLMessage_Function GLMessage::glBindBufferBase;
1245 const GLMessage_Function GLMessage::glTransformFeedbackVaryings;
1246 const GLMessage_Function GLMessage::glGetTransformFeedbackVarying;
1247 const GLMessage_Function GLMessage::glVertexAttribIPointer;
1248 const GLMessage_Function GLMessage::glGetVertexAttribIiv;
1249 const GLMessage_Function GLMessage::glGetVertexAttribIuiv;
1250 const GLMessage_Function GLMessage::glVertexAttribI4i;
1251 const GLMessage_Function GLMessage::glVertexAttribI4ui;
1252 const GLMessage_Function GLMessage::glVertexAttribI4iv;
1253 const GLMessage_Function GLMessage::glVertexAttribI4uiv;
1254 const GLMessage_Function GLMessage::glGetUniformuiv;
1255 const GLMessage_Function GLMessage::glGetFragDataLocation;
1256 const GLMessage_Function GLMessage::glUniform1ui;
1257 const GLMessage_Function GLMessage::glUniform2ui;
1258 const GLMessage_Function GLMessage::glUniform3ui;
1259 const GLMessage_Function GLMessage::glUniform4ui;
1260 const GLMessage_Function GLMessage::glUniform1uiv;
1261 const GLMessage_Function GLMessage::glUniform2uiv;
1262 const GLMessage_Function GLMessage::glUniform3uiv;
1263 const GLMessage_Function GLMessage::glUniform4uiv;
1264 const GLMessage_Function GLMessage::glClearBufferiv;
1265 const GLMessage_Function GLMessage::glClearBufferuiv;
1266 const GLMessage_Function GLMessage::glClearBufferfv;
1267 const GLMessage_Function GLMessage::glClearBufferfi;
1268 const GLMessage_Function GLMessage::glGetStringi;
1269 const GLMessage_Function GLMessage::glCopyBufferSubData;
1270 const GLMessage_Function GLMessage::glGetUniformIndices;
1271 const GLMessage_Function GLMessage::glGetActiveUniformsiv;
1272 const GLMessage_Function GLMessage::glGetUniformBlockIndex;
1273 const GLMessage_Function GLMessage::glGetActiveUniformBlockiv;
1274 const GLMessage_Function GLMessage::glGetActiveUniformBlockName;
1275 const GLMessage_Function GLMessage::glUniformBlockBinding;
1276 const GLMessage_Function GLMessage::glDrawArraysInstanced;
1277 const GLMessage_Function GLMessage::glDrawElementsInstanced;
1278 const GLMessage_Function GLMessage::glFenceSync;
1279 const GLMessage_Function GLMessage::glIsSync;
1280 const GLMessage_Function GLMessage::glDeleteSync;
1281 const GLMessage_Function GLMessage::glClientWaitSync;
1282 const GLMessage_Function GLMessage::glWaitSync;
1283 const GLMessage_Function GLMessage::glGetInteger64v;
1284 const GLMessage_Function GLMessage::glGetSynciv;
1285 const GLMessage_Function GLMessage::glGetInteger64i_v;
1286 const GLMessage_Function GLMessage::glGetBufferParameteri64v;
1287 const GLMessage_Function GLMessage::glGenSamplers;
1288 const GLMessage_Function GLMessage::glDeleteSamplers;
1289 const GLMessage_Function GLMessage::glIsSampler;
1290 const GLMessage_Function GLMessage::glBindSampler;
1291 const GLMessage_Function GLMessage::glSamplerParameteri;
1292 const GLMessage_Function GLMessage::glSamplerParameteriv;
1293 const GLMessage_Function GLMessage::glSamplerParameterf;
1294 const GLMessage_Function GLMessage::glSamplerParameterfv;
1295 const GLMessage_Function GLMessage::glGetSamplerParameteriv;
1296 const GLMessage_Function GLMessage::glGetSamplerParameterfv;
1297 const GLMessage_Function GLMessage::glVertexAttribDivisor;
1298 const GLMessage_Function GLMessage::glBindTransformFeedback;
1299 const GLMessage_Function GLMessage::glDeleteTransformFeedbacks;
1300 const GLMessage_Function GLMessage::glGenTransformFeedbacks;
1301 const GLMessage_Function GLMessage::glIsTransformFeedback;
1302 const GLMessage_Function GLMessage::glPauseTransformFeedback;
1303 const GLMessage_Function GLMessage::glResumeTransformFeedback;
1304 const GLMessage_Function GLMessage::glGetProgramBinary;
1305 const GLMessage_Function GLMessage::glProgramBinary;
1306 const GLMessage_Function GLMessage::glProgramParameteri;
1307 const GLMessage_Function GLMessage::glInvalidateFramebuffer;
1308 const GLMessage_Function GLMessage::glInvalidateSubFramebuffer;
1309 const GLMessage_Function GLMessage::glTexStorage2D;
1310 const GLMessage_Function GLMessage::glTexStorage3D;
1311 const GLMessage_Function GLMessage::glGetInternalformativ;
1312 const GLMessage_Function GLMessage::glBeginPerfQueryINTEL;
1313 const GLMessage_Function GLMessage::glCreatePerfQueryINTEL;
1314 const GLMessage_Function GLMessage::glDeletePerfQueryINTEL;
1315 const GLMessage_Function GLMessage::glEndPerfQueryINTEL;
1316 const GLMessage_Function GLMessage::glGetFirstPerfQueryIdINTEL;
1317 const GLMessage_Function GLMessage::glGetNextPerfQueryIdINTEL;
1318 const GLMessage_Function GLMessage::glGetPerfCounterInfoINTEL;
1319 const GLMessage_Function GLMessage::glGetPerfQueryDataINTEL;
1320 const GLMessage_Function GLMessage::glGetPerfQueryIdByNameINTEL;
1321 const GLMessage_Function GLMessage::glGetPerfQueryInfoINTEL;
1322 const GLMessage_Function GLMessage::glBlendBarrierKHR;
1323 const GLMessage_Function GLMessage::glBlendBarrierNV;
1324 const GLMessage_Function GLMessage::glBlendParameteriNV;
1325 const GLMessage_Function GLMessage::glBlitFramebufferNV;
1326 const GLMessage_Function GLMessage::glFenceSyncAPPLE;
1327 const GLMessage_Function GLMessage::glIsSyncAPPLE;
1328 const GLMessage_Function GLMessage::glDeleteSyncAPPLE;
1329 const GLMessage_Function GLMessage::glClientWaitSyncAPPLE;
1330 const GLMessage_Function GLMessage::glWaitSyncAPPLE;
1331 const GLMessage_Function GLMessage::glGetInteger64vAPPLE;
1332 const GLMessage_Function GLMessage::glGetSyncivAPPLE;
1333 const GLMessage_Function GLMessage::glCopyBufferSubDataNV;
1334 const GLMessage_Function GLMessage::glActiveShaderProgramEXT;
1335 const GLMessage_Function GLMessage::glAlphaFuncQCOM;
1336 const GLMessage_Function GLMessage::glBeginQueryEXT;
1337 const GLMessage_Function GLMessage::glBindProgramPipelineEXT;
1338 const GLMessage_Function GLMessage::glBlitFramebufferANGLE;
1339 const GLMessage_Function GLMessage::glCreateShaderProgramvEXT;
1340 const GLMessage_Function GLMessage::glDeleteProgramPipelinesEXT;
1341 const GLMessage_Function GLMessage::glDeleteQueriesEXT;
1342 const GLMessage_Function GLMessage::glDrawBuffersNV;
1343 const GLMessage_Function GLMessage::glEndQueryEXT;
1344 const GLMessage_Function GLMessage::glFramebufferTexture2DMultisampleEXT;
1345 const GLMessage_Function GLMessage::glGenProgramPipelinesEXT;
1346 const GLMessage_Function GLMessage::glGenQueriesEXT;
1347 const GLMessage_Function GLMessage::glGetGraphicsResetStatusEXT;
1348 const GLMessage_Function GLMessage::glGetObjectLabelEXT;
1349 const GLMessage_Function GLMessage::glGetProgramPipelineInfoLogEXT;
1350 const GLMessage_Function GLMessage::glGetProgramPipelineivEXT;
1351 const GLMessage_Function GLMessage::glGetQueryObjectuivEXT;
1352 const GLMessage_Function GLMessage::glGetQueryivEXT;
1353 const GLMessage_Function GLMessage::glGetnUniformfvEXT;
1354 const GLMessage_Function GLMessage::glGetnUniformivEXT;
1355 const GLMessage_Function GLMessage::glInsertEventMarkerEXT;
1356 const GLMessage_Function GLMessage::glIsProgramPipelineEXT;
1357 const GLMessage_Function GLMessage::glIsQueryEXT;
1358 const GLMessage_Function GLMessage::glLabelObjectEXT;
1359 const GLMessage_Function GLMessage::glPopGroupMarkerEXT;
1360 const GLMessage_Function GLMessage::glProgramParameteriEXT;
1361 const GLMessage_Function GLMessage::glProgramUniform1fEXT;
1362 const GLMessage_Function GLMessage::glProgramUniform1fvEXT;
1363 const GLMessage_Function GLMessage::glProgramUniform1iEXT;
1364 const GLMessage_Function GLMessage::glProgramUniform1ivEXT;
1365 const GLMessage_Function GLMessage::glProgramUniform2fEXT;
1366 const GLMessage_Function GLMessage::glProgramUniform2fvEXT;
1367 const GLMessage_Function GLMessage::glProgramUniform2iEXT;
1368 const GLMessage_Function GLMessage::glProgramUniform2ivEXT;
1369 const GLMessage_Function GLMessage::glProgramUniform3fEXT;
1370 const GLMessage_Function GLMessage::glProgramUniform3fvEXT;
1371 const GLMessage_Function GLMessage::glProgramUniform3iEXT;
1372 const GLMessage_Function GLMessage::glProgramUniform3ivEXT;
1373 const GLMessage_Function GLMessage::glProgramUniform4fEXT;
1374 const GLMessage_Function GLMessage::glProgramUniform4fvEXT;
1375 const GLMessage_Function GLMessage::glProgramUniform4iEXT;
1376 const GLMessage_Function GLMessage::glProgramUniform4ivEXT;
1377 const GLMessage_Function GLMessage::glProgramUniformMatrix2fvEXT;
1378 const GLMessage_Function GLMessage::glProgramUniformMatrix3fvEXT;
1379 const GLMessage_Function GLMessage::glProgramUniformMatrix4fvEXT;
1380 const GLMessage_Function GLMessage::glPushGroupMarkerEXT;
1381 const GLMessage_Function GLMessage::glReadBufferNV;
1382 const GLMessage_Function GLMessage::glReadnPixelsEXT;
1383 const GLMessage_Function GLMessage::glRenderbufferStorageMultisampleANGLE;
1384 const GLMessage_Function GLMessage::glRenderbufferStorageMultisampleAPPLE;
1385 const GLMessage_Function GLMessage::glRenderbufferStorageMultisampleEXT;
1386 const GLMessage_Function GLMessage::glResolveMultisampleFramebufferAPPLE;
1387 const GLMessage_Function GLMessage::glTexStorage1DEXT;
1388 const GLMessage_Function GLMessage::glTexStorage2DEXT;
1389 const GLMessage_Function GLMessage::glTexStorage3DEXT;
1390 const GLMessage_Function GLMessage::glTextureStorage1DEXT;
1391 const GLMessage_Function GLMessage::glTextureStorage2DEXT;
1392 const GLMessage_Function GLMessage::glTextureStorage3DEXT;
1393 const GLMessage_Function GLMessage::glUseProgramStagesEXT;
1394 const GLMessage_Function GLMessage::glValidateProgramPipelineEXT;
1395 const GLMessage_Function GLMessage::glCopyTextureLevelsAPPLE;
1396 const GLMessage_Function GLMessage::glDebugMessageControlKHR;
1397 const GLMessage_Function GLMessage::glDebugMessageInsertKHR;
1398 const GLMessage_Function GLMessage::glDebugMessageCallbackKHR;
1399 const GLMessage_Function GLMessage::glGetDebugMessageLogKHR;
1400 const GLMessage_Function GLMessage::glPushDebugGroupKHR;
1401 const GLMessage_Function GLMessage::glPopDebugGroupKHR;
1402 const GLMessage_Function GLMessage::glObjectLabelKHR;
1403 const GLMessage_Function GLMessage::glGetObjectLabelKHR;
1404 const GLMessage_Function GLMessage::glObjectPtrLabelKHR;
1405 const GLMessage_Function GLMessage::glGetObjectPtrLabelKHR;
1406 const GLMessage_Function GLMessage::glGetPointervKHR;
1407 const GLMessage_Function GLMessage::glDrawArraysInstancedANGLE;
1408 const GLMessage_Function GLMessage::glDrawElementsInstancedANGLE;
1409 const GLMessage_Function GLMessage::glVertexAttribDivisorANGLE;
1410 const GLMessage_Function GLMessage::glDrawArraysInstancedEXT;
1411 const GLMessage_Function GLMessage::glDrawElementsInstancedEXT;
1412 const GLMessage_Function GLMessage::glVertexAttribDivisorEXT;
1413 const GLMessage_Function GLMessage::glDrawArraysInstancedNV;
1414 const GLMessage_Function GLMessage::glDrawElementsInstancedNV;
1415 const GLMessage_Function GLMessage::glVertexAttribDivisorNV;
1416 const GLMessage_Function GLMessage::glDrawBuffersEXT;
1417 const GLMessage_Function GLMessage::glReadBufferIndexedEXT;
1418 const GLMessage_Function GLMessage::glDrawBuffersIndexedEXT;
1419 const GLMessage_Function GLMessage::glGetIntegeri_vEXT;
1420 const GLMessage_Function GLMessage::glMapBufferRangeEXT;
1421 const GLMessage_Function GLMessage::glFlushMappedBufferRangeEXT;
1422 const GLMessage_Function GLMessage::glQueryCounterEXT;
1423 const GLMessage_Function GLMessage::glGetQueryObjecti64vEXT;
1424 const GLMessage_Function GLMessage::glGetQueryObjectivEXT;
1425 const GLMessage_Function GLMessage::glGetQueryObjectui64vEXT;
1426 const GLMessage_Function GLMessage::glGetTranslatedShaderSourceANGLE;
1427 const GLMessage_Function GLMessage::glMinSampleShadingOES;
1428 const GLMessage_Function GLMessage::glMultiTexCoord1bOES;
1429 const GLMessage_Function GLMessage::glMultiTexCoord1bvOES;
1430 const GLMessage_Function GLMessage::glMultiTexCoord2bOES;
1431 const GLMessage_Function GLMessage::glMultiTexCoord2bvOES;
1432 const GLMessage_Function GLMessage::glMultiTexCoord3bOES;
1433 const GLMessage_Function GLMessage::glMultiTexCoord3bvOES;
1434 const GLMessage_Function GLMessage::glMultiTexCoord4bOES;
1435 const GLMessage_Function GLMessage::glMultiTexCoord4bvOES;
1436 const GLMessage_Function GLMessage::glTexCoord1bOES;
1437 const GLMessage_Function GLMessage::glTexCoord1bvOES;
1438 const GLMessage_Function GLMessage::glTexCoord2bOES;
1439 const GLMessage_Function GLMessage::glTexCoord2bvOES;
1440 const GLMessage_Function GLMessage::glTexCoord3bOES;
1441 const GLMessage_Function GLMessage::glTexCoord3bvOES;
1442 const GLMessage_Function GLMessage::glTexCoord4bOES;
1443 const GLMessage_Function GLMessage::glTexCoord4bvOES;
1444 const GLMessage_Function GLMessage::glVertex2bOES;
1445 const GLMessage_Function GLMessage::glVertex2bvOES;
1446 const GLMessage_Function GLMessage::glVertex3bOES;
1447 const GLMessage_Function GLMessage::glVertex3bvOES;
1448 const GLMessage_Function GLMessage::glVertex4bOES;
1449 const GLMessage_Function GLMessage::glVertex4bvOES;
1450 const GLMessage_Function GLMessage::glProgramUniform1uiEXT;
1451 const GLMessage_Function GLMessage::glProgramUniform2uiEXT;
1452 const GLMessage_Function GLMessage::glProgramUniform3uiEXT;
1453 const GLMessage_Function GLMessage::glProgramUniform4uiEXT;
1454 const GLMessage_Function GLMessage::glProgramUniform1uivEXT;
1455 const GLMessage_Function GLMessage::glProgramUniform2uivEXT;
1456 const GLMessage_Function GLMessage::glProgramUniform3uivEXT;
1457 const GLMessage_Function GLMessage::glProgramUniform4uivEXT;
1458 const GLMessage_Function GLMessage::glProgramUniformMatrix2x3fvEXT;
1459 const GLMessage_Function GLMessage::glProgramUniformMatrix3x2fvEXT;
1460 const GLMessage_Function GLMessage::glProgramUniformMatrix2x4fvEXT;
1461 const GLMessage_Function GLMessage::glProgramUniformMatrix4x2fvEXT;
1462 const GLMessage_Function GLMessage::glProgramUniformMatrix3x4fvEXT;
1463 const GLMessage_Function GLMessage::glProgramUniformMatrix4x3fvEXT;
1464 const GLMessage_Function GLMessage::glRenderbufferStorageMultisampleNV;
1465 const GLMessage_Function GLMessage::glSampleCoverageOES;
1466 const GLMessage_Function GLMessage::glTexStorage3DMultisampleOES;
1467 const GLMessage_Function GLMessage::glUniformMatrix2x3fvNV;
1468 const GLMessage_Function GLMessage::glUniformMatrix3x2fvNV;
1469 const GLMessage_Function GLMessage::glUniformMatrix2x4fvNV;
1470 const GLMessage_Function GLMessage::glUniformMatrix4x2fvNV;
1471 const GLMessage_Function GLMessage::glUniformMatrix3x4fvNV;
1472 const GLMessage_Function GLMessage::glUniformMatrix4x3fvNV;
1473 const GLMessage_Function GLMessage::glActiveShaderProgram;
1474 const GLMessage_Function GLMessage::glBindImageTexture;
1475 const GLMessage_Function GLMessage::glBindProgramPipeline;
1476 const GLMessage_Function GLMessage::glBindVertexBuffer;
1477 const GLMessage_Function GLMessage::glCreateShaderProgramv;
1478 const GLMessage_Function GLMessage::glDeleteProgramPipelines;
1479 const GLMessage_Function GLMessage::glDispatchCompute;
1480 const GLMessage_Function GLMessage::glDispatchComputeIndirect;
1481 const GLMessage_Function GLMessage::glDrawArraysIndirect;
1482 const GLMessage_Function GLMessage::glDrawElementsIndirect;
1483 const GLMessage_Function GLMessage::glFramebufferParameteri;
1484 const GLMessage_Function GLMessage::glGenProgramPipelines;
1485 const GLMessage_Function GLMessage::glGetBooleani_v;
1486 const GLMessage_Function GLMessage::glGetFramebufferParameteriv;
1487 const GLMessage_Function GLMessage::glGetMultisamplefv;
1488 const GLMessage_Function GLMessage::glGetProgramInterfaceiv;
1489 const GLMessage_Function GLMessage::glGetProgramPipelineInfoLog;
1490 const GLMessage_Function GLMessage::glGetProgramPipelineiv;
1491 const GLMessage_Function GLMessage::glGetProgramResourceIndex;
1492 const GLMessage_Function GLMessage::glGetProgramResourceLocation;
1493 const GLMessage_Function GLMessage::glGetProgramResourceName;
1494 const GLMessage_Function GLMessage::glGetProgramResourceiv;
1495 const GLMessage_Function GLMessage::glGetTexLevelParameterfv;
1496 const GLMessage_Function GLMessage::glGetTexLevelParameteriv;
1497 const GLMessage_Function GLMessage::glIsProgramPipeline;
1498 const GLMessage_Function GLMessage::glMemoryBarrier;
1499 const GLMessage_Function GLMessage::glMemoryBarrierByRegion;
1500 const GLMessage_Function GLMessage::glProgramUniform1f;
1501 const GLMessage_Function GLMessage::glProgramUniform1fv;
1502 const GLMessage_Function GLMessage::glProgramUniform1i;
1503 const GLMessage_Function GLMessage::glProgramUniform1iv;
1504 const GLMessage_Function GLMessage::glProgramUniform1ui;
1505 const GLMessage_Function GLMessage::glProgramUniform1uiv;
1506 const GLMessage_Function GLMessage::glProgramUniform2f;
1507 const GLMessage_Function GLMessage::glProgramUniform2fv;
1508 const GLMessage_Function GLMessage::glProgramUniform2i;
1509 const GLMessage_Function GLMessage::glProgramUniform2iv;
1510 const GLMessage_Function GLMessage::glProgramUniform2ui;
1511 const GLMessage_Function GLMessage::glProgramUniform2uiv;
1512 const GLMessage_Function GLMessage::glProgramUniform3f;
1513 const GLMessage_Function GLMessage::glProgramUniform3fv;
1514 const GLMessage_Function GLMessage::glProgramUniform3i;
1515 const GLMessage_Function GLMessage::glProgramUniform3iv;
1516 const GLMessage_Function GLMessage::glProgramUniform3ui;
1517 const GLMessage_Function GLMessage::glProgramUniform3uiv;
1518 const GLMessage_Function GLMessage::glProgramUniform4f;
1519 const GLMessage_Function GLMessage::glProgramUniform4fv;
1520 const GLMessage_Function GLMessage::glProgramUniform4i;
1521 const GLMessage_Function GLMessage::glProgramUniform4iv;
1522 const GLMessage_Function GLMessage::glProgramUniform4ui;
1523 const GLMessage_Function GLMessage::glProgramUniform4uiv;
1524 const GLMessage_Function GLMessage::glProgramUniformMatrix2fv;
1525 const GLMessage_Function GLMessage::glProgramUniformMatrix2x3fv;
1526 const GLMessage_Function GLMessage::glProgramUniformMatrix2x4fv;
1527 const GLMessage_Function GLMessage::glProgramUniformMatrix3fv;
1528 const GLMessage_Function GLMessage::glProgramUniformMatrix3x2fv;
1529 const GLMessage_Function GLMessage::glProgramUniformMatrix3x4fv;
1530 const GLMessage_Function GLMessage::glProgramUniformMatrix4fv;
1531 const GLMessage_Function GLMessage::glProgramUniformMatrix4x2fv;
1532 const GLMessage_Function GLMessage::glProgramUniformMatrix4x3fv;
1533 const GLMessage_Function GLMessage::glSampleMaski;
1534 const GLMessage_Function GLMessage::glTexStorage2DMultisample;
1535 const GLMessage_Function GLMessage::glUseProgramStages;
1536 const GLMessage_Function GLMessage::glValidateProgramPipeline;
1537 const GLMessage_Function GLMessage::glVertexAttribBinding;
1538 const GLMessage_Function GLMessage::glVertexAttribFormat;
1539 const GLMessage_Function GLMessage::glVertexAttribIFormat;
1540 const GLMessage_Function GLMessage::glVertexBindingDivisor;
1541 const GLMessage_Function GLMessage::glBlendEquationSeparateiEXT;
1542 const GLMessage_Function GLMessage::glBlendEquationiEXT;
1543 const GLMessage_Function GLMessage::glBlendFuncSeparateiEXT;
1544 const GLMessage_Function GLMessage::glBlendFunciEXT;
1545 const GLMessage_Function GLMessage::glColorMaskiEXT;
1546 const GLMessage_Function GLMessage::glCopyImageSubDataEXT;
1547 const GLMessage_Function GLMessage::glDisableiEXT;
1548 const GLMessage_Function GLMessage::glEnableiEXT;
1549 const GLMessage_Function GLMessage::glFramebufferTextureEXT;
1550 const GLMessage_Function GLMessage::glGetSamplerParameterIivEXT;
1551 const GLMessage_Function GLMessage::glGetSamplerParameterIuivEXT;
1552 const GLMessage_Function GLMessage::glGetTexParameterIivEXT;
1553 const GLMessage_Function GLMessage::glGetTexParameterIuivEXT;
1554 const GLMessage_Function GLMessage::glIsEnablediEXT;
1555 const GLMessage_Function GLMessage::glPatchParameteriEXT;
1556 const GLMessage_Function GLMessage::glPrimitiveBoundingBoxEXT;
1557 const GLMessage_Function GLMessage::glSamplerParameterIivEXT;
1558 const GLMessage_Function GLMessage::glSamplerParameterIuivEXT;
1559 const GLMessage_Function GLMessage::glTexBufferEXT;
1560 const GLMessage_Function GLMessage::glTexBufferRangeEXT;
1561 const GLMessage_Function GLMessage::glTexParameterIivEXT;
1562 const GLMessage_Function GLMessage::glTexParameterIuivEXT;
1563 const GLMessage_Function GLMessage::glTextureViewEXT;
1564 const GLMessage_Function GLMessage::eglGetDisplay;
1565 const GLMessage_Function GLMessage::eglInitialize;
1566 const GLMessage_Function GLMessage::eglTerminate;
1567 const GLMessage_Function GLMessage::eglGetConfigs;
1568 const GLMessage_Function GLMessage::eglChooseConfig;
1569 const GLMessage_Function GLMessage::eglGetConfigAttrib;
1570 const GLMessage_Function GLMessage::eglCreateWindowSurface;
1571 const GLMessage_Function GLMessage::eglCreatePixmapSurface;
1572 const GLMessage_Function GLMessage::eglCreatePbufferSurface;
1573 const GLMessage_Function GLMessage::eglDestroySurface;
1574 const GLMessage_Function GLMessage::eglQuerySurface;
1575 const GLMessage_Function GLMessage::eglCreateContext;
1576 const GLMessage_Function GLMessage::eglDestroyContext;
1577 const GLMessage_Function GLMessage::eglMakeCurrent;
1578 const GLMessage_Function GLMessage::eglGetCurrentContext;
1579 const GLMessage_Function GLMessage::eglGetCurrentSurface;
1580 const GLMessage_Function GLMessage::eglGetCurrentDisplay;
1581 const GLMessage_Function GLMessage::eglQueryContext;
1582 const GLMessage_Function GLMessage::eglWaitGL;
1583 const GLMessage_Function GLMessage::eglWaitNative;
1584 const GLMessage_Function GLMessage::eglSwapBuffers;
1585 const GLMessage_Function GLMessage::eglCopyBuffers;
1586 const GLMessage_Function GLMessage::eglGetError;
1587 const GLMessage_Function GLMessage::eglQueryString;
1588 const GLMessage_Function GLMessage::eglGetProcAddress;
1589 const GLMessage_Function GLMessage::eglSurfaceAttrib;
1590 const GLMessage_Function GLMessage::eglBindTexImage;
1591 const GLMessage_Function GLMessage::eglReleaseTexImage;
1592 const GLMessage_Function GLMessage::eglSwapInterval;
1593 const GLMessage_Function GLMessage::eglBindAPI;
1594 const GLMessage_Function GLMessage::eglQueryAPI;
1595 const GLMessage_Function GLMessage::eglWaitClient;
1596 const GLMessage_Function GLMessage::eglReleaseThread;
1597 const GLMessage_Function GLMessage::eglCreatePbufferFromClientBuffer;
1598 const GLMessage_Function GLMessage::eglLockSurfaceKHR;
1599 const GLMessage_Function GLMessage::eglUnlockSurfaceKHR;
1600 const GLMessage_Function GLMessage::eglCreateImageKHR;
1601 const GLMessage_Function GLMessage::eglDestroyImageKHR;
1602 const GLMessage_Function GLMessage::eglCreateSyncKHR;
1603 const GLMessage_Function GLMessage::eglDestroySyncKHR;
1604 const GLMessage_Function GLMessage::eglClientWaitSyncKHR;
1605 const GLMessage_Function GLMessage::eglGetSyncAttribKHR;
1606 const GLMessage_Function GLMessage::eglSetSwapRectangleANDROID;
1607 const GLMessage_Function GLMessage::eglGetRenderBufferANDROID;
1608 const GLMessage_Function GLMessage::eglGetSystemTimeFrequencyNV;
1609 const GLMessage_Function GLMessage::eglGetSystemTimeNV;
1610 const GLMessage_Function GLMessage::invalid;
1611 const GLMessage_Function GLMessage::glVertexAttribPointerData;
1612 const GLMessage_Function GLMessage::Function_MIN;
1613 const GLMessage_Function GLMessage::Function_MAX;
1614 const int GLMessage::Function_ARRAYSIZE;
1615 #endif  // _MSC_VER
GLMessage_DataType_Type_IsValid(int value)1616 bool GLMessage_DataType_Type_IsValid(int value) {
1617   switch(value) {
1618     case 1:
1619     case 2:
1620     case 3:
1621     case 4:
1622     case 5:
1623     case 6:
1624     case 7:
1625     case 8:
1626       return true;
1627     default:
1628       return false;
1629   }
1630 }
1631 
1632 #ifndef _MSC_VER
1633 const GLMessage_DataType_Type GLMessage_DataType::VOID;
1634 const GLMessage_DataType_Type GLMessage_DataType::CHAR;
1635 const GLMessage_DataType_Type GLMessage_DataType::BYTE;
1636 const GLMessage_DataType_Type GLMessage_DataType::INT;
1637 const GLMessage_DataType_Type GLMessage_DataType::FLOAT;
1638 const GLMessage_DataType_Type GLMessage_DataType::BOOL;
1639 const GLMessage_DataType_Type GLMessage_DataType::ENUM;
1640 const GLMessage_DataType_Type GLMessage_DataType::INT64;
1641 const GLMessage_DataType_Type GLMessage_DataType::Type_MIN;
1642 const GLMessage_DataType_Type GLMessage_DataType::Type_MAX;
1643 const int GLMessage_DataType::Type_ARRAYSIZE;
1644 #endif  // _MSC_VER
1645 #ifndef _MSC_VER
1646 const int GLMessage_DataType::kTypeFieldNumber;
1647 const int GLMessage_DataType::kIsArrayFieldNumber;
1648 const int GLMessage_DataType::kIntValueFieldNumber;
1649 const int GLMessage_DataType::kFloatValueFieldNumber;
1650 const int GLMessage_DataType::kCharValueFieldNumber;
1651 const int GLMessage_DataType::kRawBytesFieldNumber;
1652 const int GLMessage_DataType::kBoolValueFieldNumber;
1653 const int GLMessage_DataType::kInt64ValueFieldNumber;
1654 #endif  // !_MSC_VER
1655 
GLMessage_DataType()1656 GLMessage_DataType::GLMessage_DataType()
1657   : ::google::protobuf::MessageLite() {
1658   SharedCtor();
1659 }
1660 
InitAsDefaultInstance()1661 void GLMessage_DataType::InitAsDefaultInstance() {
1662 }
1663 
GLMessage_DataType(const GLMessage_DataType & from)1664 GLMessage_DataType::GLMessage_DataType(const GLMessage_DataType& from)
1665   : ::google::protobuf::MessageLite() {
1666   SharedCtor();
1667   MergeFrom(from);
1668 }
1669 
SharedCtor()1670 void GLMessage_DataType::SharedCtor() {
1671   _cached_size_ = 0;
1672   type_ = 1;
1673   isarray_ = false;
1674   ::memset(_has_bits_, 0, sizeof(_has_bits_));
1675 }
1676 
~GLMessage_DataType()1677 GLMessage_DataType::~GLMessage_DataType() {
1678   SharedDtor();
1679 }
1680 
SharedDtor()1681 void GLMessage_DataType::SharedDtor() {
1682   if (this != default_instance_) {
1683   }
1684 }
1685 
SetCachedSize(int size) const1686 void GLMessage_DataType::SetCachedSize(int size) const {
1687   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1688   _cached_size_ = size;
1689   GOOGLE_SAFE_CONCURRENT_WRITES_END();
1690 }
default_instance()1691 const GLMessage_DataType& GLMessage_DataType::default_instance() {
1692   if (default_instance_ == NULL) protobuf_AddDesc_gltrace_2eproto();  return *default_instance_;
1693 }
1694 
1695 GLMessage_DataType* GLMessage_DataType::default_instance_ = NULL;
1696 
New() const1697 GLMessage_DataType* GLMessage_DataType::New() const {
1698   return new GLMessage_DataType;
1699 }
1700 
Clear()1701 void GLMessage_DataType::Clear() {
1702   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
1703     type_ = 1;
1704     isarray_ = false;
1705   }
1706   intvalue_.Clear();
1707   floatvalue_.Clear();
1708   charvalue_.Clear();
1709   rawbytes_.Clear();
1710   boolvalue_.Clear();
1711   int64value_.Clear();
1712   ::memset(_has_bits_, 0, sizeof(_has_bits_));
1713 }
1714 
MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream * input)1715 bool GLMessage_DataType::MergePartialFromCodedStream(
1716     ::google::protobuf::io::CodedInputStream* input) {
1717 #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
1718   ::google::protobuf::uint32 tag;
1719   while ((tag = input->ReadTag()) != 0) {
1720     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1721       // required .android.gltrace.GLMessage.DataType.Type type = 1 [default = VOID];
1722       case 1: {
1723         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
1724             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
1725           int value;
1726           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1727                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
1728                  input, &value)));
1729           if (::android::gltrace::GLMessage_DataType_Type_IsValid(value)) {
1730             set_type(static_cast< ::android::gltrace::GLMessage_DataType_Type >(value));
1731           }
1732         } else {
1733           goto handle_uninterpreted;
1734         }
1735         if (input->ExpectTag(16)) goto parse_isArray;
1736         break;
1737       }
1738 
1739       // required bool isArray = 2 [default = false];
1740       case 2: {
1741         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
1742             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
1743          parse_isArray:
1744           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1745                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
1746                  input, &isarray_)));
1747           _set_bit(1);
1748         } else {
1749           goto handle_uninterpreted;
1750         }
1751         if (input->ExpectTag(24)) goto parse_intValue;
1752         break;
1753       }
1754 
1755       // repeated int32 intValue = 3;
1756       case 3: {
1757         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
1758             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
1759          parse_intValue:
1760           DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
1761                    ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
1762                  1, 24, input, this->mutable_intvalue())));
1763         } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
1764                    == ::google::protobuf::internal::WireFormatLite::
1765                       WIRETYPE_LENGTH_DELIMITED) {
1766           DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
1767                    ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
1768                  input, this->mutable_intvalue())));
1769         } else {
1770           goto handle_uninterpreted;
1771         }
1772         if (input->ExpectTag(24)) goto parse_intValue;
1773         if (input->ExpectTag(37)) goto parse_floatValue;
1774         break;
1775       }
1776 
1777       // repeated float floatValue = 4;
1778       case 4: {
1779         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
1780             ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
1781          parse_floatValue:
1782           DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
1783                    float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
1784                  1, 37, input, this->mutable_floatvalue())));
1785         } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
1786                    == ::google::protobuf::internal::WireFormatLite::
1787                       WIRETYPE_LENGTH_DELIMITED) {
1788           DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
1789                    float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
1790                  input, this->mutable_floatvalue())));
1791         } else {
1792           goto handle_uninterpreted;
1793         }
1794         if (input->ExpectTag(37)) goto parse_floatValue;
1795         if (input->ExpectTag(42)) goto parse_charValue;
1796         break;
1797       }
1798 
1799       // repeated bytes charValue = 5;
1800       case 5: {
1801         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
1802             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
1803          parse_charValue:
1804           DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
1805                 input, this->add_charvalue()));
1806         } else {
1807           goto handle_uninterpreted;
1808         }
1809         if (input->ExpectTag(42)) goto parse_charValue;
1810         if (input->ExpectTag(50)) goto parse_rawBytes;
1811         break;
1812       }
1813 
1814       // repeated bytes rawBytes = 6;
1815       case 6: {
1816         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
1817             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
1818          parse_rawBytes:
1819           DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
1820                 input, this->add_rawbytes()));
1821         } else {
1822           goto handle_uninterpreted;
1823         }
1824         if (input->ExpectTag(50)) goto parse_rawBytes;
1825         if (input->ExpectTag(56)) goto parse_boolValue;
1826         break;
1827       }
1828 
1829       // repeated bool boolValue = 7;
1830       case 7: {
1831         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
1832             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
1833          parse_boolValue:
1834           DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
1835                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
1836                  1, 56, input, this->mutable_boolvalue())));
1837         } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
1838                    == ::google::protobuf::internal::WireFormatLite::
1839                       WIRETYPE_LENGTH_DELIMITED) {
1840           DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
1841                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
1842                  input, this->mutable_boolvalue())));
1843         } else {
1844           goto handle_uninterpreted;
1845         }
1846         if (input->ExpectTag(56)) goto parse_boolValue;
1847         if (input->ExpectTag(64)) goto parse_int64Value;
1848         break;
1849       }
1850 
1851       // repeated int64 int64Value = 8;
1852       case 8: {
1853         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
1854             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
1855          parse_int64Value:
1856           DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
1857                    ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
1858                  1, 64, input, this->mutable_int64value())));
1859         } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
1860                    == ::google::protobuf::internal::WireFormatLite::
1861                       WIRETYPE_LENGTH_DELIMITED) {
1862           DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
1863                    ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
1864                  input, this->mutable_int64value())));
1865         } else {
1866           goto handle_uninterpreted;
1867         }
1868         if (input->ExpectTag(64)) goto parse_int64Value;
1869         if (input->ExpectAtEnd()) return true;
1870         break;
1871       }
1872 
1873       default: {
1874       handle_uninterpreted:
1875         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
1876             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
1877           return true;
1878         }
1879         DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
1880         break;
1881       }
1882     }
1883   }
1884   return true;
1885 #undef DO_
1886 }
1887 
SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream * output) const1888 void GLMessage_DataType::SerializeWithCachedSizes(
1889     ::google::protobuf::io::CodedOutputStream* output) const {
1890   // required .android.gltrace.GLMessage.DataType.Type type = 1 [default = VOID];
1891   if (_has_bit(0)) {
1892     ::google::protobuf::internal::WireFormatLite::WriteEnum(
1893       1, this->type(), output);
1894   }
1895 
1896   // required bool isArray = 2 [default = false];
1897   if (_has_bit(1)) {
1898     ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->isarray(), output);
1899   }
1900 
1901   // repeated int32 intValue = 3;
1902   for (int i = 0; i < this->intvalue_size(); i++) {
1903     ::google::protobuf::internal::WireFormatLite::WriteInt32(
1904       3, this->intvalue(i), output);
1905   }
1906 
1907   // repeated float floatValue = 4;
1908   for (int i = 0; i < this->floatvalue_size(); i++) {
1909     ::google::protobuf::internal::WireFormatLite::WriteFloat(
1910       4, this->floatvalue(i), output);
1911   }
1912 
1913   // repeated bytes charValue = 5;
1914   for (int i = 0; i < this->charvalue_size(); i++) {
1915     ::google::protobuf::internal::WireFormatLite::WriteBytes(
1916       5, this->charvalue(i), output);
1917   }
1918 
1919   // repeated bytes rawBytes = 6;
1920   for (int i = 0; i < this->rawbytes_size(); i++) {
1921     ::google::protobuf::internal::WireFormatLite::WriteBytes(
1922       6, this->rawbytes(i), output);
1923   }
1924 
1925   // repeated bool boolValue = 7;
1926   for (int i = 0; i < this->boolvalue_size(); i++) {
1927     ::google::protobuf::internal::WireFormatLite::WriteBool(
1928       7, this->boolvalue(i), output);
1929   }
1930 
1931   // repeated int64 int64Value = 8;
1932   for (int i = 0; i < this->int64value_size(); i++) {
1933     ::google::protobuf::internal::WireFormatLite::WriteInt64(
1934       8, this->int64value(i), output);
1935   }
1936 
1937 }
1938 
ByteSize() const1939 int GLMessage_DataType::ByteSize() const {
1940   int total_size = 0;
1941 
1942   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
1943     // required .android.gltrace.GLMessage.DataType.Type type = 1 [default = VOID];
1944     if (has_type()) {
1945       total_size += 1 +
1946         ::google::protobuf::internal::WireFormatLite::EnumSize(this->type());
1947     }
1948 
1949     // required bool isArray = 2 [default = false];
1950     if (has_isarray()) {
1951       total_size += 1 + 1;
1952     }
1953 
1954   }
1955   // repeated int32 intValue = 3;
1956   {
1957     int data_size = 0;
1958     for (int i = 0; i < this->intvalue_size(); i++) {
1959       data_size += ::google::protobuf::internal::WireFormatLite::
1960         Int32Size(this->intvalue(i));
1961     }
1962     total_size += 1 * this->intvalue_size() + data_size;
1963   }
1964 
1965   // repeated float floatValue = 4;
1966   {
1967     int data_size = 0;
1968     data_size = 4 * this->floatvalue_size();
1969     total_size += 1 * this->floatvalue_size() + data_size;
1970   }
1971 
1972   // repeated bytes charValue = 5;
1973   total_size += 1 * this->charvalue_size();
1974   for (int i = 0; i < this->charvalue_size(); i++) {
1975     total_size += ::google::protobuf::internal::WireFormatLite::BytesSize(
1976       this->charvalue(i));
1977   }
1978 
1979   // repeated bytes rawBytes = 6;
1980   total_size += 1 * this->rawbytes_size();
1981   for (int i = 0; i < this->rawbytes_size(); i++) {
1982     total_size += ::google::protobuf::internal::WireFormatLite::BytesSize(
1983       this->rawbytes(i));
1984   }
1985 
1986   // repeated bool boolValue = 7;
1987   {
1988     int data_size = 0;
1989     data_size = 1 * this->boolvalue_size();
1990     total_size += 1 * this->boolvalue_size() + data_size;
1991   }
1992 
1993   // repeated int64 int64Value = 8;
1994   {
1995     int data_size = 0;
1996     for (int i = 0; i < this->int64value_size(); i++) {
1997       data_size += ::google::protobuf::internal::WireFormatLite::
1998         Int64Size(this->int64value(i));
1999     }
2000     total_size += 1 * this->int64value_size() + data_size;
2001   }
2002 
2003   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2004   _cached_size_ = total_size;
2005   GOOGLE_SAFE_CONCURRENT_WRITES_END();
2006   return total_size;
2007 }
2008 
CheckTypeAndMergeFrom(const::google::protobuf::MessageLite & from)2009 void GLMessage_DataType::CheckTypeAndMergeFrom(
2010     const ::google::protobuf::MessageLite& from) {
2011   MergeFrom(*::google::protobuf::down_cast<const GLMessage_DataType*>(&from));
2012 }
2013 
MergeFrom(const GLMessage_DataType & from)2014 void GLMessage_DataType::MergeFrom(const GLMessage_DataType& from) {
2015   GOOGLE_CHECK_NE(&from, this);
2016   intvalue_.MergeFrom(from.intvalue_);
2017   floatvalue_.MergeFrom(from.floatvalue_);
2018   charvalue_.MergeFrom(from.charvalue_);
2019   rawbytes_.MergeFrom(from.rawbytes_);
2020   boolvalue_.MergeFrom(from.boolvalue_);
2021   int64value_.MergeFrom(from.int64value_);
2022   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
2023     if (from._has_bit(0)) {
2024       set_type(from.type());
2025     }
2026     if (from._has_bit(1)) {
2027       set_isarray(from.isarray());
2028     }
2029   }
2030 }
2031 
CopyFrom(const GLMessage_DataType & from)2032 void GLMessage_DataType::CopyFrom(const GLMessage_DataType& from) {
2033   if (&from == this) return;
2034   Clear();
2035   MergeFrom(from);
2036 }
2037 
IsInitialized() const2038 bool GLMessage_DataType::IsInitialized() const {
2039   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
2040 
2041   return true;
2042 }
2043 
Swap(GLMessage_DataType * other)2044 void GLMessage_DataType::Swap(GLMessage_DataType* other) {
2045   if (other != this) {
2046     std::swap(type_, other->type_);
2047     std::swap(isarray_, other->isarray_);
2048     intvalue_.Swap(&other->intvalue_);
2049     floatvalue_.Swap(&other->floatvalue_);
2050     charvalue_.Swap(&other->charvalue_);
2051     rawbytes_.Swap(&other->rawbytes_);
2052     boolvalue_.Swap(&other->boolvalue_);
2053     int64value_.Swap(&other->int64value_);
2054     std::swap(_has_bits_[0], other->_has_bits_[0]);
2055     std::swap(_cached_size_, other->_cached_size_);
2056   }
2057 }
2058 
GetTypeName() const2059 ::std::string GLMessage_DataType::GetTypeName() const {
2060   return "android.gltrace.GLMessage.DataType";
2061 }
2062 
2063 
2064 // -------------------------------------------------------------------
2065 
2066 #ifndef _MSC_VER
2067 const int GLMessage_FrameBuffer::kWidthFieldNumber;
2068 const int GLMessage_FrameBuffer::kHeightFieldNumber;
2069 const int GLMessage_FrameBuffer::kContentsFieldNumber;
2070 #endif  // !_MSC_VER
2071 
GLMessage_FrameBuffer()2072 GLMessage_FrameBuffer::GLMessage_FrameBuffer()
2073   : ::google::protobuf::MessageLite() {
2074   SharedCtor();
2075 }
2076 
InitAsDefaultInstance()2077 void GLMessage_FrameBuffer::InitAsDefaultInstance() {
2078 }
2079 
GLMessage_FrameBuffer(const GLMessage_FrameBuffer & from)2080 GLMessage_FrameBuffer::GLMessage_FrameBuffer(const GLMessage_FrameBuffer& from)
2081   : ::google::protobuf::MessageLite() {
2082   SharedCtor();
2083   MergeFrom(from);
2084 }
2085 
SharedCtor()2086 void GLMessage_FrameBuffer::SharedCtor() {
2087   _cached_size_ = 0;
2088   width_ = 0;
2089   height_ = 0;
2090   ::memset(_has_bits_, 0, sizeof(_has_bits_));
2091 }
2092 
~GLMessage_FrameBuffer()2093 GLMessage_FrameBuffer::~GLMessage_FrameBuffer() {
2094   SharedDtor();
2095 }
2096 
SharedDtor()2097 void GLMessage_FrameBuffer::SharedDtor() {
2098   if (this != default_instance_) {
2099   }
2100 }
2101 
SetCachedSize(int size) const2102 void GLMessage_FrameBuffer::SetCachedSize(int size) const {
2103   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2104   _cached_size_ = size;
2105   GOOGLE_SAFE_CONCURRENT_WRITES_END();
2106 }
default_instance()2107 const GLMessage_FrameBuffer& GLMessage_FrameBuffer::default_instance() {
2108   if (default_instance_ == NULL) protobuf_AddDesc_gltrace_2eproto();  return *default_instance_;
2109 }
2110 
2111 GLMessage_FrameBuffer* GLMessage_FrameBuffer::default_instance_ = NULL;
2112 
New() const2113 GLMessage_FrameBuffer* GLMessage_FrameBuffer::New() const {
2114   return new GLMessage_FrameBuffer;
2115 }
2116 
Clear()2117 void GLMessage_FrameBuffer::Clear() {
2118   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
2119     width_ = 0;
2120     height_ = 0;
2121   }
2122   contents_.Clear();
2123   ::memset(_has_bits_, 0, sizeof(_has_bits_));
2124 }
2125 
MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream * input)2126 bool GLMessage_FrameBuffer::MergePartialFromCodedStream(
2127     ::google::protobuf::io::CodedInputStream* input) {
2128 #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
2129   ::google::protobuf::uint32 tag;
2130   while ((tag = input->ReadTag()) != 0) {
2131     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
2132       // required int32 width = 1;
2133       case 1: {
2134         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
2135             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
2136           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2137                    ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
2138                  input, &width_)));
2139           _set_bit(0);
2140         } else {
2141           goto handle_uninterpreted;
2142         }
2143         if (input->ExpectTag(16)) goto parse_height;
2144         break;
2145       }
2146 
2147       // required int32 height = 2;
2148       case 2: {
2149         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
2150             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
2151          parse_height:
2152           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2153                    ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
2154                  input, &height_)));
2155           _set_bit(1);
2156         } else {
2157           goto handle_uninterpreted;
2158         }
2159         if (input->ExpectTag(26)) goto parse_contents;
2160         break;
2161       }
2162 
2163       // repeated bytes contents = 3;
2164       case 3: {
2165         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
2166             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
2167          parse_contents:
2168           DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
2169                 input, this->add_contents()));
2170         } else {
2171           goto handle_uninterpreted;
2172         }
2173         if (input->ExpectTag(26)) goto parse_contents;
2174         if (input->ExpectAtEnd()) return true;
2175         break;
2176       }
2177 
2178       default: {
2179       handle_uninterpreted:
2180         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
2181             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
2182           return true;
2183         }
2184         DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
2185         break;
2186       }
2187     }
2188   }
2189   return true;
2190 #undef DO_
2191 }
2192 
SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream * output) const2193 void GLMessage_FrameBuffer::SerializeWithCachedSizes(
2194     ::google::protobuf::io::CodedOutputStream* output) const {
2195   // required int32 width = 1;
2196   if (_has_bit(0)) {
2197     ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->width(), output);
2198   }
2199 
2200   // required int32 height = 2;
2201   if (_has_bit(1)) {
2202     ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->height(), output);
2203   }
2204 
2205   // repeated bytes contents = 3;
2206   for (int i = 0; i < this->contents_size(); i++) {
2207     ::google::protobuf::internal::WireFormatLite::WriteBytes(
2208       3, this->contents(i), output);
2209   }
2210 
2211 }
2212 
ByteSize() const2213 int GLMessage_FrameBuffer::ByteSize() const {
2214   int total_size = 0;
2215 
2216   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
2217     // required int32 width = 1;
2218     if (has_width()) {
2219       total_size += 1 +
2220         ::google::protobuf::internal::WireFormatLite::Int32Size(
2221           this->width());
2222     }
2223 
2224     // required int32 height = 2;
2225     if (has_height()) {
2226       total_size += 1 +
2227         ::google::protobuf::internal::WireFormatLite::Int32Size(
2228           this->height());
2229     }
2230 
2231   }
2232   // repeated bytes contents = 3;
2233   total_size += 1 * this->contents_size();
2234   for (int i = 0; i < this->contents_size(); i++) {
2235     total_size += ::google::protobuf::internal::WireFormatLite::BytesSize(
2236       this->contents(i));
2237   }
2238 
2239   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2240   _cached_size_ = total_size;
2241   GOOGLE_SAFE_CONCURRENT_WRITES_END();
2242   return total_size;
2243 }
2244 
CheckTypeAndMergeFrom(const::google::protobuf::MessageLite & from)2245 void GLMessage_FrameBuffer::CheckTypeAndMergeFrom(
2246     const ::google::protobuf::MessageLite& from) {
2247   MergeFrom(*::google::protobuf::down_cast<const GLMessage_FrameBuffer*>(&from));
2248 }
2249 
MergeFrom(const GLMessage_FrameBuffer & from)2250 void GLMessage_FrameBuffer::MergeFrom(const GLMessage_FrameBuffer& from) {
2251   GOOGLE_CHECK_NE(&from, this);
2252   contents_.MergeFrom(from.contents_);
2253   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
2254     if (from._has_bit(0)) {
2255       set_width(from.width());
2256     }
2257     if (from._has_bit(1)) {
2258       set_height(from.height());
2259     }
2260   }
2261 }
2262 
CopyFrom(const GLMessage_FrameBuffer & from)2263 void GLMessage_FrameBuffer::CopyFrom(const GLMessage_FrameBuffer& from) {
2264   if (&from == this) return;
2265   Clear();
2266   MergeFrom(from);
2267 }
2268 
IsInitialized() const2269 bool GLMessage_FrameBuffer::IsInitialized() const {
2270   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
2271 
2272   return true;
2273 }
2274 
Swap(GLMessage_FrameBuffer * other)2275 void GLMessage_FrameBuffer::Swap(GLMessage_FrameBuffer* other) {
2276   if (other != this) {
2277     std::swap(width_, other->width_);
2278     std::swap(height_, other->height_);
2279     contents_.Swap(&other->contents_);
2280     std::swap(_has_bits_[0], other->_has_bits_[0]);
2281     std::swap(_cached_size_, other->_cached_size_);
2282   }
2283 }
2284 
GetTypeName() const2285 ::std::string GLMessage_FrameBuffer::GetTypeName() const {
2286   return "android.gltrace.GLMessage.FrameBuffer";
2287 }
2288 
2289 
2290 // -------------------------------------------------------------------
2291 
2292 #ifndef _MSC_VER
2293 const int GLMessage::kContextIdFieldNumber;
2294 const int GLMessage::kStartTimeFieldNumber;
2295 const int GLMessage::kDurationFieldNumber;
2296 const int GLMessage::kFunctionFieldNumber;
2297 const int GLMessage::kArgsFieldNumber;
2298 const int GLMessage::kReturnValueFieldNumber;
2299 const int GLMessage::kFbFieldNumber;
2300 const int GLMessage::kThreadtimeFieldNumber;
2301 #endif  // !_MSC_VER
2302 
GLMessage()2303 GLMessage::GLMessage()
2304   : ::google::protobuf::MessageLite() {
2305   SharedCtor();
2306 }
2307 
InitAsDefaultInstance()2308 void GLMessage::InitAsDefaultInstance() {
2309   returnvalue_ = const_cast< ::android::gltrace::GLMessage_DataType*>(&::android::gltrace::GLMessage_DataType::default_instance());
2310   fb_ = const_cast< ::android::gltrace::GLMessage_FrameBuffer*>(&::android::gltrace::GLMessage_FrameBuffer::default_instance());
2311 }
2312 
GLMessage(const GLMessage & from)2313 GLMessage::GLMessage(const GLMessage& from)
2314   : ::google::protobuf::MessageLite() {
2315   SharedCtor();
2316   MergeFrom(from);
2317 }
2318 
SharedCtor()2319 void GLMessage::SharedCtor() {
2320   _cached_size_ = 0;
2321   context_id_ = 0;
2322   start_time_ = GOOGLE_LONGLONG(0);
2323   duration_ = 0;
2324   function_ = 3000;
2325   returnvalue_ = NULL;
2326   fb_ = NULL;
2327   threadtime_ = 0;
2328   ::memset(_has_bits_, 0, sizeof(_has_bits_));
2329 }
2330 
~GLMessage()2331 GLMessage::~GLMessage() {
2332   SharedDtor();
2333 }
2334 
SharedDtor()2335 void GLMessage::SharedDtor() {
2336   if (this != default_instance_) {
2337     delete returnvalue_;
2338     delete fb_;
2339   }
2340 }
2341 
SetCachedSize(int size) const2342 void GLMessage::SetCachedSize(int size) const {
2343   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2344   _cached_size_ = size;
2345   GOOGLE_SAFE_CONCURRENT_WRITES_END();
2346 }
default_instance()2347 const GLMessage& GLMessage::default_instance() {
2348   if (default_instance_ == NULL) protobuf_AddDesc_gltrace_2eproto();  return *default_instance_;
2349 }
2350 
2351 GLMessage* GLMessage::default_instance_ = NULL;
2352 
New() const2353 GLMessage* GLMessage::New() const {
2354   return new GLMessage;
2355 }
2356 
Clear()2357 void GLMessage::Clear() {
2358   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
2359     context_id_ = 0;
2360     start_time_ = GOOGLE_LONGLONG(0);
2361     duration_ = 0;
2362     function_ = 3000;
2363     if (_has_bit(5)) {
2364       if (returnvalue_ != NULL) returnvalue_->::android::gltrace::GLMessage_DataType::Clear();
2365     }
2366     if (_has_bit(6)) {
2367       if (fb_ != NULL) fb_->::android::gltrace::GLMessage_FrameBuffer::Clear();
2368     }
2369     threadtime_ = 0;
2370   }
2371   args_.Clear();
2372   ::memset(_has_bits_, 0, sizeof(_has_bits_));
2373 }
2374 
MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream * input)2375 bool GLMessage::MergePartialFromCodedStream(
2376     ::google::protobuf::io::CodedInputStream* input) {
2377 #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
2378   ::google::protobuf::uint32 tag;
2379   while ((tag = input->ReadTag()) != 0) {
2380     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
2381       // required int32 context_id = 1;
2382       case 1: {
2383         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
2384             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
2385           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2386                    ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
2387                  input, &context_id_)));
2388           _set_bit(0);
2389         } else {
2390           goto handle_uninterpreted;
2391         }
2392         if (input->ExpectTag(16)) goto parse_start_time;
2393         break;
2394       }
2395 
2396       // required int64 start_time = 2;
2397       case 2: {
2398         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
2399             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
2400          parse_start_time:
2401           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2402                    ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
2403                  input, &start_time_)));
2404           _set_bit(1);
2405         } else {
2406           goto handle_uninterpreted;
2407         }
2408         if (input->ExpectTag(24)) goto parse_duration;
2409         break;
2410       }
2411 
2412       // required int32 duration = 3;
2413       case 3: {
2414         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
2415             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
2416          parse_duration:
2417           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2418                    ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
2419                  input, &duration_)));
2420           _set_bit(2);
2421         } else {
2422           goto handle_uninterpreted;
2423         }
2424         if (input->ExpectTag(32)) goto parse_function;
2425         break;
2426       }
2427 
2428       // required .android.gltrace.GLMessage.Function function = 4 [default = invalid];
2429       case 4: {
2430         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
2431             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
2432          parse_function:
2433           int value;
2434           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2435                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
2436                  input, &value)));
2437           if (::android::gltrace::GLMessage_Function_IsValid(value)) {
2438             set_function(static_cast< ::android::gltrace::GLMessage_Function >(value));
2439           }
2440         } else {
2441           goto handle_uninterpreted;
2442         }
2443         if (input->ExpectTag(42)) goto parse_args;
2444         break;
2445       }
2446 
2447       // repeated .android.gltrace.GLMessage.DataType args = 5;
2448       case 5: {
2449         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
2450             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
2451          parse_args:
2452           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
2453                 input, add_args()));
2454         } else {
2455           goto handle_uninterpreted;
2456         }
2457         if (input->ExpectTag(42)) goto parse_args;
2458         if (input->ExpectTag(50)) goto parse_returnValue;
2459         break;
2460       }
2461 
2462       // optional .android.gltrace.GLMessage.DataType returnValue = 6;
2463       case 6: {
2464         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
2465             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
2466          parse_returnValue:
2467           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
2468                input, mutable_returnvalue()));
2469         } else {
2470           goto handle_uninterpreted;
2471         }
2472         if (input->ExpectTag(58)) goto parse_fb;
2473         break;
2474       }
2475 
2476       // optional .android.gltrace.GLMessage.FrameBuffer fb = 7;
2477       case 7: {
2478         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
2479             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
2480          parse_fb:
2481           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
2482                input, mutable_fb()));
2483         } else {
2484           goto handle_uninterpreted;
2485         }
2486         if (input->ExpectTag(64)) goto parse_threadtime;
2487         break;
2488       }
2489 
2490       // optional int32 threadtime = 8;
2491       case 8: {
2492         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
2493             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
2494          parse_threadtime:
2495           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2496                    ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
2497                  input, &threadtime_)));
2498           _set_bit(7);
2499         } else {
2500           goto handle_uninterpreted;
2501         }
2502         if (input->ExpectAtEnd()) return true;
2503         break;
2504       }
2505 
2506       default: {
2507       handle_uninterpreted:
2508         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
2509             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
2510           return true;
2511         }
2512         DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
2513         break;
2514       }
2515     }
2516   }
2517   return true;
2518 #undef DO_
2519 }
2520 
SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream * output) const2521 void GLMessage::SerializeWithCachedSizes(
2522     ::google::protobuf::io::CodedOutputStream* output) const {
2523   // required int32 context_id = 1;
2524   if (_has_bit(0)) {
2525     ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->context_id(), output);
2526   }
2527 
2528   // required int64 start_time = 2;
2529   if (_has_bit(1)) {
2530     ::google::protobuf::internal::WireFormatLite::WriteInt64(2, this->start_time(), output);
2531   }
2532 
2533   // required int32 duration = 3;
2534   if (_has_bit(2)) {
2535     ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->duration(), output);
2536   }
2537 
2538   // required .android.gltrace.GLMessage.Function function = 4 [default = invalid];
2539   if (_has_bit(3)) {
2540     ::google::protobuf::internal::WireFormatLite::WriteEnum(
2541       4, this->function(), output);
2542   }
2543 
2544   // repeated .android.gltrace.GLMessage.DataType args = 5;
2545   for (int i = 0; i < this->args_size(); i++) {
2546     ::google::protobuf::internal::WireFormatLite::WriteMessage(
2547       5, this->args(i), output);
2548   }
2549 
2550   // optional .android.gltrace.GLMessage.DataType returnValue = 6;
2551   if (_has_bit(5)) {
2552     ::google::protobuf::internal::WireFormatLite::WriteMessage(
2553       6, this->returnvalue(), output);
2554   }
2555 
2556   // optional .android.gltrace.GLMessage.FrameBuffer fb = 7;
2557   if (_has_bit(6)) {
2558     ::google::protobuf::internal::WireFormatLite::WriteMessage(
2559       7, this->fb(), output);
2560   }
2561 
2562   // optional int32 threadtime = 8;
2563   if (_has_bit(7)) {
2564     ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->threadtime(), output);
2565   }
2566 
2567 }
2568 
ByteSize() const2569 int GLMessage::ByteSize() const {
2570   int total_size = 0;
2571 
2572   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
2573     // required int32 context_id = 1;
2574     if (has_context_id()) {
2575       total_size += 1 +
2576         ::google::protobuf::internal::WireFormatLite::Int32Size(
2577           this->context_id());
2578     }
2579 
2580     // required int64 start_time = 2;
2581     if (has_start_time()) {
2582       total_size += 1 +
2583         ::google::protobuf::internal::WireFormatLite::Int64Size(
2584           this->start_time());
2585     }
2586 
2587     // required int32 duration = 3;
2588     if (has_duration()) {
2589       total_size += 1 +
2590         ::google::protobuf::internal::WireFormatLite::Int32Size(
2591           this->duration());
2592     }
2593 
2594     // required .android.gltrace.GLMessage.Function function = 4 [default = invalid];
2595     if (has_function()) {
2596       total_size += 1 +
2597         ::google::protobuf::internal::WireFormatLite::EnumSize(this->function());
2598     }
2599 
2600     // optional .android.gltrace.GLMessage.DataType returnValue = 6;
2601     if (has_returnvalue()) {
2602       total_size += 1 +
2603         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
2604           this->returnvalue());
2605     }
2606 
2607     // optional .android.gltrace.GLMessage.FrameBuffer fb = 7;
2608     if (has_fb()) {
2609       total_size += 1 +
2610         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
2611           this->fb());
2612     }
2613 
2614     // optional int32 threadtime = 8;
2615     if (has_threadtime()) {
2616       total_size += 1 +
2617         ::google::protobuf::internal::WireFormatLite::Int32Size(
2618           this->threadtime());
2619     }
2620 
2621   }
2622   // repeated .android.gltrace.GLMessage.DataType args = 5;
2623   total_size += 1 * this->args_size();
2624   for (int i = 0; i < this->args_size(); i++) {
2625     total_size +=
2626       ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
2627         this->args(i));
2628   }
2629 
2630   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2631   _cached_size_ = total_size;
2632   GOOGLE_SAFE_CONCURRENT_WRITES_END();
2633   return total_size;
2634 }
2635 
CheckTypeAndMergeFrom(const::google::protobuf::MessageLite & from)2636 void GLMessage::CheckTypeAndMergeFrom(
2637     const ::google::protobuf::MessageLite& from) {
2638   MergeFrom(*::google::protobuf::down_cast<const GLMessage*>(&from));
2639 }
2640 
MergeFrom(const GLMessage & from)2641 void GLMessage::MergeFrom(const GLMessage& from) {
2642   GOOGLE_CHECK_NE(&from, this);
2643   args_.MergeFrom(from.args_);
2644   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
2645     if (from._has_bit(0)) {
2646       set_context_id(from.context_id());
2647     }
2648     if (from._has_bit(1)) {
2649       set_start_time(from.start_time());
2650     }
2651     if (from._has_bit(2)) {
2652       set_duration(from.duration());
2653     }
2654     if (from._has_bit(3)) {
2655       set_function(from.function());
2656     }
2657     if (from._has_bit(5)) {
2658       mutable_returnvalue()->::android::gltrace::GLMessage_DataType::MergeFrom(from.returnvalue());
2659     }
2660     if (from._has_bit(6)) {
2661       mutable_fb()->::android::gltrace::GLMessage_FrameBuffer::MergeFrom(from.fb());
2662     }
2663     if (from._has_bit(7)) {
2664       set_threadtime(from.threadtime());
2665     }
2666   }
2667 }
2668 
CopyFrom(const GLMessage & from)2669 void GLMessage::CopyFrom(const GLMessage& from) {
2670   if (&from == this) return;
2671   Clear();
2672   MergeFrom(from);
2673 }
2674 
IsInitialized() const2675 bool GLMessage::IsInitialized() const {
2676   if ((_has_bits_[0] & 0x0000000f) != 0x0000000f) return false;
2677 
2678   for (int i = 0; i < args_size(); i++) {
2679     if (!this->args(i).IsInitialized()) return false;
2680   }
2681   if (has_returnvalue()) {
2682     if (!this->returnvalue().IsInitialized()) return false;
2683   }
2684   if (has_fb()) {
2685     if (!this->fb().IsInitialized()) return false;
2686   }
2687   return true;
2688 }
2689 
Swap(GLMessage * other)2690 void GLMessage::Swap(GLMessage* other) {
2691   if (other != this) {
2692     std::swap(context_id_, other->context_id_);
2693     std::swap(start_time_, other->start_time_);
2694     std::swap(duration_, other->duration_);
2695     std::swap(function_, other->function_);
2696     args_.Swap(&other->args_);
2697     std::swap(returnvalue_, other->returnvalue_);
2698     std::swap(fb_, other->fb_);
2699     std::swap(threadtime_, other->threadtime_);
2700     std::swap(_has_bits_[0], other->_has_bits_[0]);
2701     std::swap(_cached_size_, other->_cached_size_);
2702   }
2703 }
2704 
GetTypeName() const2705 ::std::string GLMessage::GetTypeName() const {
2706   return "android.gltrace.GLMessage";
2707 }
2708 
2709 
2710 // @@protoc_insertion_point(namespace_scope)
2711 
2712 }  // namespace gltrace
2713 }  // namespace android
2714 
2715 // @@protoc_insertion_point(global_scope)
2716