Home | History | Annotate | Download | only in src
      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 
     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 
     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 {
     36   StaticDescriptorInitializer_gltrace_2eproto() {
     37     protobuf_AddDesc_gltrace_2eproto();
     38   }
     39 } static_descriptor_initializer_gltrace_2eproto_;
     40 
     41 
     42 // ===================================================================
     43 
     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 502:
    423     case 503:
    424     case 504:
    425     case 505:
    426     case 506:
    427     case 507:
    428     case 508:
    429     case 509:
    430     case 510:
    431     case 511:
    432     case 512:
    433     case 513:
    434     case 514:
    435     case 515:
    436     case 516:
    437     case 517:
    438     case 518:
    439     case 519:
    440     case 520:
    441     case 521:
    442     case 522:
    443     case 523:
    444     case 524:
    445     case 525:
    446     case 526:
    447     case 527:
    448     case 528:
    449     case 529:
    450     case 530:
    451     case 531:
    452     case 532:
    453     case 533:
    454     case 534:
    455     case 535:
    456     case 536:
    457     case 537:
    458     case 538:
    459     case 539:
    460     case 540:
    461     case 541:
    462     case 542:
    463     case 543:
    464     case 544:
    465     case 545:
    466     case 546:
    467     case 547:
    468     case 548:
    469     case 549:
    470     case 550:
    471     case 551:
    472     case 552:
    473     case 553:
    474     case 554:
    475     case 555:
    476     case 556:
    477     case 557:
    478     case 558:
    479     case 559:
    480     case 560:
    481     case 561:
    482     case 2000:
    483     case 2001:
    484     case 2002:
    485     case 2003:
    486     case 2004:
    487     case 2005:
    488     case 2006:
    489     case 2007:
    490     case 2008:
    491     case 2009:
    492     case 2010:
    493     case 2011:
    494     case 2012:
    495     case 2013:
    496     case 2014:
    497     case 2015:
    498     case 2016:
    499     case 2017:
    500     case 2018:
    501     case 2019:
    502     case 2020:
    503     case 2021:
    504     case 2022:
    505     case 2023:
    506     case 2024:
    507     case 2025:
    508     case 2026:
    509     case 2027:
    510     case 2028:
    511     case 2029:
    512     case 2030:
    513     case 2031:
    514     case 2032:
    515     case 2033:
    516     case 2034:
    517     case 2035:
    518     case 2036:
    519     case 2037:
    520     case 2038:
    521     case 2039:
    522     case 2040:
    523     case 2041:
    524     case 2042:
    525     case 2043:
    526     case 2044:
    527     case 2045:
    528     case 3000:
    529     case 3001:
    530       return true;
    531     default:
    532       return false;
    533   }
    534 }
    535 
    536 #ifndef _MSC_VER
    537 const GLMessage_Function GLMessage::glActiveTexture;
    538 const GLMessage_Function GLMessage::glAlphaFunc;
    539 const GLMessage_Function GLMessage::glAlphaFuncx;
    540 const GLMessage_Function GLMessage::glAlphaFuncxOES;
    541 const GLMessage_Function GLMessage::glAttachShader;
    542 const GLMessage_Function GLMessage::glBeginPerfMonitorAMD;
    543 const GLMessage_Function GLMessage::glBindAttribLocation;
    544 const GLMessage_Function GLMessage::glBindBuffer;
    545 const GLMessage_Function GLMessage::glBindFramebuffer;
    546 const GLMessage_Function GLMessage::glBindFramebufferOES;
    547 const GLMessage_Function GLMessage::glBindRenderbuffer;
    548 const GLMessage_Function GLMessage::glBindRenderbufferOES;
    549 const GLMessage_Function GLMessage::glBindTexture;
    550 const GLMessage_Function GLMessage::glBindVertexArrayOES;
    551 const GLMessage_Function GLMessage::glBlendColor;
    552 const GLMessage_Function GLMessage::glBlendEquation;
    553 const GLMessage_Function GLMessage::glBlendEquationOES;
    554 const GLMessage_Function GLMessage::glBlendEquationSeparate;
    555 const GLMessage_Function GLMessage::glBlendEquationSeparateOES;
    556 const GLMessage_Function GLMessage::glBlendFunc;
    557 const GLMessage_Function GLMessage::glBlendFuncSeparate;
    558 const GLMessage_Function GLMessage::glBlendFuncSeparateOES;
    559 const GLMessage_Function GLMessage::glBufferData;
    560 const GLMessage_Function GLMessage::glBufferSubData;
    561 const GLMessage_Function GLMessage::glCheckFramebufferStatus;
    562 const GLMessage_Function GLMessage::glCheckFramebufferStatusOES;
    563 const GLMessage_Function GLMessage::glClearColor;
    564 const GLMessage_Function GLMessage::glClearColorx;
    565 const GLMessage_Function GLMessage::glClearColorxOES;
    566 const GLMessage_Function GLMessage::glClearDepthf;
    567 const GLMessage_Function GLMessage::glClearDepthfOES;
    568 const GLMessage_Function GLMessage::glClearDepthx;
    569 const GLMessage_Function GLMessage::glClearDepthxOES;
    570 const GLMessage_Function GLMessage::glClear;
    571 const GLMessage_Function GLMessage::glClearStencil;
    572 const GLMessage_Function GLMessage::glClientActiveTexture;
    573 const GLMessage_Function GLMessage::glClipPlanef;
    574 const GLMessage_Function GLMessage::glClipPlanefIMG;
    575 const GLMessage_Function GLMessage::glClipPlanefOES;
    576 const GLMessage_Function GLMessage::glClipPlanex;
    577 const GLMessage_Function GLMessage::glClipPlanexIMG;
    578 const GLMessage_Function GLMessage::glClipPlanexOES;
    579 const GLMessage_Function GLMessage::glColor4f;
    580 const GLMessage_Function GLMessage::glColor4ub;
    581 const GLMessage_Function GLMessage::glColor4x;
    582 const GLMessage_Function GLMessage::glColor4xOES;
    583 const GLMessage_Function GLMessage::glColorMask;
    584 const GLMessage_Function GLMessage::glColorPointer;
    585 const GLMessage_Function GLMessage::glCompileShader;
    586 const GLMessage_Function GLMessage::glCompressedTexImage2D;
    587 const GLMessage_Function GLMessage::glCompressedTexImage3DOES;
    588 const GLMessage_Function GLMessage::glCompressedTexSubImage2D;
    589 const GLMessage_Function GLMessage::glCompressedTexSubImage3DOES;
    590 const GLMessage_Function GLMessage::glCopyTexImage2D;
    591 const GLMessage_Function GLMessage::glCopyTexSubImage2D;
    592 const GLMessage_Function GLMessage::glCopyTexSubImage3DOES;
    593 const GLMessage_Function GLMessage::glCoverageMaskNV;
    594 const GLMessage_Function GLMessage::glCoverageOperationNV;
    595 const GLMessage_Function GLMessage::glCreateProgram;
    596 const GLMessage_Function GLMessage::glCreateShader;
    597 const GLMessage_Function GLMessage::glCullFace;
    598 const GLMessage_Function GLMessage::glCurrentPaletteMatrixOES;
    599 const GLMessage_Function GLMessage::glDeleteBuffers;
    600 const GLMessage_Function GLMessage::glDeleteFencesNV;
    601 const GLMessage_Function GLMessage::glDeleteFramebuffers;
    602 const GLMessage_Function GLMessage::glDeleteFramebuffersOES;
    603 const GLMessage_Function GLMessage::glDeletePerfMonitorsAMD;
    604 const GLMessage_Function GLMessage::glDeleteProgram;
    605 const GLMessage_Function GLMessage::glDeleteRenderbuffers;
    606 const GLMessage_Function GLMessage::glDeleteRenderbuffersOES;
    607 const GLMessage_Function GLMessage::glDeleteShader;
    608 const GLMessage_Function GLMessage::glDeleteTextures;
    609 const GLMessage_Function GLMessage::glDeleteVertexArraysOES;
    610 const GLMessage_Function GLMessage::glDepthFunc;
    611 const GLMessage_Function GLMessage::glDepthMask;
    612 const GLMessage_Function GLMessage::glDepthRangef;
    613 const GLMessage_Function GLMessage::glDepthRangefOES;
    614 const GLMessage_Function GLMessage::glDepthRangex;
    615 const GLMessage_Function GLMessage::glDepthRangexOES;
    616 const GLMessage_Function GLMessage::glDetachShader;
    617 const GLMessage_Function GLMessage::glDisableClientState;
    618 const GLMessage_Function GLMessage::glDisableDriverControlQCOM;
    619 const GLMessage_Function GLMessage::glDisable;
    620 const GLMessage_Function GLMessage::glDisableVertexAttribArray;
    621 const GLMessage_Function GLMessage::glDiscardFramebufferEXT;
    622 const GLMessage_Function GLMessage::glDrawArrays;
    623 const GLMessage_Function GLMessage::glDrawElements;
    624 const GLMessage_Function GLMessage::glDrawTexfOES;
    625 const GLMessage_Function GLMessage::glDrawTexfvOES;
    626 const GLMessage_Function GLMessage::glDrawTexiOES;
    627 const GLMessage_Function GLMessage::glDrawTexivOES;
    628 const GLMessage_Function GLMessage::glDrawTexsOES;
    629 const GLMessage_Function GLMessage::glDrawTexsvOES;
    630 const GLMessage_Function GLMessage::glDrawTexxOES;
    631 const GLMessage_Function GLMessage::glDrawTexxvOES;
    632 const GLMessage_Function GLMessage::glEGLImageTargetRenderbufferStorageOES;
    633 const GLMessage_Function GLMessage::glEGLImageTargetTexture2DOES;
    634 const GLMessage_Function GLMessage::glEnableClientState;
    635 const GLMessage_Function GLMessage::glEnableDriverControlQCOM;
    636 const GLMessage_Function GLMessage::glEnable;
    637 const GLMessage_Function GLMessage::glEnableVertexAttribArray;
    638 const GLMessage_Function GLMessage::glEndPerfMonitorAMD;
    639 const GLMessage_Function GLMessage::glEndTilingQCOM;
    640 const GLMessage_Function GLMessage::glExtGetBufferPointervQCOM;
    641 const GLMessage_Function GLMessage::glExtGetBuffersQCOM;
    642 const GLMessage_Function GLMessage::glExtGetFramebuffersQCOM;
    643 const GLMessage_Function GLMessage::glExtGetProgramBinarySourceQCOM;
    644 const GLMessage_Function GLMessage::glExtGetProgramsQCOM;
    645 const GLMessage_Function GLMessage::glExtGetRenderbuffersQCOM;
    646 const GLMessage_Function GLMessage::glExtGetShadersQCOM;
    647 const GLMessage_Function GLMessage::glExtGetTexLevelParameterivQCOM;
    648 const GLMessage_Function GLMessage::glExtGetTexSubImageQCOM;
    649 const GLMessage_Function GLMessage::glExtGetTexturesQCOM;
    650 const GLMessage_Function GLMessage::glExtIsProgramBinaryQCOM;
    651 const GLMessage_Function GLMessage::glExtTexObjectStateOverrideiQCOM;
    652 const GLMessage_Function GLMessage::glFinishFenceNV;
    653 const GLMessage_Function GLMessage::glFinish;
    654 const GLMessage_Function GLMessage::glFlush;
    655 const GLMessage_Function GLMessage::glFogf;
    656 const GLMessage_Function GLMessage::glFogfv;
    657 const GLMessage_Function GLMessage::glFogx;
    658 const GLMessage_Function GLMessage::glFogxOES;
    659 const GLMessage_Function GLMessage::glFogxv;
    660 const GLMessage_Function GLMessage::glFogxvOES;
    661 const GLMessage_Function GLMessage::glFramebufferRenderbuffer;
    662 const GLMessage_Function GLMessage::glFramebufferRenderbufferOES;
    663 const GLMessage_Function GLMessage::glFramebufferTexture2D;
    664 const GLMessage_Function GLMessage::glFramebufferTexture2DMultisampleIMG;
    665 const GLMessage_Function GLMessage::glFramebufferTexture2DOES;
    666 const GLMessage_Function GLMessage::glFramebufferTexture3DOES;
    667 const GLMessage_Function GLMessage::glFrontFace;
    668 const GLMessage_Function GLMessage::glFrustumf;
    669 const GLMessage_Function GLMessage::glFrustumfOES;
    670 const GLMessage_Function GLMessage::glFrustumx;
    671 const GLMessage_Function GLMessage::glFrustumxOES;
    672 const GLMessage_Function GLMessage::glGenBuffers;
    673 const GLMessage_Function GLMessage::glGenerateMipmap;
    674 const GLMessage_Function GLMessage::glGenerateMipmapOES;
    675 const GLMessage_Function GLMessage::glGenFencesNV;
    676 const GLMessage_Function GLMessage::glGenFramebuffers;
    677 const GLMessage_Function GLMessage::glGenFramebuffersOES;
    678 const GLMessage_Function GLMessage::glGenPerfMonitorsAMD;
    679 const GLMessage_Function GLMessage::glGenRenderbuffers;
    680 const GLMessage_Function GLMessage::glGenRenderbuffersOES;
    681 const GLMessage_Function GLMessage::glGenTextures;
    682 const GLMessage_Function GLMessage::glGenVertexArraysOES;
    683 const GLMessage_Function GLMessage::glGetActiveAttrib;
    684 const GLMessage_Function GLMessage::glGetActiveUniform;
    685 const GLMessage_Function GLMessage::glGetAttachedShaders;
    686 const GLMessage_Function GLMessage::glGetAttribLocation;
    687 const GLMessage_Function GLMessage::glGetBooleanv;
    688 const GLMessage_Function GLMessage::glGetBufferParameteriv;
    689 const GLMessage_Function GLMessage::glGetBufferPointervOES;
    690 const GLMessage_Function GLMessage::glGetClipPlanef;
    691 const GLMessage_Function GLMessage::glGetClipPlanefOES;
    692 const GLMessage_Function GLMessage::glGetClipPlanex;
    693 const GLMessage_Function GLMessage::glGetClipPlanexOES;
    694 const GLMessage_Function GLMessage::glGetDriverControlsQCOM;
    695 const GLMessage_Function GLMessage::glGetDriverControlStringQCOM;
    696 const GLMessage_Function GLMessage::glGetError;
    697 const GLMessage_Function GLMessage::glGetFenceivNV;
    698 const GLMessage_Function GLMessage::glGetFixedv;
    699 const GLMessage_Function GLMessage::glGetFixedvOES;
    700 const GLMessage_Function GLMessage::glGetFloatv;
    701 const GLMessage_Function GLMessage::glGetFramebufferAttachmentParameteriv;
    702 const GLMessage_Function GLMessage::glGetFramebufferAttachmentParameterivOES;
    703 const GLMessage_Function GLMessage::glGetIntegerv;
    704 const GLMessage_Function GLMessage::glGetLightfv;
    705 const GLMessage_Function GLMessage::glGetLightxv;
    706 const GLMessage_Function GLMessage::glGetLightxvOES;
    707 const GLMessage_Function GLMessage::glGetMaterialfv;
    708 const GLMessage_Function GLMessage::glGetMaterialxv;
    709 const GLMessage_Function GLMessage::glGetMaterialxvOES;
    710 const GLMessage_Function GLMessage::glGetPerfMonitorCounterDataAMD;
    711 const GLMessage_Function GLMessage::glGetPerfMonitorCounterInfoAMD;
    712 const GLMessage_Function GLMessage::glGetPerfMonitorCountersAMD;
    713 const GLMessage_Function GLMessage::glGetPerfMonitorCounterStringAMD;
    714 const GLMessage_Function GLMessage::glGetPerfMonitorGroupsAMD;
    715 const GLMessage_Function GLMessage::glGetPerfMonitorGroupStringAMD;
    716 const GLMessage_Function GLMessage::glGetPointerv;
    717 const GLMessage_Function GLMessage::glGetProgramBinaryOES;
    718 const GLMessage_Function GLMessage::glGetProgramInfoLog;
    719 const GLMessage_Function GLMessage::glGetProgramiv;
    720 const GLMessage_Function GLMessage::glGetRenderbufferParameteriv;
    721 const GLMessage_Function GLMessage::glGetRenderbufferParameterivOES;
    722 const GLMessage_Function GLMessage::glGetShaderInfoLog;
    723 const GLMessage_Function GLMessage::glGetShaderiv;
    724 const GLMessage_Function GLMessage::glGetShaderPrecisionFormat;
    725 const GLMessage_Function GLMessage::glGetShaderSource;
    726 const GLMessage_Function GLMessage::glGetString;
    727 const GLMessage_Function GLMessage::glGetTexEnvfv;
    728 const GLMessage_Function GLMessage::glGetTexEnviv;
    729 const GLMessage_Function GLMessage::glGetTexEnvxv;
    730 const GLMessage_Function GLMessage::glGetTexEnvxvOES;
    731 const GLMessage_Function GLMessage::glGetTexGenfvOES;
    732 const GLMessage_Function GLMessage::glGetTexGenivOES;
    733 const GLMessage_Function GLMessage::glGetTexGenxvOES;
    734 const GLMessage_Function GLMessage::glGetTexParameterfv;
    735 const GLMessage_Function GLMessage::glGetTexParameteriv;
    736 const GLMessage_Function GLMessage::glGetTexParameterxv;
    737 const GLMessage_Function GLMessage::glGetTexParameterxvOES;
    738 const GLMessage_Function GLMessage::glGetUniformfv;
    739 const GLMessage_Function GLMessage::glGetUniformiv;
    740 const GLMessage_Function GLMessage::glGetUniformLocation;
    741 const GLMessage_Function GLMessage::glGetVertexAttribfv;
    742 const GLMessage_Function GLMessage::glGetVertexAttribiv;
    743 const GLMessage_Function GLMessage::glGetVertexAttribPointerv;
    744 const GLMessage_Function GLMessage::glHint;
    745 const GLMessage_Function GLMessage::glIsBuffer;
    746 const GLMessage_Function GLMessage::glIsEnabled;
    747 const GLMessage_Function GLMessage::glIsFenceNV;
    748 const GLMessage_Function GLMessage::glIsFramebuffer;
    749 const GLMessage_Function GLMessage::glIsFramebufferOES;
    750 const GLMessage_Function GLMessage::glIsProgram;
    751 const GLMessage_Function GLMessage::glIsRenderbuffer;
    752 const GLMessage_Function GLMessage::glIsRenderbufferOES;
    753 const GLMessage_Function GLMessage::glIsShader;
    754 const GLMessage_Function GLMessage::glIsTexture;
    755 const GLMessage_Function GLMessage::glIsVertexArrayOES;
    756 const GLMessage_Function GLMessage::glLightf;
    757 const GLMessage_Function GLMessage::glLightfv;
    758 const GLMessage_Function GLMessage::glLightModelf;
    759 const GLMessage_Function GLMessage::glLightModelfv;
    760 const GLMessage_Function GLMessage::glLightModelx;
    761 const GLMessage_Function GLMessage::glLightModelxOES;
    762 const GLMessage_Function GLMessage::glLightModelxv;
    763 const GLMessage_Function GLMessage::glLightModelxvOES;
    764 const GLMessage_Function GLMessage::glLightx;
    765 const GLMessage_Function GLMessage::glLightxOES;
    766 const GLMessage_Function GLMessage::glLightxv;
    767 const GLMessage_Function GLMessage::glLightxvOES;
    768 const GLMessage_Function GLMessage::glLineWidth;
    769 const GLMessage_Function GLMessage::glLineWidthx;
    770 const GLMessage_Function GLMessage::glLineWidthxOES;
    771 const GLMessage_Function GLMessage::glLinkProgram;
    772 const GLMessage_Function GLMessage::glLoadIdentity;
    773 const GLMessage_Function GLMessage::glLoadMatrixf;
    774 const GLMessage_Function GLMessage::glLoadMatrixx;
    775 const GLMessage_Function GLMessage::glLoadMatrixxOES;
    776 const GLMessage_Function GLMessage::glLoadPaletteFromModelViewMatrixOES;
    777 const GLMessage_Function GLMessage::glLogicOp;
    778 const GLMessage_Function GLMessage::glMapBufferOES;
    779 const GLMessage_Function GLMessage::glMaterialf;
    780 const GLMessage_Function GLMessage::glMaterialfv;
    781 const GLMessage_Function GLMessage::glMaterialx;
    782 const GLMessage_Function GLMessage::glMaterialxOES;
    783 const GLMessage_Function GLMessage::glMaterialxv;
    784 const GLMessage_Function GLMessage::glMaterialxvOES;
    785 const GLMessage_Function GLMessage::glMatrixIndexPointerOES;
    786 const GLMessage_Function GLMessage::glMatrixMode;
    787 const GLMessage_Function GLMessage::glMultiDrawArraysEXT;
    788 const GLMessage_Function GLMessage::glMultiDrawElementsEXT;
    789 const GLMessage_Function GLMessage::glMultiTexCoord4f;
    790 const GLMessage_Function GLMessage::glMultiTexCoord4x;
    791 const GLMessage_Function GLMessage::glMultiTexCoord4xOES;
    792 const GLMessage_Function GLMessage::glMultMatrixf;
    793 const GLMessage_Function GLMessage::glMultMatrixx;
    794 const GLMessage_Function GLMessage::glMultMatrixxOES;
    795 const GLMessage_Function GLMessage::glNormal3f;
    796 const GLMessage_Function GLMessage::glNormal3x;
    797 const GLMessage_Function GLMessage::glNormal3xOES;
    798 const GLMessage_Function GLMessage::glNormalPointer;
    799 const GLMessage_Function GLMessage::glOrthof;
    800 const GLMessage_Function GLMessage::glOrthofOES;
    801 const GLMessage_Function GLMessage::glOrthox;
    802 const GLMessage_Function GLMessage::glOrthoxOES;
    803 const GLMessage_Function GLMessage::glPixelStorei;
    804 const GLMessage_Function GLMessage::glPointParameterf;
    805 const GLMessage_Function GLMessage::glPointParameterfv;
    806 const GLMessage_Function GLMessage::glPointParameterx;
    807 const GLMessage_Function GLMessage::glPointParameterxOES;
    808 const GLMessage_Function GLMessage::glPointParameterxv;
    809 const GLMessage_Function GLMessage::glPointParameterxvOES;
    810 const GLMessage_Function GLMessage::glPointSize;
    811 const GLMessage_Function GLMessage::glPointSizePointerOES;
    812 const GLMessage_Function GLMessage::glPointSizex;
    813 const GLMessage_Function GLMessage::glPointSizexOES;
    814 const GLMessage_Function GLMessage::glPolygonOffset;
    815 const GLMessage_Function GLMessage::glPolygonOffsetx;
    816 const GLMessage_Function GLMessage::glPolygonOffsetxOES;
    817 const GLMessage_Function GLMessage::glPopMatrix;
    818 const GLMessage_Function GLMessage::glProgramBinaryOES;
    819 const GLMessage_Function GLMessage::glPushMatrix;
    820 const GLMessage_Function GLMessage::glQueryMatrixxOES;
    821 const GLMessage_Function GLMessage::glReadPixels;
    822 const GLMessage_Function GLMessage::glReleaseShaderCompiler;
    823 const GLMessage_Function GLMessage::glRenderbufferStorage;
    824 const GLMessage_Function GLMessage::glRenderbufferStorageMultisampleIMG;
    825 const GLMessage_Function GLMessage::glRenderbufferStorageOES;
    826 const GLMessage_Function GLMessage::glRotatef;
    827 const GLMessage_Function GLMessage::glRotatex;
    828 const GLMessage_Function GLMessage::glRotatexOES;
    829 const GLMessage_Function GLMessage::glSampleCoverage;
    830 const GLMessage_Function GLMessage::glSampleCoveragex;
    831 const GLMessage_Function GLMessage::glSampleCoveragexOES;
    832 const GLMessage_Function GLMessage::glScalef;
    833 const GLMessage_Function GLMessage::glScalex;
    834 const GLMessage_Function GLMessage::glScalexOES;
    835 const GLMessage_Function GLMessage::glScissor;
    836 const GLMessage_Function GLMessage::glSelectPerfMonitorCountersAMD;
    837 const GLMessage_Function GLMessage::glSetFenceNV;
    838 const GLMessage_Function GLMessage::glShadeModel;
    839 const GLMessage_Function GLMessage::glShaderBinary;
    840 const GLMessage_Function GLMessage::glShaderSource;
    841 const GLMessage_Function GLMessage::glStartTilingQCOM;
    842 const GLMessage_Function GLMessage::glStencilFunc;
    843 const GLMessage_Function GLMessage::glStencilFuncSeparate;
    844 const GLMessage_Function GLMessage::glStencilMask;
    845 const GLMessage_Function GLMessage::glStencilMaskSeparate;
    846 const GLMessage_Function GLMessage::glStencilOp;
    847 const GLMessage_Function GLMessage::glStencilOpSeparate;
    848 const GLMessage_Function GLMessage::glTestFenceNV;
    849 const GLMessage_Function GLMessage::glTexCoordPointer;
    850 const GLMessage_Function GLMessage::glTexEnvf;
    851 const GLMessage_Function GLMessage::glTexEnvfv;
    852 const GLMessage_Function GLMessage::glTexEnvi;
    853 const GLMessage_Function GLMessage::glTexEnviv;
    854 const GLMessage_Function GLMessage::glTexEnvx;
    855 const GLMessage_Function GLMessage::glTexEnvxOES;
    856 const GLMessage_Function GLMessage::glTexEnvxv;
    857 const GLMessage_Function GLMessage::glTexEnvxvOES;
    858 const GLMessage_Function GLMessage::glTexGenfOES;
    859 const GLMessage_Function GLMessage::glTexGenfvOES;
    860 const GLMessage_Function GLMessage::glTexGeniOES;
    861 const GLMessage_Function GLMessage::glTexGenivOES;
    862 const GLMessage_Function GLMessage::glTexGenxOES;
    863 const GLMessage_Function GLMessage::glTexGenxvOES;
    864 const GLMessage_Function GLMessage::glTexImage2D;
    865 const GLMessage_Function GLMessage::glTexImage3DOES;
    866 const GLMessage_Function GLMessage::glTexParameterf;
    867 const GLMessage_Function GLMessage::glTexParameterfv;
    868 const GLMessage_Function GLMessage::glTexParameteri;
    869 const GLMessage_Function GLMessage::glTexParameteriv;
    870 const GLMessage_Function GLMessage::glTexParameterx;
    871 const GLMessage_Function GLMessage::glTexParameterxOES;
    872 const GLMessage_Function GLMessage::glTexParameterxv;
    873 const GLMessage_Function GLMessage::glTexParameterxvOES;
    874 const GLMessage_Function GLMessage::glTexSubImage2D;
    875 const GLMessage_Function GLMessage::glTexSubImage3DOES;
    876 const GLMessage_Function GLMessage::glTranslatef;
    877 const GLMessage_Function GLMessage::glTranslatex;
    878 const GLMessage_Function GLMessage::glTranslatexOES;
    879 const GLMessage_Function GLMessage::glUniform1f;
    880 const GLMessage_Function GLMessage::glUniform1fv;
    881 const GLMessage_Function GLMessage::glUniform1i;
    882 const GLMessage_Function GLMessage::glUniform1iv;
    883 const GLMessage_Function GLMessage::glUniform2f;
    884 const GLMessage_Function GLMessage::glUniform2fv;
    885 const GLMessage_Function GLMessage::glUniform2i;
    886 const GLMessage_Function GLMessage::glUniform2iv;
    887 const GLMessage_Function GLMessage::glUniform3f;
    888 const GLMessage_Function GLMessage::glUniform3fv;
    889 const GLMessage_Function GLMessage::glUniform3i;
    890 const GLMessage_Function GLMessage::glUniform3iv;
    891 const GLMessage_Function GLMessage::glUniform4f;
    892 const GLMessage_Function GLMessage::glUniform4fv;
    893 const GLMessage_Function GLMessage::glUniform4i;
    894 const GLMessage_Function GLMessage::glUniform4iv;
    895 const GLMessage_Function GLMessage::glUniformMatrix2fv;
    896 const GLMessage_Function GLMessage::glUniformMatrix3fv;
    897 const GLMessage_Function GLMessage::glUniformMatrix4fv;
    898 const GLMessage_Function GLMessage::glUnmapBufferOES;
    899 const GLMessage_Function GLMessage::glUseProgram;
    900 const GLMessage_Function GLMessage::glValidateProgram;
    901 const GLMessage_Function GLMessage::glVertexAttrib1f;
    902 const GLMessage_Function GLMessage::glVertexAttrib1fv;
    903 const GLMessage_Function GLMessage::glVertexAttrib2f;
    904 const GLMessage_Function GLMessage::glVertexAttrib2fv;
    905 const GLMessage_Function GLMessage::glVertexAttrib3f;
    906 const GLMessage_Function GLMessage::glVertexAttrib3fv;
    907 const GLMessage_Function GLMessage::glVertexAttrib4f;
    908 const GLMessage_Function GLMessage::glVertexAttrib4fv;
    909 const GLMessage_Function GLMessage::glVertexAttribPointer;
    910 const GLMessage_Function GLMessage::glVertexPointer;
    911 const GLMessage_Function GLMessage::glViewport;
    912 const GLMessage_Function GLMessage::glWeightPointerOES;
    913 const GLMessage_Function GLMessage::glActiveShaderProgramEXT;
    914 const GLMessage_Function GLMessage::glAlphaFuncQCOM;
    915 const GLMessage_Function GLMessage::glBeginQueryEXT;
    916 const GLMessage_Function GLMessage::glBindProgramPipelineEXT;
    917 const GLMessage_Function GLMessage::glBlitFramebufferANGLE;
    918 const GLMessage_Function GLMessage::glCreateShaderProgramvEXT;
    919 const GLMessage_Function GLMessage::glDeleteProgramPipelinesEXT;
    920 const GLMessage_Function GLMessage::glDeleteQueriesEXT;
    921 const GLMessage_Function GLMessage::glDrawBuffersNV;
    922 const GLMessage_Function GLMessage::glEndQueryEXT;
    923 const GLMessage_Function GLMessage::glFramebufferTexture2DMultisampleEXT;
    924 const GLMessage_Function GLMessage::glGenProgramPipelinesEXT;
    925 const GLMessage_Function GLMessage::glGenQueriesEXT;
    926 const GLMessage_Function GLMessage::glGetGraphicsResetStatusEXT;
    927 const GLMessage_Function GLMessage::glGetObjectLabelEXT;
    928 const GLMessage_Function GLMessage::glGetProgramPipelineInfoLogEXT;
    929 const GLMessage_Function GLMessage::glGetProgramPipelineivEXT;
    930 const GLMessage_Function GLMessage::glGetQueryObjectuivEXT;
    931 const GLMessage_Function GLMessage::glGetQueryivEXT;
    932 const GLMessage_Function GLMessage::glGetnUniformfvEXT;
    933 const GLMessage_Function GLMessage::glGetnUniformivEXT;
    934 const GLMessage_Function GLMessage::glInsertEventMarkerEXT;
    935 const GLMessage_Function GLMessage::glIsProgramPipelineEXT;
    936 const GLMessage_Function GLMessage::glIsQueryEXT;
    937 const GLMessage_Function GLMessage::glLabelObjectEXT;
    938 const GLMessage_Function GLMessage::glPopGroupMarkerEXT;
    939 const GLMessage_Function GLMessage::glProgramParameteriEXT;
    940 const GLMessage_Function GLMessage::glProgramUniform1fEXT;
    941 const GLMessage_Function GLMessage::glProgramUniform1fvEXT;
    942 const GLMessage_Function GLMessage::glProgramUniform1iEXT;
    943 const GLMessage_Function GLMessage::glProgramUniform1ivEXT;
    944 const GLMessage_Function GLMessage::glProgramUniform2fEXT;
    945 const GLMessage_Function GLMessage::glProgramUniform2fvEXT;
    946 const GLMessage_Function GLMessage::glProgramUniform2iEXT;
    947 const GLMessage_Function GLMessage::glProgramUniform2ivEXT;
    948 const GLMessage_Function GLMessage::glProgramUniform3fEXT;
    949 const GLMessage_Function GLMessage::glProgramUniform3fvEXT;
    950 const GLMessage_Function GLMessage::glProgramUniform3iEXT;
    951 const GLMessage_Function GLMessage::glProgramUniform3ivEXT;
    952 const GLMessage_Function GLMessage::glProgramUniform4fEXT;
    953 const GLMessage_Function GLMessage::glProgramUniform4fvEXT;
    954 const GLMessage_Function GLMessage::glProgramUniform4iEXT;
    955 const GLMessage_Function GLMessage::glProgramUniform4ivEXT;
    956 const GLMessage_Function GLMessage::glProgramUniformMatrix2fvEXT;
    957 const GLMessage_Function GLMessage::glProgramUniformMatrix3fvEXT;
    958 const GLMessage_Function GLMessage::glProgramUniformMatrix4fvEXT;
    959 const GLMessage_Function GLMessage::glPushGroupMarkerEXT;
    960 const GLMessage_Function GLMessage::glReadBufferNV;
    961 const GLMessage_Function GLMessage::glReadnPixelsEXT;
    962 const GLMessage_Function GLMessage::glRenderbufferStorageMultisampleANGLE;
    963 const GLMessage_Function GLMessage::glRenderbufferStorageMultisampleAPPLE;
    964 const GLMessage_Function GLMessage::glRenderbufferStorageMultisampleEXT;
    965 const GLMessage_Function GLMessage::glResolveMultisampleFramebufferAPPLE;
    966 const GLMessage_Function GLMessage::glTexStorage1DEXT;
    967 const GLMessage_Function GLMessage::glTexStorage2DEXT;
    968 const GLMessage_Function GLMessage::glTexStorage3DEXT;
    969 const GLMessage_Function GLMessage::glTextureStorage1DEXT;
    970 const GLMessage_Function GLMessage::glTextureStorage2DEXT;
    971 const GLMessage_Function GLMessage::glTextureStorage3DEXT;
    972 const GLMessage_Function GLMessage::glUseProgramStagesEXT;
    973 const GLMessage_Function GLMessage::glValidateProgramPipelineEXT;
    974 const GLMessage_Function GLMessage::eglGetDisplay;
    975 const GLMessage_Function GLMessage::eglInitialize;
    976 const GLMessage_Function GLMessage::eglTerminate;
    977 const GLMessage_Function GLMessage::eglGetConfigs;
    978 const GLMessage_Function GLMessage::eglChooseConfig;
    979 const GLMessage_Function GLMessage::eglGetConfigAttrib;
    980 const GLMessage_Function GLMessage::eglCreateWindowSurface;
    981 const GLMessage_Function GLMessage::eglCreatePixmapSurface;
    982 const GLMessage_Function GLMessage::eglCreatePbufferSurface;
    983 const GLMessage_Function GLMessage::eglDestroySurface;
    984 const GLMessage_Function GLMessage::eglQuerySurface;
    985 const GLMessage_Function GLMessage::eglCreateContext;
    986 const GLMessage_Function GLMessage::eglDestroyContext;
    987 const GLMessage_Function GLMessage::eglMakeCurrent;
    988 const GLMessage_Function GLMessage::eglGetCurrentContext;
    989 const GLMessage_Function GLMessage::eglGetCurrentSurface;
    990 const GLMessage_Function GLMessage::eglGetCurrentDisplay;
    991 const GLMessage_Function GLMessage::eglQueryContext;
    992 const GLMessage_Function GLMessage::eglWaitGL;
    993 const GLMessage_Function GLMessage::eglWaitNative;
    994 const GLMessage_Function GLMessage::eglSwapBuffers;
    995 const GLMessage_Function GLMessage::eglCopyBuffers;
    996 const GLMessage_Function GLMessage::eglGetError;
    997 const GLMessage_Function GLMessage::eglQueryString;
    998 const GLMessage_Function GLMessage::eglGetProcAddress;
    999 const GLMessage_Function GLMessage::eglSurfaceAttrib;
   1000 const GLMessage_Function GLMessage::eglBindTexImage;
   1001 const GLMessage_Function GLMessage::eglReleaseTexImage;
   1002 const GLMessage_Function GLMessage::eglSwapInterval;
   1003 const GLMessage_Function GLMessage::eglBindAPI;
   1004 const GLMessage_Function GLMessage::eglQueryAPI;
   1005 const GLMessage_Function GLMessage::eglWaitClient;
   1006 const GLMessage_Function GLMessage::eglReleaseThread;
   1007 const GLMessage_Function GLMessage::eglCreatePbufferFromClientBuffer;
   1008 const GLMessage_Function GLMessage::eglLockSurfaceKHR;
   1009 const GLMessage_Function GLMessage::eglUnlockSurfaceKHR;
   1010 const GLMessage_Function GLMessage::eglCreateImageKHR;
   1011 const GLMessage_Function GLMessage::eglDestroyImageKHR;
   1012 const GLMessage_Function GLMessage::eglCreateSyncKHR;
   1013 const GLMessage_Function GLMessage::eglDestroySyncKHR;
   1014 const GLMessage_Function GLMessage::eglClientWaitSyncKHR;
   1015 const GLMessage_Function GLMessage::eglGetSyncAttribKHR;
   1016 const GLMessage_Function GLMessage::eglSetSwapRectangleANDROID;
   1017 const GLMessage_Function GLMessage::eglGetRenderBufferANDROID;
   1018 const GLMessage_Function GLMessage::eglGetSystemTimeFrequencyNV;
   1019 const GLMessage_Function GLMessage::eglGetSystemTimeNV;
   1020 const GLMessage_Function GLMessage::invalid;
   1021 const GLMessage_Function GLMessage::glVertexAttribPointerData;
   1022 const GLMessage_Function GLMessage::Function_MIN;
   1023 const GLMessage_Function GLMessage::Function_MAX;
   1024 const int GLMessage::Function_ARRAYSIZE;
   1025 #endif  // _MSC_VER
   1026 bool GLMessage_DataType_Type_IsValid(int value) {
   1027   switch(value) {
   1028     case 1:
   1029     case 2:
   1030     case 3:
   1031     case 4:
   1032     case 5:
   1033     case 6:
   1034     case 7:
   1035       return true;
   1036     default:
   1037       return false;
   1038   }
   1039 }
   1040 
   1041 #ifndef _MSC_VER
   1042 const GLMessage_DataType_Type GLMessage_DataType::VOID;
   1043 const GLMessage_DataType_Type GLMessage_DataType::CHAR;
   1044 const GLMessage_DataType_Type GLMessage_DataType::BYTE;
   1045 const GLMessage_DataType_Type GLMessage_DataType::INT;
   1046 const GLMessage_DataType_Type GLMessage_DataType::FLOAT;
   1047 const GLMessage_DataType_Type GLMessage_DataType::BOOL;
   1048 const GLMessage_DataType_Type GLMessage_DataType::ENUM;
   1049 const GLMessage_DataType_Type GLMessage_DataType::Type_MIN;
   1050 const GLMessage_DataType_Type GLMessage_DataType::Type_MAX;
   1051 const int GLMessage_DataType::Type_ARRAYSIZE;
   1052 #endif  // _MSC_VER
   1053 #ifndef _MSC_VER
   1054 const int GLMessage_DataType::kTypeFieldNumber;
   1055 const int GLMessage_DataType::kIsArrayFieldNumber;
   1056 const int GLMessage_DataType::kIntValueFieldNumber;
   1057 const int GLMessage_DataType::kFloatValueFieldNumber;
   1058 const int GLMessage_DataType::kCharValueFieldNumber;
   1059 const int GLMessage_DataType::kRawBytesFieldNumber;
   1060 const int GLMessage_DataType::kBoolValueFieldNumber;
   1061 #endif  // !_MSC_VER
   1062 
   1063 GLMessage_DataType::GLMessage_DataType()
   1064   : ::google::protobuf::MessageLite() {
   1065   SharedCtor();
   1066 }
   1067 
   1068 void GLMessage_DataType::InitAsDefaultInstance() {
   1069 }
   1070 
   1071 GLMessage_DataType::GLMessage_DataType(const GLMessage_DataType& from)
   1072   : ::google::protobuf::MessageLite() {
   1073   SharedCtor();
   1074   MergeFrom(from);
   1075 }
   1076 
   1077 void GLMessage_DataType::SharedCtor() {
   1078   _cached_size_ = 0;
   1079   type_ = 1;
   1080   isarray_ = false;
   1081   ::memset(_has_bits_, 0, sizeof(_has_bits_));
   1082 }
   1083 
   1084 GLMessage_DataType::~GLMessage_DataType() {
   1085   SharedDtor();
   1086 }
   1087 
   1088 void GLMessage_DataType::SharedDtor() {
   1089   if (this != default_instance_) {
   1090   }
   1091 }
   1092 
   1093 void GLMessage_DataType::SetCachedSize(int size) const {
   1094   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
   1095   _cached_size_ = size;
   1096   GOOGLE_SAFE_CONCURRENT_WRITES_END();
   1097 }
   1098 const GLMessage_DataType& GLMessage_DataType::default_instance() {
   1099   if (default_instance_ == NULL) protobuf_AddDesc_gltrace_2eproto();  return *default_instance_;
   1100 }
   1101 
   1102 GLMessage_DataType* GLMessage_DataType::default_instance_ = NULL;
   1103 
   1104 GLMessage_DataType* GLMessage_DataType::New() const {
   1105   return new GLMessage_DataType;
   1106 }
   1107 
   1108 void GLMessage_DataType::Clear() {
   1109   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
   1110     type_ = 1;
   1111     isarray_ = false;
   1112   }
   1113   intvalue_.Clear();
   1114   floatvalue_.Clear();
   1115   charvalue_.Clear();
   1116   rawbytes_.Clear();
   1117   boolvalue_.Clear();
   1118   ::memset(_has_bits_, 0, sizeof(_has_bits_));
   1119 }
   1120 
   1121 bool GLMessage_DataType::MergePartialFromCodedStream(
   1122     ::google::protobuf::io::CodedInputStream* input) {
   1123 #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
   1124   ::google::protobuf::uint32 tag;
   1125   while ((tag = input->ReadTag()) != 0) {
   1126     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
   1127       // required .android.gltrace.GLMessage.DataType.Type type = 1 [default = VOID];
   1128       case 1: {
   1129         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1130             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
   1131           int value;
   1132           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
   1133                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
   1134                  input, &value)));
   1135           if (::android::gltrace::GLMessage_DataType_Type_IsValid(value)) {
   1136             set_type(static_cast< ::android::gltrace::GLMessage_DataType_Type >(value));
   1137           }
   1138         } else {
   1139           goto handle_uninterpreted;
   1140         }
   1141         if (input->ExpectTag(16)) goto parse_isArray;
   1142         break;
   1143       }
   1144 
   1145       // required bool isArray = 2 [default = false];
   1146       case 2: {
   1147         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1148             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
   1149          parse_isArray:
   1150           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
   1151                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
   1152                  input, &isarray_)));
   1153           _set_bit(1);
   1154         } else {
   1155           goto handle_uninterpreted;
   1156         }
   1157         if (input->ExpectTag(24)) goto parse_intValue;
   1158         break;
   1159       }
   1160 
   1161       // repeated int32 intValue = 3;
   1162       case 3: {
   1163         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1164             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
   1165          parse_intValue:
   1166           DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
   1167                    ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
   1168                  1, 24, input, this->mutable_intvalue())));
   1169         } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
   1170                    == ::google::protobuf::internal::WireFormatLite::
   1171                       WIRETYPE_LENGTH_DELIMITED) {
   1172           DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
   1173                    ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
   1174                  input, this->mutable_intvalue())));
   1175         } else {
   1176           goto handle_uninterpreted;
   1177         }
   1178         if (input->ExpectTag(24)) goto parse_intValue;
   1179         if (input->ExpectTag(37)) goto parse_floatValue;
   1180         break;
   1181       }
   1182 
   1183       // repeated float floatValue = 4;
   1184       case 4: {
   1185         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1186             ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) {
   1187          parse_floatValue:
   1188           DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
   1189                    float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
   1190                  1, 37, input, this->mutable_floatvalue())));
   1191         } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
   1192                    == ::google::protobuf::internal::WireFormatLite::
   1193                       WIRETYPE_LENGTH_DELIMITED) {
   1194           DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
   1195                    float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(
   1196                  input, this->mutable_floatvalue())));
   1197         } else {
   1198           goto handle_uninterpreted;
   1199         }
   1200         if (input->ExpectTag(37)) goto parse_floatValue;
   1201         if (input->ExpectTag(42)) goto parse_charValue;
   1202         break;
   1203       }
   1204 
   1205       // repeated bytes charValue = 5;
   1206       case 5: {
   1207         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1208             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
   1209          parse_charValue:
   1210           DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
   1211                 input, this->add_charvalue()));
   1212         } else {
   1213           goto handle_uninterpreted;
   1214         }
   1215         if (input->ExpectTag(42)) goto parse_charValue;
   1216         if (input->ExpectTag(50)) goto parse_rawBytes;
   1217         break;
   1218       }
   1219 
   1220       // repeated bytes rawBytes = 6;
   1221       case 6: {
   1222         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1223             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
   1224          parse_rawBytes:
   1225           DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
   1226                 input, this->add_rawbytes()));
   1227         } else {
   1228           goto handle_uninterpreted;
   1229         }
   1230         if (input->ExpectTag(50)) goto parse_rawBytes;
   1231         if (input->ExpectTag(56)) goto parse_boolValue;
   1232         break;
   1233       }
   1234 
   1235       // repeated bool boolValue = 7;
   1236       case 7: {
   1237         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1238             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
   1239          parse_boolValue:
   1240           DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
   1241                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
   1242                  1, 56, input, this->mutable_boolvalue())));
   1243         } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
   1244                    == ::google::protobuf::internal::WireFormatLite::
   1245                       WIRETYPE_LENGTH_DELIMITED) {
   1246           DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
   1247                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
   1248                  input, this->mutable_boolvalue())));
   1249         } else {
   1250           goto handle_uninterpreted;
   1251         }
   1252         if (input->ExpectTag(56)) goto parse_boolValue;
   1253         if (input->ExpectAtEnd()) return true;
   1254         break;
   1255       }
   1256 
   1257       default: {
   1258       handle_uninterpreted:
   1259         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1260             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
   1261           return true;
   1262         }
   1263         DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
   1264         break;
   1265       }
   1266     }
   1267   }
   1268   return true;
   1269 #undef DO_
   1270 }
   1271 
   1272 void GLMessage_DataType::SerializeWithCachedSizes(
   1273     ::google::protobuf::io::CodedOutputStream* output) const {
   1274   // required .android.gltrace.GLMessage.DataType.Type type = 1 [default = VOID];
   1275   if (_has_bit(0)) {
   1276     ::google::protobuf::internal::WireFormatLite::WriteEnum(
   1277       1, this->type(), output);
   1278   }
   1279 
   1280   // required bool isArray = 2 [default = false];
   1281   if (_has_bit(1)) {
   1282     ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->isarray(), output);
   1283   }
   1284 
   1285   // repeated int32 intValue = 3;
   1286   for (int i = 0; i < this->intvalue_size(); i++) {
   1287     ::google::protobuf::internal::WireFormatLite::WriteInt32(
   1288       3, this->intvalue(i), output);
   1289   }
   1290 
   1291   // repeated float floatValue = 4;
   1292   for (int i = 0; i < this->floatvalue_size(); i++) {
   1293     ::google::protobuf::internal::WireFormatLite::WriteFloat(
   1294       4, this->floatvalue(i), output);
   1295   }
   1296 
   1297   // repeated bytes charValue = 5;
   1298   for (int i = 0; i < this->charvalue_size(); i++) {
   1299     ::google::protobuf::internal::WireFormatLite::WriteBytes(
   1300       5, this->charvalue(i), output);
   1301   }
   1302 
   1303   // repeated bytes rawBytes = 6;
   1304   for (int i = 0; i < this->rawbytes_size(); i++) {
   1305     ::google::protobuf::internal::WireFormatLite::WriteBytes(
   1306       6, this->rawbytes(i), output);
   1307   }
   1308 
   1309   // repeated bool boolValue = 7;
   1310   for (int i = 0; i < this->boolvalue_size(); i++) {
   1311     ::google::protobuf::internal::WireFormatLite::WriteBool(
   1312       7, this->boolvalue(i), output);
   1313   }
   1314 
   1315 }
   1316 
   1317 int GLMessage_DataType::ByteSize() const {
   1318   int total_size = 0;
   1319 
   1320   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
   1321     // required .android.gltrace.GLMessage.DataType.Type type = 1 [default = VOID];
   1322     if (has_type()) {
   1323       total_size += 1 +
   1324         ::google::protobuf::internal::WireFormatLite::EnumSize(this->type());
   1325     }
   1326 
   1327     // required bool isArray = 2 [default = false];
   1328     if (has_isarray()) {
   1329       total_size += 1 + 1;
   1330     }
   1331 
   1332   }
   1333   // repeated int32 intValue = 3;
   1334   {
   1335     int data_size = 0;
   1336     for (int i = 0; i < this->intvalue_size(); i++) {
   1337       data_size += ::google::protobuf::internal::WireFormatLite::
   1338         Int32Size(this->intvalue(i));
   1339     }
   1340     total_size += 1 * this->intvalue_size() + data_size;
   1341   }
   1342 
   1343   // repeated float floatValue = 4;
   1344   {
   1345     int data_size = 0;
   1346     data_size = 4 * this->floatvalue_size();
   1347     total_size += 1 * this->floatvalue_size() + data_size;
   1348   }
   1349 
   1350   // repeated bytes charValue = 5;
   1351   total_size += 1 * this->charvalue_size();
   1352   for (int i = 0; i < this->charvalue_size(); i++) {
   1353     total_size += ::google::protobuf::internal::WireFormatLite::BytesSize(
   1354       this->charvalue(i));
   1355   }
   1356 
   1357   // repeated bytes rawBytes = 6;
   1358   total_size += 1 * this->rawbytes_size();
   1359   for (int i = 0; i < this->rawbytes_size(); i++) {
   1360     total_size += ::google::protobuf::internal::WireFormatLite::BytesSize(
   1361       this->rawbytes(i));
   1362   }
   1363 
   1364   // repeated bool boolValue = 7;
   1365   {
   1366     int data_size = 0;
   1367     data_size = 1 * this->boolvalue_size();
   1368     total_size += 1 * this->boolvalue_size() + data_size;
   1369   }
   1370 
   1371   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
   1372   _cached_size_ = total_size;
   1373   GOOGLE_SAFE_CONCURRENT_WRITES_END();
   1374   return total_size;
   1375 }
   1376 
   1377 void GLMessage_DataType::CheckTypeAndMergeFrom(
   1378     const ::google::protobuf::MessageLite& from) {
   1379   MergeFrom(*::google::protobuf::down_cast<const GLMessage_DataType*>(&from));
   1380 }
   1381 
   1382 void GLMessage_DataType::MergeFrom(const GLMessage_DataType& from) {
   1383   GOOGLE_CHECK_NE(&from, this);
   1384   intvalue_.MergeFrom(from.intvalue_);
   1385   floatvalue_.MergeFrom(from.floatvalue_);
   1386   charvalue_.MergeFrom(from.charvalue_);
   1387   rawbytes_.MergeFrom(from.rawbytes_);
   1388   boolvalue_.MergeFrom(from.boolvalue_);
   1389   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
   1390     if (from._has_bit(0)) {
   1391       set_type(from.type());
   1392     }
   1393     if (from._has_bit(1)) {
   1394       set_isarray(from.isarray());
   1395     }
   1396   }
   1397 }
   1398 
   1399 void GLMessage_DataType::CopyFrom(const GLMessage_DataType& from) {
   1400   if (&from == this) return;
   1401   Clear();
   1402   MergeFrom(from);
   1403 }
   1404 
   1405 bool GLMessage_DataType::IsInitialized() const {
   1406   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
   1407 
   1408   return true;
   1409 }
   1410 
   1411 void GLMessage_DataType::Swap(GLMessage_DataType* other) {
   1412   if (other != this) {
   1413     std::swap(type_, other->type_);
   1414     std::swap(isarray_, other->isarray_);
   1415     intvalue_.Swap(&other->intvalue_);
   1416     floatvalue_.Swap(&other->floatvalue_);
   1417     charvalue_.Swap(&other->charvalue_);
   1418     rawbytes_.Swap(&other->rawbytes_);
   1419     boolvalue_.Swap(&other->boolvalue_);
   1420     std::swap(_has_bits_[0], other->_has_bits_[0]);
   1421     std::swap(_cached_size_, other->_cached_size_);
   1422   }
   1423 }
   1424 
   1425 ::std::string GLMessage_DataType::GetTypeName() const {
   1426   return "android.gltrace.GLMessage.DataType";
   1427 }
   1428 
   1429 
   1430 // -------------------------------------------------------------------
   1431 
   1432 #ifndef _MSC_VER
   1433 const int GLMessage_FrameBuffer::kWidthFieldNumber;
   1434 const int GLMessage_FrameBuffer::kHeightFieldNumber;
   1435 const int GLMessage_FrameBuffer::kContentsFieldNumber;
   1436 #endif  // !_MSC_VER
   1437 
   1438 GLMessage_FrameBuffer::GLMessage_FrameBuffer()
   1439   : ::google::protobuf::MessageLite() {
   1440   SharedCtor();
   1441 }
   1442 
   1443 void GLMessage_FrameBuffer::InitAsDefaultInstance() {
   1444 }
   1445 
   1446 GLMessage_FrameBuffer::GLMessage_FrameBuffer(const GLMessage_FrameBuffer& from)
   1447   : ::google::protobuf::MessageLite() {
   1448   SharedCtor();
   1449   MergeFrom(from);
   1450 }
   1451 
   1452 void GLMessage_FrameBuffer::SharedCtor() {
   1453   _cached_size_ = 0;
   1454   width_ = 0;
   1455   height_ = 0;
   1456   ::memset(_has_bits_, 0, sizeof(_has_bits_));
   1457 }
   1458 
   1459 GLMessage_FrameBuffer::~GLMessage_FrameBuffer() {
   1460   SharedDtor();
   1461 }
   1462 
   1463 void GLMessage_FrameBuffer::SharedDtor() {
   1464   if (this != default_instance_) {
   1465   }
   1466 }
   1467 
   1468 void GLMessage_FrameBuffer::SetCachedSize(int size) const {
   1469   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
   1470   _cached_size_ = size;
   1471   GOOGLE_SAFE_CONCURRENT_WRITES_END();
   1472 }
   1473 const GLMessage_FrameBuffer& GLMessage_FrameBuffer::default_instance() {
   1474   if (default_instance_ == NULL) protobuf_AddDesc_gltrace_2eproto();  return *default_instance_;
   1475 }
   1476 
   1477 GLMessage_FrameBuffer* GLMessage_FrameBuffer::default_instance_ = NULL;
   1478 
   1479 GLMessage_FrameBuffer* GLMessage_FrameBuffer::New() const {
   1480   return new GLMessage_FrameBuffer;
   1481 }
   1482 
   1483 void GLMessage_FrameBuffer::Clear() {
   1484   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
   1485     width_ = 0;
   1486     height_ = 0;
   1487   }
   1488   contents_.Clear();
   1489   ::memset(_has_bits_, 0, sizeof(_has_bits_));
   1490 }
   1491 
   1492 bool GLMessage_FrameBuffer::MergePartialFromCodedStream(
   1493     ::google::protobuf::io::CodedInputStream* input) {
   1494 #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
   1495   ::google::protobuf::uint32 tag;
   1496   while ((tag = input->ReadTag()) != 0) {
   1497     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
   1498       // required int32 width = 1;
   1499       case 1: {
   1500         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1501             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
   1502           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
   1503                    ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
   1504                  input, &width_)));
   1505           _set_bit(0);
   1506         } else {
   1507           goto handle_uninterpreted;
   1508         }
   1509         if (input->ExpectTag(16)) goto parse_height;
   1510         break;
   1511       }
   1512 
   1513       // required int32 height = 2;
   1514       case 2: {
   1515         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1516             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
   1517          parse_height:
   1518           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
   1519                    ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
   1520                  input, &height_)));
   1521           _set_bit(1);
   1522         } else {
   1523           goto handle_uninterpreted;
   1524         }
   1525         if (input->ExpectTag(26)) goto parse_contents;
   1526         break;
   1527       }
   1528 
   1529       // repeated bytes contents = 3;
   1530       case 3: {
   1531         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1532             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
   1533          parse_contents:
   1534           DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
   1535                 input, this->add_contents()));
   1536         } else {
   1537           goto handle_uninterpreted;
   1538         }
   1539         if (input->ExpectTag(26)) goto parse_contents;
   1540         if (input->ExpectAtEnd()) return true;
   1541         break;
   1542       }
   1543 
   1544       default: {
   1545       handle_uninterpreted:
   1546         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1547             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
   1548           return true;
   1549         }
   1550         DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
   1551         break;
   1552       }
   1553     }
   1554   }
   1555   return true;
   1556 #undef DO_
   1557 }
   1558 
   1559 void GLMessage_FrameBuffer::SerializeWithCachedSizes(
   1560     ::google::protobuf::io::CodedOutputStream* output) const {
   1561   // required int32 width = 1;
   1562   if (_has_bit(0)) {
   1563     ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->width(), output);
   1564   }
   1565 
   1566   // required int32 height = 2;
   1567   if (_has_bit(1)) {
   1568     ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->height(), output);
   1569   }
   1570 
   1571   // repeated bytes contents = 3;
   1572   for (int i = 0; i < this->contents_size(); i++) {
   1573     ::google::protobuf::internal::WireFormatLite::WriteBytes(
   1574       3, this->contents(i), output);
   1575   }
   1576 
   1577 }
   1578 
   1579 int GLMessage_FrameBuffer::ByteSize() const {
   1580   int total_size = 0;
   1581 
   1582   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
   1583     // required int32 width = 1;
   1584     if (has_width()) {
   1585       total_size += 1 +
   1586         ::google::protobuf::internal::WireFormatLite::Int32Size(
   1587           this->width());
   1588     }
   1589 
   1590     // required int32 height = 2;
   1591     if (has_height()) {
   1592       total_size += 1 +
   1593         ::google::protobuf::internal::WireFormatLite::Int32Size(
   1594           this->height());
   1595     }
   1596 
   1597   }
   1598   // repeated bytes contents = 3;
   1599   total_size += 1 * this->contents_size();
   1600   for (int i = 0; i < this->contents_size(); i++) {
   1601     total_size += ::google::protobuf::internal::WireFormatLite::BytesSize(
   1602       this->contents(i));
   1603   }
   1604 
   1605   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
   1606   _cached_size_ = total_size;
   1607   GOOGLE_SAFE_CONCURRENT_WRITES_END();
   1608   return total_size;
   1609 }
   1610 
   1611 void GLMessage_FrameBuffer::CheckTypeAndMergeFrom(
   1612     const ::google::protobuf::MessageLite& from) {
   1613   MergeFrom(*::google::protobuf::down_cast<const GLMessage_FrameBuffer*>(&from));
   1614 }
   1615 
   1616 void GLMessage_FrameBuffer::MergeFrom(const GLMessage_FrameBuffer& from) {
   1617   GOOGLE_CHECK_NE(&from, this);
   1618   contents_.MergeFrom(from.contents_);
   1619   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
   1620     if (from._has_bit(0)) {
   1621       set_width(from.width());
   1622     }
   1623     if (from._has_bit(1)) {
   1624       set_height(from.height());
   1625     }
   1626   }
   1627 }
   1628 
   1629 void GLMessage_FrameBuffer::CopyFrom(const GLMessage_FrameBuffer& from) {
   1630   if (&from == this) return;
   1631   Clear();
   1632   MergeFrom(from);
   1633 }
   1634 
   1635 bool GLMessage_FrameBuffer::IsInitialized() const {
   1636   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
   1637 
   1638   return true;
   1639 }
   1640 
   1641 void GLMessage_FrameBuffer::Swap(GLMessage_FrameBuffer* other) {
   1642   if (other != this) {
   1643     std::swap(width_, other->width_);
   1644     std::swap(height_, other->height_);
   1645     contents_.Swap(&other->contents_);
   1646     std::swap(_has_bits_[0], other->_has_bits_[0]);
   1647     std::swap(_cached_size_, other->_cached_size_);
   1648   }
   1649 }
   1650 
   1651 ::std::string GLMessage_FrameBuffer::GetTypeName() const {
   1652   return "android.gltrace.GLMessage.FrameBuffer";
   1653 }
   1654 
   1655 
   1656 // -------------------------------------------------------------------
   1657 
   1658 #ifndef _MSC_VER
   1659 const int GLMessage::kContextIdFieldNumber;
   1660 const int GLMessage::kStartTimeFieldNumber;
   1661 const int GLMessage::kDurationFieldNumber;
   1662 const int GLMessage::kFunctionFieldNumber;
   1663 const int GLMessage::kArgsFieldNumber;
   1664 const int GLMessage::kReturnValueFieldNumber;
   1665 const int GLMessage::kFbFieldNumber;
   1666 const int GLMessage::kThreadtimeFieldNumber;
   1667 #endif  // !_MSC_VER
   1668 
   1669 GLMessage::GLMessage()
   1670   : ::google::protobuf::MessageLite() {
   1671   SharedCtor();
   1672 }
   1673 
   1674 void GLMessage::InitAsDefaultInstance() {
   1675   returnvalue_ = const_cast< ::android::gltrace::GLMessage_DataType*>(&::android::gltrace::GLMessage_DataType::default_instance());
   1676   fb_ = const_cast< ::android::gltrace::GLMessage_FrameBuffer*>(&::android::gltrace::GLMessage_FrameBuffer::default_instance());
   1677 }
   1678 
   1679 GLMessage::GLMessage(const GLMessage& from)
   1680   : ::google::protobuf::MessageLite() {
   1681   SharedCtor();
   1682   MergeFrom(from);
   1683 }
   1684 
   1685 void GLMessage::SharedCtor() {
   1686   _cached_size_ = 0;
   1687   context_id_ = 0;
   1688   start_time_ = GOOGLE_LONGLONG(0);
   1689   duration_ = 0;
   1690   function_ = 3000;
   1691   returnvalue_ = NULL;
   1692   fb_ = NULL;
   1693   threadtime_ = 0;
   1694   ::memset(_has_bits_, 0, sizeof(_has_bits_));
   1695 }
   1696 
   1697 GLMessage::~GLMessage() {
   1698   SharedDtor();
   1699 }
   1700 
   1701 void GLMessage::SharedDtor() {
   1702   if (this != default_instance_) {
   1703     delete returnvalue_;
   1704     delete fb_;
   1705   }
   1706 }
   1707 
   1708 void GLMessage::SetCachedSize(int size) const {
   1709   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
   1710   _cached_size_ = size;
   1711   GOOGLE_SAFE_CONCURRENT_WRITES_END();
   1712 }
   1713 const GLMessage& GLMessage::default_instance() {
   1714   if (default_instance_ == NULL) protobuf_AddDesc_gltrace_2eproto();  return *default_instance_;
   1715 }
   1716 
   1717 GLMessage* GLMessage::default_instance_ = NULL;
   1718 
   1719 GLMessage* GLMessage::New() const {
   1720   return new GLMessage;
   1721 }
   1722 
   1723 void GLMessage::Clear() {
   1724   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
   1725     context_id_ = 0;
   1726     start_time_ = GOOGLE_LONGLONG(0);
   1727     duration_ = 0;
   1728     function_ = 3000;
   1729     if (_has_bit(5)) {
   1730       if (returnvalue_ != NULL) returnvalue_->::android::gltrace::GLMessage_DataType::Clear();
   1731     }
   1732     if (_has_bit(6)) {
   1733       if (fb_ != NULL) fb_->::android::gltrace::GLMessage_FrameBuffer::Clear();
   1734     }
   1735     threadtime_ = 0;
   1736   }
   1737   args_.Clear();
   1738   ::memset(_has_bits_, 0, sizeof(_has_bits_));
   1739 }
   1740 
   1741 bool GLMessage::MergePartialFromCodedStream(
   1742     ::google::protobuf::io::CodedInputStream* input) {
   1743 #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
   1744   ::google::protobuf::uint32 tag;
   1745   while ((tag = input->ReadTag()) != 0) {
   1746     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
   1747       // required int32 context_id = 1;
   1748       case 1: {
   1749         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1750             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
   1751           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
   1752                    ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
   1753                  input, &context_id_)));
   1754           _set_bit(0);
   1755         } else {
   1756           goto handle_uninterpreted;
   1757         }
   1758         if (input->ExpectTag(16)) goto parse_start_time;
   1759         break;
   1760       }
   1761 
   1762       // required int64 start_time = 2;
   1763       case 2: {
   1764         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1765             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
   1766          parse_start_time:
   1767           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
   1768                    ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
   1769                  input, &start_time_)));
   1770           _set_bit(1);
   1771         } else {
   1772           goto handle_uninterpreted;
   1773         }
   1774         if (input->ExpectTag(24)) goto parse_duration;
   1775         break;
   1776       }
   1777 
   1778       // required int32 duration = 3;
   1779       case 3: {
   1780         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1781             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
   1782          parse_duration:
   1783           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
   1784                    ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
   1785                  input, &duration_)));
   1786           _set_bit(2);
   1787         } else {
   1788           goto handle_uninterpreted;
   1789         }
   1790         if (input->ExpectTag(32)) goto parse_function;
   1791         break;
   1792       }
   1793 
   1794       // required .android.gltrace.GLMessage.Function function = 4 [default = invalid];
   1795       case 4: {
   1796         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1797             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
   1798          parse_function:
   1799           int value;
   1800           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
   1801                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
   1802                  input, &value)));
   1803           if (::android::gltrace::GLMessage_Function_IsValid(value)) {
   1804             set_function(static_cast< ::android::gltrace::GLMessage_Function >(value));
   1805           }
   1806         } else {
   1807           goto handle_uninterpreted;
   1808         }
   1809         if (input->ExpectTag(42)) goto parse_args;
   1810         break;
   1811       }
   1812 
   1813       // repeated .android.gltrace.GLMessage.DataType args = 5;
   1814       case 5: {
   1815         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1816             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
   1817          parse_args:
   1818           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
   1819                 input, add_args()));
   1820         } else {
   1821           goto handle_uninterpreted;
   1822         }
   1823         if (input->ExpectTag(42)) goto parse_args;
   1824         if (input->ExpectTag(50)) goto parse_returnValue;
   1825         break;
   1826       }
   1827 
   1828       // optional .android.gltrace.GLMessage.DataType returnValue = 6;
   1829       case 6: {
   1830         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1831             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
   1832          parse_returnValue:
   1833           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
   1834                input, mutable_returnvalue()));
   1835         } else {
   1836           goto handle_uninterpreted;
   1837         }
   1838         if (input->ExpectTag(58)) goto parse_fb;
   1839         break;
   1840       }
   1841 
   1842       // optional .android.gltrace.GLMessage.FrameBuffer fb = 7;
   1843       case 7: {
   1844         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1845             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
   1846          parse_fb:
   1847           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
   1848                input, mutable_fb()));
   1849         } else {
   1850           goto handle_uninterpreted;
   1851         }
   1852         if (input->ExpectTag(64)) goto parse_threadtime;
   1853         break;
   1854       }
   1855 
   1856       // optional int32 threadtime = 8;
   1857       case 8: {
   1858         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1859             ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
   1860          parse_threadtime:
   1861           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
   1862                    ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
   1863                  input, &threadtime_)));
   1864           _set_bit(7);
   1865         } else {
   1866           goto handle_uninterpreted;
   1867         }
   1868         if (input->ExpectAtEnd()) return true;
   1869         break;
   1870       }
   1871 
   1872       default: {
   1873       handle_uninterpreted:
   1874         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
   1875             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
   1876           return true;
   1877         }
   1878         DO_(::google::protobuf::internal::WireFormatLite::SkipField(input, tag));
   1879         break;
   1880       }
   1881     }
   1882   }
   1883   return true;
   1884 #undef DO_
   1885 }
   1886 
   1887 void GLMessage::SerializeWithCachedSizes(
   1888     ::google::protobuf::io::CodedOutputStream* output) const {
   1889   // required int32 context_id = 1;
   1890   if (_has_bit(0)) {
   1891     ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->context_id(), output);
   1892   }
   1893 
   1894   // required int64 start_time = 2;
   1895   if (_has_bit(1)) {
   1896     ::google::protobuf::internal::WireFormatLite::WriteInt64(2, this->start_time(), output);
   1897   }
   1898 
   1899   // required int32 duration = 3;
   1900   if (_has_bit(2)) {
   1901     ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->duration(), output);
   1902   }
   1903 
   1904   // required .android.gltrace.GLMessage.Function function = 4 [default = invalid];
   1905   if (_has_bit(3)) {
   1906     ::google::protobuf::internal::WireFormatLite::WriteEnum(
   1907       4, this->function(), output);
   1908   }
   1909 
   1910   // repeated .android.gltrace.GLMessage.DataType args = 5;
   1911   for (int i = 0; i < this->args_size(); i++) {
   1912     ::google::protobuf::internal::WireFormatLite::WriteMessage(
   1913       5, this->args(i), output);
   1914   }
   1915 
   1916   // optional .android.gltrace.GLMessage.DataType returnValue = 6;
   1917   if (_has_bit(5)) {
   1918     ::google::protobuf::internal::WireFormatLite::WriteMessage(
   1919       6, this->returnvalue(), output);
   1920   }
   1921 
   1922   // optional .android.gltrace.GLMessage.FrameBuffer fb = 7;
   1923   if (_has_bit(6)) {
   1924     ::google::protobuf::internal::WireFormatLite::WriteMessage(
   1925       7, this->fb(), output);
   1926   }
   1927 
   1928   // optional int32 threadtime = 8;
   1929   if (_has_bit(7)) {
   1930     ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->threadtime(), output);
   1931   }
   1932 
   1933 }
   1934 
   1935 int GLMessage::ByteSize() const {
   1936   int total_size = 0;
   1937 
   1938   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
   1939     // required int32 context_id = 1;
   1940     if (has_context_id()) {
   1941       total_size += 1 +
   1942         ::google::protobuf::internal::WireFormatLite::Int32Size(
   1943           this->context_id());
   1944     }
   1945 
   1946     // required int64 start_time = 2;
   1947     if (has_start_time()) {
   1948       total_size += 1 +
   1949         ::google::protobuf::internal::WireFormatLite::Int64Size(
   1950           this->start_time());
   1951     }
   1952 
   1953     // required int32 duration = 3;
   1954     if (has_duration()) {
   1955       total_size += 1 +
   1956         ::google::protobuf::internal::WireFormatLite::Int32Size(
   1957           this->duration());
   1958     }
   1959 
   1960     // required .android.gltrace.GLMessage.Function function = 4 [default = invalid];
   1961     if (has_function()) {
   1962       total_size += 1 +
   1963         ::google::protobuf::internal::WireFormatLite::EnumSize(this->function());
   1964     }
   1965 
   1966     // optional .android.gltrace.GLMessage.DataType returnValue = 6;
   1967     if (has_returnvalue()) {
   1968       total_size += 1 +
   1969         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
   1970           this->returnvalue());
   1971     }
   1972 
   1973     // optional .android.gltrace.GLMessage.FrameBuffer fb = 7;
   1974     if (has_fb()) {
   1975       total_size += 1 +
   1976         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
   1977           this->fb());
   1978     }
   1979 
   1980     // optional int32 threadtime = 8;
   1981     if (has_threadtime()) {
   1982       total_size += 1 +
   1983         ::google::protobuf::internal::WireFormatLite::Int32Size(
   1984           this->threadtime());
   1985     }
   1986 
   1987   }
   1988   // repeated .android.gltrace.GLMessage.DataType args = 5;
   1989   total_size += 1 * this->args_size();
   1990   for (int i = 0; i < this->args_size(); i++) {
   1991     total_size +=
   1992       ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
   1993         this->args(i));
   1994   }
   1995 
   1996   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
   1997   _cached_size_ = total_size;
   1998   GOOGLE_SAFE_CONCURRENT_WRITES_END();
   1999   return total_size;
   2000 }
   2001 
   2002 void GLMessage::CheckTypeAndMergeFrom(
   2003     const ::google::protobuf::MessageLite& from) {
   2004   MergeFrom(*::google::protobuf::down_cast<const GLMessage*>(&from));
   2005 }
   2006 
   2007 void GLMessage::MergeFrom(const GLMessage& from) {
   2008   GOOGLE_CHECK_NE(&from, this);
   2009   args_.MergeFrom(from.args_);
   2010   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
   2011     if (from._has_bit(0)) {
   2012       set_context_id(from.context_id());
   2013     }
   2014     if (from._has_bit(1)) {
   2015       set_start_time(from.start_time());
   2016     }
   2017     if (from._has_bit(2)) {
   2018       set_duration(from.duration());
   2019     }
   2020     if (from._has_bit(3)) {
   2021       set_function(from.function());
   2022     }
   2023     if (from._has_bit(5)) {
   2024       mutable_returnvalue()->::android::gltrace::GLMessage_DataType::MergeFrom(from.returnvalue());
   2025     }
   2026     if (from._has_bit(6)) {
   2027       mutable_fb()->::android::gltrace::GLMessage_FrameBuffer::MergeFrom(from.fb());
   2028     }
   2029     if (from._has_bit(7)) {
   2030       set_threadtime(from.threadtime());
   2031     }
   2032   }
   2033 }
   2034 
   2035 void GLMessage::CopyFrom(const GLMessage& from) {
   2036   if (&from == this) return;
   2037   Clear();
   2038   MergeFrom(from);
   2039 }
   2040 
   2041 bool GLMessage::IsInitialized() const {
   2042   if ((_has_bits_[0] & 0x0000000f) != 0x0000000f) return false;
   2043 
   2044   for (int i = 0; i < args_size(); i++) {
   2045     if (!this->args(i).IsInitialized()) return false;
   2046   }
   2047   if (has_returnvalue()) {
   2048     if (!this->returnvalue().IsInitialized()) return false;
   2049   }
   2050   if (has_fb()) {
   2051     if (!this->fb().IsInitialized()) return false;
   2052   }
   2053   return true;
   2054 }
   2055 
   2056 void GLMessage::Swap(GLMessage* other) {
   2057   if (other != this) {
   2058     std::swap(context_id_, other->context_id_);
   2059     std::swap(start_time_, other->start_time_);
   2060     std::swap(duration_, other->duration_);
   2061     std::swap(function_, other->function_);
   2062     args_.Swap(&other->args_);
   2063     std::swap(returnvalue_, other->returnvalue_);
   2064     std::swap(fb_, other->fb_);
   2065     std::swap(threadtime_, other->threadtime_);
   2066     std::swap(_has_bits_[0], other->_has_bits_[0]);
   2067     std::swap(_cached_size_, other->_cached_size_);
   2068   }
   2069 }
   2070 
   2071 ::std::string GLMessage::GetTypeName() const {
   2072   return "android.gltrace.GLMessage";
   2073 }
   2074 
   2075 
   2076 // @@protoc_insertion_point(namespace_scope)
   2077 
   2078 }  // namespace gltrace
   2079 }  // namespace android
   2080 
   2081 // @@protoc_insertion_point(global_scope)
   2082