Siva Velusamy | db97468 | 2011-11-30 15:05:37 -0800 | [diff] [blame] | 1 | // Generated by the protocol buffer compiler. DO NOT EDIT! |
| 2 | // source: gltrace.proto |
| 3 | |
| 4 | #ifndef PROTOBUF_gltrace_2eproto__INCLUDED |
| 5 | #define PROTOBUF_gltrace_2eproto__INCLUDED |
| 6 | |
| 7 | #include <string> |
| 8 | |
| 9 | #include <google/protobuf/stubs/common.h> |
| 10 | |
| 11 | #if GOOGLE_PROTOBUF_VERSION < 2003000 |
| 12 | #error This file was generated by a newer version of protoc which is |
| 13 | #error incompatible with your Protocol Buffer headers. Please update |
| 14 | #error your headers. |
| 15 | #endif |
| 16 | #if 2003000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION |
| 17 | #error This file was generated by an older version of protoc which is |
| 18 | #error incompatible with your Protocol Buffer headers. Please |
| 19 | #error regenerate this file with a newer version of protoc. |
| 20 | #endif |
| 21 | |
| 22 | #include <google/protobuf/generated_message_util.h> |
| 23 | #include <google/protobuf/repeated_field.h> |
| 24 | #include <google/protobuf/extension_set.h> |
| 25 | // @@protoc_insertion_point(includes) |
| 26 | |
| 27 | namespace android { |
| 28 | namespace gltrace { |
| 29 | |
| 30 | // Internal implementation detail -- do not call these. |
| 31 | void protobuf_AddDesc_gltrace_2eproto(); |
| 32 | void protobuf_AssignDesc_gltrace_2eproto(); |
| 33 | void protobuf_ShutdownFile_gltrace_2eproto(); |
| 34 | |
| 35 | class GLMessage; |
| 36 | class GLMessage_DataType; |
Siva Velusamy | c0f838f | 2011-12-05 11:12:31 -0800 | [diff] [blame] | 37 | class GLMessage_FrameBuffer; |
Siva Velusamy | db97468 | 2011-11-30 15:05:37 -0800 | [diff] [blame] | 38 | |
| 39 | enum GLMessage_DataType_Type { |
| 40 | GLMessage_DataType_Type_VOID = 1, |
| 41 | GLMessage_DataType_Type_CHAR = 2, |
| 42 | GLMessage_DataType_Type_BYTE = 3, |
| 43 | GLMessage_DataType_Type_INT = 4, |
| 44 | GLMessage_DataType_Type_FLOAT = 5, |
| 45 | GLMessage_DataType_Type_BOOL = 6, |
| 46 | GLMessage_DataType_Type_ENUM = 7 |
| 47 | }; |
| 48 | bool GLMessage_DataType_Type_IsValid(int value); |
| 49 | const GLMessage_DataType_Type GLMessage_DataType_Type_Type_MIN = GLMessage_DataType_Type_VOID; |
| 50 | const GLMessage_DataType_Type GLMessage_DataType_Type_Type_MAX = GLMessage_DataType_Type_ENUM; |
| 51 | const int GLMessage_DataType_Type_Type_ARRAYSIZE = GLMessage_DataType_Type_Type_MAX + 1; |
| 52 | |
| 53 | enum GLMessage_Function { |
| 54 | GLMessage_Function_glActiveTexture = 0, |
| 55 | GLMessage_Function_glAlphaFunc = 1, |
| 56 | GLMessage_Function_glAlphaFuncx = 2, |
| 57 | GLMessage_Function_glAlphaFuncxOES = 3, |
| 58 | GLMessage_Function_glAttachShader = 4, |
| 59 | GLMessage_Function_glBeginPerfMonitorAMD = 5, |
| 60 | GLMessage_Function_glBindAttribLocation = 6, |
| 61 | GLMessage_Function_glBindBuffer = 7, |
| 62 | GLMessage_Function_glBindFramebuffer = 8, |
| 63 | GLMessage_Function_glBindFramebufferOES = 9, |
| 64 | GLMessage_Function_glBindRenderbuffer = 10, |
| 65 | GLMessage_Function_glBindRenderbufferOES = 11, |
| 66 | GLMessage_Function_glBindTexture = 12, |
| 67 | GLMessage_Function_glBindVertexArrayOES = 13, |
| 68 | GLMessage_Function_glBlendColor = 14, |
| 69 | GLMessage_Function_glBlendEquation = 15, |
| 70 | GLMessage_Function_glBlendEquationOES = 16, |
| 71 | GLMessage_Function_glBlendEquationSeparate = 17, |
| 72 | GLMessage_Function_glBlendEquationSeparateOES = 18, |
| 73 | GLMessage_Function_glBlendFunc = 19, |
| 74 | GLMessage_Function_glBlendFuncSeparate = 20, |
| 75 | GLMessage_Function_glBlendFuncSeparateOES = 21, |
| 76 | GLMessage_Function_glBufferData = 22, |
| 77 | GLMessage_Function_glBufferSubData = 23, |
| 78 | GLMessage_Function_glCheckFramebufferStatus = 24, |
| 79 | GLMessage_Function_glCheckFramebufferStatusOES = 25, |
| 80 | GLMessage_Function_glClearColor = 26, |
| 81 | GLMessage_Function_glClearColorx = 27, |
| 82 | GLMessage_Function_glClearColorxOES = 28, |
| 83 | GLMessage_Function_glClearDepthf = 29, |
| 84 | GLMessage_Function_glClearDepthfOES = 30, |
| 85 | GLMessage_Function_glClearDepthx = 31, |
| 86 | GLMessage_Function_glClearDepthxOES = 32, |
| 87 | GLMessage_Function_glClear = 33, |
| 88 | GLMessage_Function_glClearStencil = 34, |
| 89 | GLMessage_Function_glClientActiveTexture = 35, |
| 90 | GLMessage_Function_glClipPlanef = 36, |
| 91 | GLMessage_Function_glClipPlanefIMG = 37, |
| 92 | GLMessage_Function_glClipPlanefOES = 38, |
| 93 | GLMessage_Function_glClipPlanex = 39, |
| 94 | GLMessage_Function_glClipPlanexIMG = 40, |
| 95 | GLMessage_Function_glClipPlanexOES = 41, |
| 96 | GLMessage_Function_glColor4f = 42, |
| 97 | GLMessage_Function_glColor4ub = 43, |
| 98 | GLMessage_Function_glColor4x = 44, |
| 99 | GLMessage_Function_glColor4xOES = 45, |
| 100 | GLMessage_Function_glColorMask = 46, |
| 101 | GLMessage_Function_glColorPointer = 47, |
| 102 | GLMessage_Function_glCompileShader = 48, |
| 103 | GLMessage_Function_glCompressedTexImage2D = 49, |
| 104 | GLMessage_Function_glCompressedTexImage3DOES = 50, |
| 105 | GLMessage_Function_glCompressedTexSubImage2D = 51, |
| 106 | GLMessage_Function_glCompressedTexSubImage3DOES = 52, |
| 107 | GLMessage_Function_glCopyTexImage2D = 53, |
| 108 | GLMessage_Function_glCopyTexSubImage2D = 54, |
| 109 | GLMessage_Function_glCopyTexSubImage3DOES = 55, |
| 110 | GLMessage_Function_glCoverageMaskNV = 56, |
| 111 | GLMessage_Function_glCoverageOperationNV = 57, |
| 112 | GLMessage_Function_glCreateProgram = 58, |
| 113 | GLMessage_Function_glCreateShader = 59, |
| 114 | GLMessage_Function_glCullFace = 60, |
| 115 | GLMessage_Function_glCurrentPaletteMatrixOES = 61, |
| 116 | GLMessage_Function_glDeleteBuffers = 62, |
| 117 | GLMessage_Function_glDeleteFencesNV = 63, |
| 118 | GLMessage_Function_glDeleteFramebuffers = 64, |
| 119 | GLMessage_Function_glDeleteFramebuffersOES = 65, |
| 120 | GLMessage_Function_glDeletePerfMonitorsAMD = 66, |
| 121 | GLMessage_Function_glDeleteProgram = 67, |
| 122 | GLMessage_Function_glDeleteRenderbuffers = 68, |
| 123 | GLMessage_Function_glDeleteRenderbuffersOES = 69, |
| 124 | GLMessage_Function_glDeleteShader = 70, |
| 125 | GLMessage_Function_glDeleteTextures = 71, |
| 126 | GLMessage_Function_glDeleteVertexArraysOES = 72, |
| 127 | GLMessage_Function_glDepthFunc = 73, |
| 128 | GLMessage_Function_glDepthMask = 74, |
| 129 | GLMessage_Function_glDepthRangef = 75, |
| 130 | GLMessage_Function_glDepthRangefOES = 76, |
| 131 | GLMessage_Function_glDepthRangex = 77, |
| 132 | GLMessage_Function_glDepthRangexOES = 78, |
| 133 | GLMessage_Function_glDetachShader = 79, |
| 134 | GLMessage_Function_glDisableClientState = 80, |
| 135 | GLMessage_Function_glDisableDriverControlQCOM = 81, |
| 136 | GLMessage_Function_glDisable = 82, |
| 137 | GLMessage_Function_glDisableVertexAttribArray = 83, |
| 138 | GLMessage_Function_glDiscardFramebufferEXT = 84, |
| 139 | GLMessage_Function_glDrawArrays = 85, |
| 140 | GLMessage_Function_glDrawElements = 86, |
| 141 | GLMessage_Function_glDrawTexfOES = 87, |
| 142 | GLMessage_Function_glDrawTexfvOES = 88, |
| 143 | GLMessage_Function_glDrawTexiOES = 89, |
| 144 | GLMessage_Function_glDrawTexivOES = 90, |
| 145 | GLMessage_Function_glDrawTexsOES = 91, |
| 146 | GLMessage_Function_glDrawTexsvOES = 92, |
| 147 | GLMessage_Function_glDrawTexxOES = 93, |
| 148 | GLMessage_Function_glDrawTexxvOES = 94, |
| 149 | GLMessage_Function_glEGLImageTargetRenderbufferStorageOES = 95, |
| 150 | GLMessage_Function_glEGLImageTargetTexture2DOES = 96, |
| 151 | GLMessage_Function_glEnableClientState = 97, |
| 152 | GLMessage_Function_glEnableDriverControlQCOM = 98, |
| 153 | GLMessage_Function_glEnable = 99, |
| 154 | GLMessage_Function_glEnableVertexAttribArray = 100, |
| 155 | GLMessage_Function_glEndPerfMonitorAMD = 101, |
| 156 | GLMessage_Function_glEndTilingQCOM = 102, |
| 157 | GLMessage_Function_glExtGetBufferPointervQCOM = 103, |
| 158 | GLMessage_Function_glExtGetBuffersQCOM = 104, |
| 159 | GLMessage_Function_glExtGetFramebuffersQCOM = 105, |
| 160 | GLMessage_Function_glExtGetProgramBinarySourceQCOM = 106, |
| 161 | GLMessage_Function_glExtGetProgramsQCOM = 107, |
| 162 | GLMessage_Function_glExtGetRenderbuffersQCOM = 108, |
| 163 | GLMessage_Function_glExtGetShadersQCOM = 109, |
| 164 | GLMessage_Function_glExtGetTexLevelParameterivQCOM = 110, |
| 165 | GLMessage_Function_glExtGetTexSubImageQCOM = 111, |
| 166 | GLMessage_Function_glExtGetTexturesQCOM = 112, |
| 167 | GLMessage_Function_glExtIsProgramBinaryQCOM = 113, |
| 168 | GLMessage_Function_glExtTexObjectStateOverrideiQCOM = 114, |
| 169 | GLMessage_Function_glFinishFenceNV = 115, |
| 170 | GLMessage_Function_glFinish = 116, |
| 171 | GLMessage_Function_glFlush = 117, |
| 172 | GLMessage_Function_glFogf = 118, |
| 173 | GLMessage_Function_glFogfv = 119, |
| 174 | GLMessage_Function_glFogx = 120, |
| 175 | GLMessage_Function_glFogxOES = 121, |
| 176 | GLMessage_Function_glFogxv = 122, |
| 177 | GLMessage_Function_glFogxvOES = 123, |
| 178 | GLMessage_Function_glFramebufferRenderbuffer = 124, |
| 179 | GLMessage_Function_glFramebufferRenderbufferOES = 125, |
| 180 | GLMessage_Function_glFramebufferTexture2D = 126, |
| 181 | GLMessage_Function_glFramebufferTexture2DMultisampleIMG = 127, |
| 182 | GLMessage_Function_glFramebufferTexture2DOES = 128, |
| 183 | GLMessage_Function_glFramebufferTexture3DOES = 129, |
| 184 | GLMessage_Function_glFrontFace = 130, |
| 185 | GLMessage_Function_glFrustumf = 131, |
| 186 | GLMessage_Function_glFrustumfOES = 132, |
| 187 | GLMessage_Function_glFrustumx = 133, |
| 188 | GLMessage_Function_glFrustumxOES = 134, |
| 189 | GLMessage_Function_glGenBuffers = 135, |
| 190 | GLMessage_Function_glGenerateMipmap = 136, |
| 191 | GLMessage_Function_glGenerateMipmapOES = 137, |
| 192 | GLMessage_Function_glGenFencesNV = 138, |
| 193 | GLMessage_Function_glGenFramebuffers = 139, |
| 194 | GLMessage_Function_glGenFramebuffersOES = 140, |
| 195 | GLMessage_Function_glGenPerfMonitorsAMD = 141, |
| 196 | GLMessage_Function_glGenRenderbuffers = 142, |
| 197 | GLMessage_Function_glGenRenderbuffersOES = 143, |
| 198 | GLMessage_Function_glGenTextures = 144, |
| 199 | GLMessage_Function_glGenVertexArraysOES = 145, |
| 200 | GLMessage_Function_glGetActiveAttrib = 146, |
| 201 | GLMessage_Function_glGetActiveUniform = 147, |
| 202 | GLMessage_Function_glGetAttachedShaders = 148, |
| 203 | GLMessage_Function_glGetAttribLocation = 149, |
| 204 | GLMessage_Function_glGetBooleanv = 150, |
| 205 | GLMessage_Function_glGetBufferParameteriv = 151, |
| 206 | GLMessage_Function_glGetBufferPointervOES = 152, |
| 207 | GLMessage_Function_glGetClipPlanef = 153, |
| 208 | GLMessage_Function_glGetClipPlanefOES = 154, |
| 209 | GLMessage_Function_glGetClipPlanex = 155, |
| 210 | GLMessage_Function_glGetClipPlanexOES = 156, |
| 211 | GLMessage_Function_glGetDriverControlsQCOM = 157, |
| 212 | GLMessage_Function_glGetDriverControlStringQCOM = 158, |
| 213 | GLMessage_Function_glGetError = 159, |
| 214 | GLMessage_Function_glGetFenceivNV = 160, |
| 215 | GLMessage_Function_glGetFixedv = 161, |
| 216 | GLMessage_Function_glGetFixedvOES = 162, |
| 217 | GLMessage_Function_glGetFloatv = 163, |
| 218 | GLMessage_Function_glGetFramebufferAttachmentParameteriv = 164, |
| 219 | GLMessage_Function_glGetFramebufferAttachmentParameterivOES = 165, |
| 220 | GLMessage_Function_glGetIntegerv = 166, |
| 221 | GLMessage_Function_glGetLightfv = 167, |
| 222 | GLMessage_Function_glGetLightxv = 168, |
| 223 | GLMessage_Function_glGetLightxvOES = 169, |
| 224 | GLMessage_Function_glGetMaterialfv = 170, |
| 225 | GLMessage_Function_glGetMaterialxv = 171, |
| 226 | GLMessage_Function_glGetMaterialxvOES = 172, |
| 227 | GLMessage_Function_glGetPerfMonitorCounterDataAMD = 173, |
| 228 | GLMessage_Function_glGetPerfMonitorCounterInfoAMD = 174, |
| 229 | GLMessage_Function_glGetPerfMonitorCountersAMD = 175, |
| 230 | GLMessage_Function_glGetPerfMonitorCounterStringAMD = 176, |
| 231 | GLMessage_Function_glGetPerfMonitorGroupsAMD = 177, |
| 232 | GLMessage_Function_glGetPerfMonitorGroupStringAMD = 178, |
| 233 | GLMessage_Function_glGetPointerv = 179, |
| 234 | GLMessage_Function_glGetProgramBinaryOES = 180, |
| 235 | GLMessage_Function_glGetProgramInfoLog = 181, |
| 236 | GLMessage_Function_glGetProgramiv = 182, |
| 237 | GLMessage_Function_glGetRenderbufferParameteriv = 183, |
| 238 | GLMessage_Function_glGetRenderbufferParameterivOES = 184, |
| 239 | GLMessage_Function_glGetShaderInfoLog = 185, |
| 240 | GLMessage_Function_glGetShaderiv = 186, |
| 241 | GLMessage_Function_glGetShaderPrecisionFormat = 187, |
| 242 | GLMessage_Function_glGetShaderSource = 188, |
| 243 | GLMessage_Function_glGetString = 189, |
| 244 | GLMessage_Function_glGetTexEnvfv = 190, |
| 245 | GLMessage_Function_glGetTexEnviv = 191, |
| 246 | GLMessage_Function_glGetTexEnvxv = 192, |
| 247 | GLMessage_Function_glGetTexEnvxvOES = 193, |
| 248 | GLMessage_Function_glGetTexGenfvOES = 194, |
| 249 | GLMessage_Function_glGetTexGenivOES = 195, |
| 250 | GLMessage_Function_glGetTexGenxvOES = 196, |
| 251 | GLMessage_Function_glGetTexParameterfv = 197, |
| 252 | GLMessage_Function_glGetTexParameteriv = 198, |
| 253 | GLMessage_Function_glGetTexParameterxv = 199, |
| 254 | GLMessage_Function_glGetTexParameterxvOES = 200, |
| 255 | GLMessage_Function_glGetUniformfv = 201, |
| 256 | GLMessage_Function_glGetUniformiv = 202, |
| 257 | GLMessage_Function_glGetUniformLocation = 203, |
| 258 | GLMessage_Function_glGetVertexAttribfv = 204, |
| 259 | GLMessage_Function_glGetVertexAttribiv = 205, |
| 260 | GLMessage_Function_glGetVertexAttribPointerv = 206, |
| 261 | GLMessage_Function_glHint = 207, |
| 262 | GLMessage_Function_glIsBuffer = 208, |
| 263 | GLMessage_Function_glIsEnabled = 209, |
| 264 | GLMessage_Function_glIsFenceNV = 210, |
| 265 | GLMessage_Function_glIsFramebuffer = 211, |
| 266 | GLMessage_Function_glIsFramebufferOES = 212, |
| 267 | GLMessage_Function_glIsProgram = 213, |
| 268 | GLMessage_Function_glIsRenderbuffer = 214, |
| 269 | GLMessage_Function_glIsRenderbufferOES = 215, |
| 270 | GLMessage_Function_glIsShader = 216, |
| 271 | GLMessage_Function_glIsTexture = 217, |
| 272 | GLMessage_Function_glIsVertexArrayOES = 218, |
| 273 | GLMessage_Function_glLightf = 219, |
| 274 | GLMessage_Function_glLightfv = 220, |
| 275 | GLMessage_Function_glLightModelf = 221, |
| 276 | GLMessage_Function_glLightModelfv = 222, |
| 277 | GLMessage_Function_glLightModelx = 223, |
| 278 | GLMessage_Function_glLightModelxOES = 224, |
| 279 | GLMessage_Function_glLightModelxv = 225, |
| 280 | GLMessage_Function_glLightModelxvOES = 226, |
| 281 | GLMessage_Function_glLightx = 227, |
| 282 | GLMessage_Function_glLightxOES = 228, |
| 283 | GLMessage_Function_glLightxv = 229, |
| 284 | GLMessage_Function_glLightxvOES = 230, |
| 285 | GLMessage_Function_glLineWidth = 231, |
| 286 | GLMessage_Function_glLineWidthx = 232, |
| 287 | GLMessage_Function_glLineWidthxOES = 233, |
| 288 | GLMessage_Function_glLinkProgram = 234, |
| 289 | GLMessage_Function_glLoadIdentity = 235, |
| 290 | GLMessage_Function_glLoadMatrixf = 236, |
| 291 | GLMessage_Function_glLoadMatrixx = 237, |
| 292 | GLMessage_Function_glLoadMatrixxOES = 238, |
| 293 | GLMessage_Function_glLoadPaletteFromModelViewMatrixOES = 239, |
| 294 | GLMessage_Function_glLogicOp = 240, |
| 295 | GLMessage_Function_glMapBufferOES = 241, |
| 296 | GLMessage_Function_glMaterialf = 242, |
| 297 | GLMessage_Function_glMaterialfv = 243, |
| 298 | GLMessage_Function_glMaterialx = 244, |
| 299 | GLMessage_Function_glMaterialxOES = 245, |
| 300 | GLMessage_Function_glMaterialxv = 246, |
| 301 | GLMessage_Function_glMaterialxvOES = 247, |
| 302 | GLMessage_Function_glMatrixIndexPointerOES = 248, |
| 303 | GLMessage_Function_glMatrixMode = 249, |
| 304 | GLMessage_Function_glMultiDrawArraysEXT = 250, |
| 305 | GLMessage_Function_glMultiDrawElementsEXT = 251, |
| 306 | GLMessage_Function_glMultiTexCoord4f = 252, |
| 307 | GLMessage_Function_glMultiTexCoord4x = 253, |
| 308 | GLMessage_Function_glMultiTexCoord4xOES = 254, |
| 309 | GLMessage_Function_glMultMatrixf = 255, |
| 310 | GLMessage_Function_glMultMatrixx = 256, |
| 311 | GLMessage_Function_glMultMatrixxOES = 257, |
| 312 | GLMessage_Function_glNormal3f = 258, |
| 313 | GLMessage_Function_glNormal3x = 259, |
| 314 | GLMessage_Function_glNormal3xOES = 260, |
| 315 | GLMessage_Function_glNormalPointer = 261, |
| 316 | GLMessage_Function_glOrthof = 262, |
| 317 | GLMessage_Function_glOrthofOES = 263, |
| 318 | GLMessage_Function_glOrthox = 264, |
| 319 | GLMessage_Function_glOrthoxOES = 265, |
| 320 | GLMessage_Function_glPixelStorei = 266, |
| 321 | GLMessage_Function_glPointParameterf = 267, |
| 322 | GLMessage_Function_glPointParameterfv = 268, |
| 323 | GLMessage_Function_glPointParameterx = 269, |
| 324 | GLMessage_Function_glPointParameterxOES = 270, |
| 325 | GLMessage_Function_glPointParameterxv = 271, |
| 326 | GLMessage_Function_glPointParameterxvOES = 272, |
| 327 | GLMessage_Function_glPointSize = 273, |
| 328 | GLMessage_Function_glPointSizePointerOES = 274, |
| 329 | GLMessage_Function_glPointSizex = 275, |
| 330 | GLMessage_Function_glPointSizexOES = 276, |
| 331 | GLMessage_Function_glPolygonOffset = 277, |
| 332 | GLMessage_Function_glPolygonOffsetx = 278, |
| 333 | GLMessage_Function_glPolygonOffsetxOES = 279, |
| 334 | GLMessage_Function_glPopMatrix = 280, |
| 335 | GLMessage_Function_glProgramBinaryOES = 281, |
| 336 | GLMessage_Function_glPushMatrix = 282, |
| 337 | GLMessage_Function_glQueryMatrixxOES = 283, |
| 338 | GLMessage_Function_glReadPixels = 284, |
| 339 | GLMessage_Function_glReleaseShaderCompiler = 285, |
| 340 | GLMessage_Function_glRenderbufferStorage = 286, |
| 341 | GLMessage_Function_glRenderbufferStorageMultisampleIMG = 287, |
| 342 | GLMessage_Function_glRenderbufferStorageOES = 288, |
| 343 | GLMessage_Function_glRotatef = 289, |
| 344 | GLMessage_Function_glRotatex = 290, |
| 345 | GLMessage_Function_glRotatexOES = 291, |
| 346 | GLMessage_Function_glSampleCoverage = 292, |
| 347 | GLMessage_Function_glSampleCoveragex = 293, |
| 348 | GLMessage_Function_glSampleCoveragexOES = 294, |
| 349 | GLMessage_Function_glScalef = 295, |
| 350 | GLMessage_Function_glScalex = 296, |
| 351 | GLMessage_Function_glScalexOES = 297, |
| 352 | GLMessage_Function_glScissor = 298, |
| 353 | GLMessage_Function_glSelectPerfMonitorCountersAMD = 299, |
| 354 | GLMessage_Function_glSetFenceNV = 300, |
| 355 | GLMessage_Function_glShadeModel = 301, |
| 356 | GLMessage_Function_glShaderBinary = 302, |
| 357 | GLMessage_Function_glShaderSource = 303, |
| 358 | GLMessage_Function_glStartTilingQCOM = 304, |
| 359 | GLMessage_Function_glStencilFunc = 305, |
| 360 | GLMessage_Function_glStencilFuncSeparate = 306, |
| 361 | GLMessage_Function_glStencilMask = 307, |
| 362 | GLMessage_Function_glStencilMaskSeparate = 308, |
| 363 | GLMessage_Function_glStencilOp = 309, |
| 364 | GLMessage_Function_glStencilOpSeparate = 310, |
| 365 | GLMessage_Function_glTestFenceNV = 311, |
| 366 | GLMessage_Function_glTexCoordPointer = 312, |
| 367 | GLMessage_Function_glTexEnvf = 313, |
| 368 | GLMessage_Function_glTexEnvfv = 314, |
| 369 | GLMessage_Function_glTexEnvi = 315, |
| 370 | GLMessage_Function_glTexEnviv = 316, |
| 371 | GLMessage_Function_glTexEnvx = 317, |
| 372 | GLMessage_Function_glTexEnvxOES = 318, |
| 373 | GLMessage_Function_glTexEnvxv = 319, |
| 374 | GLMessage_Function_glTexEnvxvOES = 320, |
| 375 | GLMessage_Function_glTexGenfOES = 321, |
| 376 | GLMessage_Function_glTexGenfvOES = 322, |
| 377 | GLMessage_Function_glTexGeniOES = 323, |
| 378 | GLMessage_Function_glTexGenivOES = 324, |
| 379 | GLMessage_Function_glTexGenxOES = 325, |
| 380 | GLMessage_Function_glTexGenxvOES = 326, |
| 381 | GLMessage_Function_glTexImage2D = 327, |
| 382 | GLMessage_Function_glTexImage3DOES = 328, |
| 383 | GLMessage_Function_glTexParameterf = 329, |
| 384 | GLMessage_Function_glTexParameterfv = 330, |
| 385 | GLMessage_Function_glTexParameteri = 331, |
| 386 | GLMessage_Function_glTexParameteriv = 332, |
| 387 | GLMessage_Function_glTexParameterx = 333, |
| 388 | GLMessage_Function_glTexParameterxOES = 334, |
| 389 | GLMessage_Function_glTexParameterxv = 335, |
| 390 | GLMessage_Function_glTexParameterxvOES = 336, |
| 391 | GLMessage_Function_glTexSubImage2D = 337, |
| 392 | GLMessage_Function_glTexSubImage3DOES = 338, |
| 393 | GLMessage_Function_glTranslatef = 339, |
| 394 | GLMessage_Function_glTranslatex = 340, |
| 395 | GLMessage_Function_glTranslatexOES = 341, |
| 396 | GLMessage_Function_glUniform1f = 342, |
| 397 | GLMessage_Function_glUniform1fv = 343, |
| 398 | GLMessage_Function_glUniform1i = 344, |
| 399 | GLMessage_Function_glUniform1iv = 345, |
| 400 | GLMessage_Function_glUniform2f = 346, |
| 401 | GLMessage_Function_glUniform2fv = 347, |
| 402 | GLMessage_Function_glUniform2i = 348, |
| 403 | GLMessage_Function_glUniform2iv = 349, |
| 404 | GLMessage_Function_glUniform3f = 350, |
| 405 | GLMessage_Function_glUniform3fv = 351, |
| 406 | GLMessage_Function_glUniform3i = 352, |
| 407 | GLMessage_Function_glUniform3iv = 353, |
| 408 | GLMessage_Function_glUniform4f = 354, |
| 409 | GLMessage_Function_glUniform4fv = 355, |
| 410 | GLMessage_Function_glUniform4i = 356, |
| 411 | GLMessage_Function_glUniform4iv = 357, |
| 412 | GLMessage_Function_glUniformMatrix2fv = 358, |
| 413 | GLMessage_Function_glUniformMatrix3fv = 359, |
| 414 | GLMessage_Function_glUniformMatrix4fv = 360, |
| 415 | GLMessage_Function_glUnmapBufferOES = 361, |
| 416 | GLMessage_Function_glUseProgram = 362, |
| 417 | GLMessage_Function_glValidateProgram = 363, |
| 418 | GLMessage_Function_glVertexAttrib1f = 364, |
| 419 | GLMessage_Function_glVertexAttrib1fv = 365, |
| 420 | GLMessage_Function_glVertexAttrib2f = 366, |
| 421 | GLMessage_Function_glVertexAttrib2fv = 367, |
| 422 | GLMessage_Function_glVertexAttrib3f = 368, |
| 423 | GLMessage_Function_glVertexAttrib3fv = 369, |
| 424 | GLMessage_Function_glVertexAttrib4f = 370, |
| 425 | GLMessage_Function_glVertexAttrib4fv = 371, |
| 426 | GLMessage_Function_glVertexAttribPointer = 372, |
| 427 | GLMessage_Function_glVertexPointer = 373, |
| 428 | GLMessage_Function_glViewport = 374, |
| 429 | GLMessage_Function_glWeightPointerOES = 375, |
| 430 | GLMessage_Function_eglGetDisplay = 2000, |
| 431 | GLMessage_Function_eglInitialize = 2001, |
| 432 | GLMessage_Function_eglTerminate = 2002, |
| 433 | GLMessage_Function_eglGetConfigs = 2003, |
| 434 | GLMessage_Function_eglChooseConfig = 2004, |
| 435 | GLMessage_Function_eglGetConfigAttrib = 2005, |
| 436 | GLMessage_Function_eglCreateWindowSurface = 2006, |
| 437 | GLMessage_Function_eglCreatePixmapSurface = 2007, |
| 438 | GLMessage_Function_eglCreatePbufferSurface = 2008, |
| 439 | GLMessage_Function_eglDestroySurface = 2009, |
| 440 | GLMessage_Function_eglQuerySurface = 2010, |
| 441 | GLMessage_Function_eglCreateContext = 2011, |
| 442 | GLMessage_Function_eglDestroyContext = 2012, |
| 443 | GLMessage_Function_eglMakeCurrent = 2013, |
| 444 | GLMessage_Function_eglGetCurrentContext = 2014, |
| 445 | GLMessage_Function_eglGetCurrentSurface = 2015, |
| 446 | GLMessage_Function_eglGetCurrentDisplay = 2016, |
| 447 | GLMessage_Function_eglQueryContext = 2017, |
| 448 | GLMessage_Function_eglWaitGL = 2018, |
| 449 | GLMessage_Function_eglWaitNative = 2019, |
| 450 | GLMessage_Function_eglSwapBuffers = 2020, |
| 451 | GLMessage_Function_eglCopyBuffers = 2021, |
| 452 | GLMessage_Function_eglGetError = 2022, |
| 453 | GLMessage_Function_eglQueryString = 2023, |
| 454 | GLMessage_Function_eglGetProcAddress = 2024, |
| 455 | GLMessage_Function_eglSurfaceAttrib = 2025, |
| 456 | GLMessage_Function_eglBindTexImage = 2026, |
| 457 | GLMessage_Function_eglReleaseTexImage = 2027, |
| 458 | GLMessage_Function_eglSwapInterval = 2028, |
| 459 | GLMessage_Function_eglBindAPI = 2029, |
| 460 | GLMessage_Function_eglQueryAPI = 2030, |
| 461 | GLMessage_Function_eglWaitClient = 2031, |
| 462 | GLMessage_Function_eglReleaseThread = 2032, |
| 463 | GLMessage_Function_eglCreatePbufferFromClientBuffer = 2033, |
| 464 | GLMessage_Function_eglLockSurfaceKHR = 2034, |
| 465 | GLMessage_Function_eglUnlockSurfaceKHR = 2035, |
| 466 | GLMessage_Function_eglCreateImageKHR = 2036, |
| 467 | GLMessage_Function_eglDestroyImageKHR = 2037, |
| 468 | GLMessage_Function_eglCreateSyncKHR = 2038, |
| 469 | GLMessage_Function_eglDestroySyncKHR = 2039, |
| 470 | GLMessage_Function_eglClientWaitSyncKHR = 2040, |
| 471 | GLMessage_Function_eglGetSyncAttribKHR = 2041, |
| 472 | GLMessage_Function_eglSetSwapRectangleANDROID = 2042, |
| 473 | GLMessage_Function_eglGetRenderBufferANDROID = 2043, |
| 474 | GLMessage_Function_eglGetSystemTimeFrequencyNV = 2044, |
| 475 | GLMessage_Function_eglGetSystemTimeNV = 2045, |
| 476 | GLMessage_Function_invalid = 3000, |
| 477 | GLMessage_Function_frameBufferContents = 3001 |
| 478 | }; |
| 479 | bool GLMessage_Function_IsValid(int value); |
| 480 | const GLMessage_Function GLMessage_Function_Function_MIN = GLMessage_Function_glActiveTexture; |
| 481 | const GLMessage_Function GLMessage_Function_Function_MAX = GLMessage_Function_frameBufferContents; |
| 482 | const int GLMessage_Function_Function_ARRAYSIZE = GLMessage_Function_Function_MAX + 1; |
| 483 | |
| 484 | // =================================================================== |
| 485 | |
| 486 | class GLMessage_DataType : public ::google::protobuf::MessageLite { |
| 487 | public: |
| 488 | GLMessage_DataType(); |
| 489 | virtual ~GLMessage_DataType(); |
| 490 | |
| 491 | GLMessage_DataType(const GLMessage_DataType& from); |
| 492 | |
| 493 | inline GLMessage_DataType& operator=(const GLMessage_DataType& from) { |
| 494 | CopyFrom(from); |
| 495 | return *this; |
| 496 | } |
| 497 | |
| 498 | static const GLMessage_DataType& default_instance(); |
| 499 | |
| 500 | void Swap(GLMessage_DataType* other); |
| 501 | |
| 502 | // implements Message ---------------------------------------------- |
| 503 | |
| 504 | GLMessage_DataType* New() const; |
| 505 | void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); |
| 506 | void CopyFrom(const GLMessage_DataType& from); |
| 507 | void MergeFrom(const GLMessage_DataType& from); |
| 508 | void Clear(); |
| 509 | bool IsInitialized() const; |
| 510 | |
| 511 | int ByteSize() const; |
| 512 | bool MergePartialFromCodedStream( |
| 513 | ::google::protobuf::io::CodedInputStream* input); |
| 514 | void SerializeWithCachedSizes( |
| 515 | ::google::protobuf::io::CodedOutputStream* output) const; |
| 516 | int GetCachedSize() const { return _cached_size_; } |
| 517 | private: |
| 518 | void SharedCtor(); |
| 519 | void SharedDtor(); |
| 520 | void SetCachedSize(int size) const; |
| 521 | public: |
| 522 | |
| 523 | ::std::string GetTypeName() const; |
| 524 | |
| 525 | // nested types ---------------------------------------------------- |
| 526 | |
| 527 | typedef GLMessage_DataType_Type Type; |
| 528 | static const Type VOID = GLMessage_DataType_Type_VOID; |
| 529 | static const Type CHAR = GLMessage_DataType_Type_CHAR; |
| 530 | static const Type BYTE = GLMessage_DataType_Type_BYTE; |
| 531 | static const Type INT = GLMessage_DataType_Type_INT; |
| 532 | static const Type FLOAT = GLMessage_DataType_Type_FLOAT; |
| 533 | static const Type BOOL = GLMessage_DataType_Type_BOOL; |
| 534 | static const Type ENUM = GLMessage_DataType_Type_ENUM; |
| 535 | static inline bool Type_IsValid(int value) { |
| 536 | return GLMessage_DataType_Type_IsValid(value); |
| 537 | } |
| 538 | static const Type Type_MIN = |
| 539 | GLMessage_DataType_Type_Type_MIN; |
| 540 | static const Type Type_MAX = |
| 541 | GLMessage_DataType_Type_Type_MAX; |
| 542 | static const int Type_ARRAYSIZE = |
| 543 | GLMessage_DataType_Type_Type_ARRAYSIZE; |
| 544 | |
| 545 | // accessors ------------------------------------------------------- |
| 546 | |
| 547 | // required .android.gltrace.GLMessage.DataType.Type type = 1 [default = VOID]; |
| 548 | inline bool has_type() const; |
| 549 | inline void clear_type(); |
| 550 | static const int kTypeFieldNumber = 1; |
| 551 | inline ::android::gltrace::GLMessage_DataType_Type type() const; |
| 552 | inline void set_type(::android::gltrace::GLMessage_DataType_Type value); |
| 553 | |
| 554 | // required bool isArray = 2 [default = false]; |
| 555 | inline bool has_isarray() const; |
| 556 | inline void clear_isarray(); |
| 557 | static const int kIsArrayFieldNumber = 2; |
| 558 | inline bool isarray() const; |
| 559 | inline void set_isarray(bool value); |
| 560 | |
| 561 | // repeated int32 intValue = 3; |
| 562 | inline int intvalue_size() const; |
| 563 | inline void clear_intvalue(); |
| 564 | static const int kIntValueFieldNumber = 3; |
| 565 | inline ::google::protobuf::int32 intvalue(int index) const; |
| 566 | inline void set_intvalue(int index, ::google::protobuf::int32 value); |
| 567 | inline void add_intvalue(::google::protobuf::int32 value); |
| 568 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& |
| 569 | intvalue() const; |
| 570 | inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
| 571 | mutable_intvalue(); |
| 572 | |
| 573 | // repeated float floatValue = 4; |
| 574 | inline int floatvalue_size() const; |
| 575 | inline void clear_floatvalue(); |
| 576 | static const int kFloatValueFieldNumber = 4; |
| 577 | inline float floatvalue(int index) const; |
| 578 | inline void set_floatvalue(int index, float value); |
| 579 | inline void add_floatvalue(float value); |
| 580 | inline const ::google::protobuf::RepeatedField< float >& |
| 581 | floatvalue() const; |
| 582 | inline ::google::protobuf::RepeatedField< float >* |
| 583 | mutable_floatvalue(); |
| 584 | |
| 585 | // repeated bytes charValue = 5; |
| 586 | inline int charvalue_size() const; |
| 587 | inline void clear_charvalue(); |
| 588 | static const int kCharValueFieldNumber = 5; |
| 589 | inline const ::std::string& charvalue(int index) const; |
| 590 | inline ::std::string* mutable_charvalue(int index); |
| 591 | inline void set_charvalue(int index, const ::std::string& value); |
| 592 | inline void set_charvalue(int index, const char* value); |
| 593 | inline void set_charvalue(int index, const void* value, size_t size); |
| 594 | inline ::std::string* add_charvalue(); |
| 595 | inline void add_charvalue(const ::std::string& value); |
| 596 | inline void add_charvalue(const char* value); |
| 597 | inline void add_charvalue(const void* value, size_t size); |
| 598 | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& charvalue() const; |
| 599 | inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_charvalue(); |
| 600 | |
| 601 | // repeated bytes rawBytes = 6; |
| 602 | inline int rawbytes_size() const; |
| 603 | inline void clear_rawbytes(); |
| 604 | static const int kRawBytesFieldNumber = 6; |
| 605 | inline const ::std::string& rawbytes(int index) const; |
| 606 | inline ::std::string* mutable_rawbytes(int index); |
| 607 | inline void set_rawbytes(int index, const ::std::string& value); |
| 608 | inline void set_rawbytes(int index, const char* value); |
| 609 | inline void set_rawbytes(int index, const void* value, size_t size); |
| 610 | inline ::std::string* add_rawbytes(); |
| 611 | inline void add_rawbytes(const ::std::string& value); |
| 612 | inline void add_rawbytes(const char* value); |
| 613 | inline void add_rawbytes(const void* value, size_t size); |
| 614 | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& rawbytes() const; |
| 615 | inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_rawbytes(); |
| 616 | |
| 617 | // repeated bool boolValue = 7; |
| 618 | inline int boolvalue_size() const; |
| 619 | inline void clear_boolvalue(); |
| 620 | static const int kBoolValueFieldNumber = 7; |
| 621 | inline bool boolvalue(int index) const; |
| 622 | inline void set_boolvalue(int index, bool value); |
| 623 | inline void add_boolvalue(bool value); |
| 624 | inline const ::google::protobuf::RepeatedField< bool >& |
| 625 | boolvalue() const; |
| 626 | inline ::google::protobuf::RepeatedField< bool >* |
| 627 | mutable_boolvalue(); |
| 628 | |
| 629 | // @@protoc_insertion_point(class_scope:android.gltrace.GLMessage.DataType) |
| 630 | private: |
| 631 | mutable int _cached_size_; |
| 632 | |
| 633 | int type_; |
| 634 | bool isarray_; |
| 635 | ::google::protobuf::RepeatedField< ::google::protobuf::int32 > intvalue_; |
| 636 | ::google::protobuf::RepeatedField< float > floatvalue_; |
| 637 | ::google::protobuf::RepeatedPtrField< ::std::string> charvalue_; |
| 638 | ::google::protobuf::RepeatedPtrField< ::std::string> rawbytes_; |
| 639 | ::google::protobuf::RepeatedField< bool > boolvalue_; |
| 640 | friend void protobuf_AddDesc_gltrace_2eproto(); |
| 641 | friend void protobuf_AssignDesc_gltrace_2eproto(); |
| 642 | friend void protobuf_ShutdownFile_gltrace_2eproto(); |
| 643 | |
| 644 | ::google::protobuf::uint32 _has_bits_[(7 + 31) / 32]; |
| 645 | |
| 646 | // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? |
| 647 | inline bool _has_bit(int index) const { |
| 648 | return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; |
| 649 | } |
| 650 | inline void _set_bit(int index) { |
| 651 | _has_bits_[index / 32] |= (1u << (index % 32)); |
| 652 | } |
| 653 | inline void _clear_bit(int index) { |
| 654 | _has_bits_[index / 32] &= ~(1u << (index % 32)); |
| 655 | } |
| 656 | |
| 657 | void InitAsDefaultInstance(); |
| 658 | static GLMessage_DataType* default_instance_; |
| 659 | }; |
| 660 | // ------------------------------------------------------------------- |
| 661 | |
Siva Velusamy | c0f838f | 2011-12-05 11:12:31 -0800 | [diff] [blame] | 662 | class GLMessage_FrameBuffer : public ::google::protobuf::MessageLite { |
| 663 | public: |
| 664 | GLMessage_FrameBuffer(); |
| 665 | virtual ~GLMessage_FrameBuffer(); |
| 666 | |
| 667 | GLMessage_FrameBuffer(const GLMessage_FrameBuffer& from); |
| 668 | |
| 669 | inline GLMessage_FrameBuffer& operator=(const GLMessage_FrameBuffer& from) { |
| 670 | CopyFrom(from); |
| 671 | return *this; |
| 672 | } |
| 673 | |
| 674 | static const GLMessage_FrameBuffer& default_instance(); |
| 675 | |
| 676 | void Swap(GLMessage_FrameBuffer* other); |
| 677 | |
| 678 | // implements Message ---------------------------------------------- |
| 679 | |
| 680 | GLMessage_FrameBuffer* New() const; |
| 681 | void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); |
| 682 | void CopyFrom(const GLMessage_FrameBuffer& from); |
| 683 | void MergeFrom(const GLMessage_FrameBuffer& from); |
| 684 | void Clear(); |
| 685 | bool IsInitialized() const; |
| 686 | |
| 687 | int ByteSize() const; |
| 688 | bool MergePartialFromCodedStream( |
| 689 | ::google::protobuf::io::CodedInputStream* input); |
| 690 | void SerializeWithCachedSizes( |
| 691 | ::google::protobuf::io::CodedOutputStream* output) const; |
| 692 | int GetCachedSize() const { return _cached_size_; } |
| 693 | private: |
| 694 | void SharedCtor(); |
| 695 | void SharedDtor(); |
| 696 | void SetCachedSize(int size) const; |
| 697 | public: |
| 698 | |
| 699 | ::std::string GetTypeName() const; |
| 700 | |
| 701 | // nested types ---------------------------------------------------- |
| 702 | |
| 703 | // accessors ------------------------------------------------------- |
| 704 | |
| 705 | // required int32 width = 1; |
| 706 | inline bool has_width() const; |
| 707 | inline void clear_width(); |
| 708 | static const int kWidthFieldNumber = 1; |
| 709 | inline ::google::protobuf::int32 width() const; |
| 710 | inline void set_width(::google::protobuf::int32 value); |
| 711 | |
| 712 | // required int32 height = 2; |
| 713 | inline bool has_height() const; |
| 714 | inline void clear_height(); |
| 715 | static const int kHeightFieldNumber = 2; |
| 716 | inline ::google::protobuf::int32 height() const; |
| 717 | inline void set_height(::google::protobuf::int32 value); |
| 718 | |
| 719 | // repeated bytes contents = 3; |
| 720 | inline int contents_size() const; |
| 721 | inline void clear_contents(); |
| 722 | static const int kContentsFieldNumber = 3; |
| 723 | inline const ::std::string& contents(int index) const; |
| 724 | inline ::std::string* mutable_contents(int index); |
| 725 | inline void set_contents(int index, const ::std::string& value); |
| 726 | inline void set_contents(int index, const char* value); |
| 727 | inline void set_contents(int index, const void* value, size_t size); |
| 728 | inline ::std::string* add_contents(); |
| 729 | inline void add_contents(const ::std::string& value); |
| 730 | inline void add_contents(const char* value); |
| 731 | inline void add_contents(const void* value, size_t size); |
| 732 | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& contents() const; |
| 733 | inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_contents(); |
| 734 | |
| 735 | // @@protoc_insertion_point(class_scope:android.gltrace.GLMessage.FrameBuffer) |
| 736 | private: |
| 737 | mutable int _cached_size_; |
| 738 | |
| 739 | ::google::protobuf::int32 width_; |
| 740 | ::google::protobuf::int32 height_; |
| 741 | ::google::protobuf::RepeatedPtrField< ::std::string> contents_; |
| 742 | friend void protobuf_AddDesc_gltrace_2eproto(); |
| 743 | friend void protobuf_AssignDesc_gltrace_2eproto(); |
| 744 | friend void protobuf_ShutdownFile_gltrace_2eproto(); |
| 745 | |
| 746 | ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; |
| 747 | |
| 748 | // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? |
| 749 | inline bool _has_bit(int index) const { |
| 750 | return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; |
| 751 | } |
| 752 | inline void _set_bit(int index) { |
| 753 | _has_bits_[index / 32] |= (1u << (index % 32)); |
| 754 | } |
| 755 | inline void _clear_bit(int index) { |
| 756 | _has_bits_[index / 32] &= ~(1u << (index % 32)); |
| 757 | } |
| 758 | |
| 759 | void InitAsDefaultInstance(); |
| 760 | static GLMessage_FrameBuffer* default_instance_; |
| 761 | }; |
| 762 | // ------------------------------------------------------------------- |
| 763 | |
Siva Velusamy | db97468 | 2011-11-30 15:05:37 -0800 | [diff] [blame] | 764 | class GLMessage : public ::google::protobuf::MessageLite { |
| 765 | public: |
| 766 | GLMessage(); |
| 767 | virtual ~GLMessage(); |
| 768 | |
| 769 | GLMessage(const GLMessage& from); |
| 770 | |
| 771 | inline GLMessage& operator=(const GLMessage& from) { |
| 772 | CopyFrom(from); |
| 773 | return *this; |
| 774 | } |
| 775 | |
| 776 | static const GLMessage& default_instance(); |
| 777 | |
| 778 | void Swap(GLMessage* other); |
| 779 | |
| 780 | // implements Message ---------------------------------------------- |
| 781 | |
| 782 | GLMessage* New() const; |
| 783 | void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); |
| 784 | void CopyFrom(const GLMessage& from); |
| 785 | void MergeFrom(const GLMessage& from); |
| 786 | void Clear(); |
| 787 | bool IsInitialized() const; |
| 788 | |
| 789 | int ByteSize() const; |
| 790 | bool MergePartialFromCodedStream( |
| 791 | ::google::protobuf::io::CodedInputStream* input); |
| 792 | void SerializeWithCachedSizes( |
| 793 | ::google::protobuf::io::CodedOutputStream* output) const; |
| 794 | int GetCachedSize() const { return _cached_size_; } |
| 795 | private: |
| 796 | void SharedCtor(); |
| 797 | void SharedDtor(); |
| 798 | void SetCachedSize(int size) const; |
| 799 | public: |
| 800 | |
| 801 | ::std::string GetTypeName() const; |
| 802 | |
| 803 | // nested types ---------------------------------------------------- |
| 804 | |
| 805 | typedef GLMessage_DataType DataType; |
Siva Velusamy | c0f838f | 2011-12-05 11:12:31 -0800 | [diff] [blame] | 806 | typedef GLMessage_FrameBuffer FrameBuffer; |
Siva Velusamy | db97468 | 2011-11-30 15:05:37 -0800 | [diff] [blame] | 807 | |
| 808 | typedef GLMessage_Function Function; |
| 809 | static const Function glActiveTexture = GLMessage_Function_glActiveTexture; |
| 810 | static const Function glAlphaFunc = GLMessage_Function_glAlphaFunc; |
| 811 | static const Function glAlphaFuncx = GLMessage_Function_glAlphaFuncx; |
| 812 | static const Function glAlphaFuncxOES = GLMessage_Function_glAlphaFuncxOES; |
| 813 | static const Function glAttachShader = GLMessage_Function_glAttachShader; |
| 814 | static const Function glBeginPerfMonitorAMD = GLMessage_Function_glBeginPerfMonitorAMD; |
| 815 | static const Function glBindAttribLocation = GLMessage_Function_glBindAttribLocation; |
| 816 | static const Function glBindBuffer = GLMessage_Function_glBindBuffer; |
| 817 | static const Function glBindFramebuffer = GLMessage_Function_glBindFramebuffer; |
| 818 | static const Function glBindFramebufferOES = GLMessage_Function_glBindFramebufferOES; |
| 819 | static const Function glBindRenderbuffer = GLMessage_Function_glBindRenderbuffer; |
| 820 | static const Function glBindRenderbufferOES = GLMessage_Function_glBindRenderbufferOES; |
| 821 | static const Function glBindTexture = GLMessage_Function_glBindTexture; |
| 822 | static const Function glBindVertexArrayOES = GLMessage_Function_glBindVertexArrayOES; |
| 823 | static const Function glBlendColor = GLMessage_Function_glBlendColor; |
| 824 | static const Function glBlendEquation = GLMessage_Function_glBlendEquation; |
| 825 | static const Function glBlendEquationOES = GLMessage_Function_glBlendEquationOES; |
| 826 | static const Function glBlendEquationSeparate = GLMessage_Function_glBlendEquationSeparate; |
| 827 | static const Function glBlendEquationSeparateOES = GLMessage_Function_glBlendEquationSeparateOES; |
| 828 | static const Function glBlendFunc = GLMessage_Function_glBlendFunc; |
| 829 | static const Function glBlendFuncSeparate = GLMessage_Function_glBlendFuncSeparate; |
| 830 | static const Function glBlendFuncSeparateOES = GLMessage_Function_glBlendFuncSeparateOES; |
| 831 | static const Function glBufferData = GLMessage_Function_glBufferData; |
| 832 | static const Function glBufferSubData = GLMessage_Function_glBufferSubData; |
| 833 | static const Function glCheckFramebufferStatus = GLMessage_Function_glCheckFramebufferStatus; |
| 834 | static const Function glCheckFramebufferStatusOES = GLMessage_Function_glCheckFramebufferStatusOES; |
| 835 | static const Function glClearColor = GLMessage_Function_glClearColor; |
| 836 | static const Function glClearColorx = GLMessage_Function_glClearColorx; |
| 837 | static const Function glClearColorxOES = GLMessage_Function_glClearColorxOES; |
| 838 | static const Function glClearDepthf = GLMessage_Function_glClearDepthf; |
| 839 | static const Function glClearDepthfOES = GLMessage_Function_glClearDepthfOES; |
| 840 | static const Function glClearDepthx = GLMessage_Function_glClearDepthx; |
| 841 | static const Function glClearDepthxOES = GLMessage_Function_glClearDepthxOES; |
| 842 | static const Function glClear = GLMessage_Function_glClear; |
| 843 | static const Function glClearStencil = GLMessage_Function_glClearStencil; |
| 844 | static const Function glClientActiveTexture = GLMessage_Function_glClientActiveTexture; |
| 845 | static const Function glClipPlanef = GLMessage_Function_glClipPlanef; |
| 846 | static const Function glClipPlanefIMG = GLMessage_Function_glClipPlanefIMG; |
| 847 | static const Function glClipPlanefOES = GLMessage_Function_glClipPlanefOES; |
| 848 | static const Function glClipPlanex = GLMessage_Function_glClipPlanex; |
| 849 | static const Function glClipPlanexIMG = GLMessage_Function_glClipPlanexIMG; |
| 850 | static const Function glClipPlanexOES = GLMessage_Function_glClipPlanexOES; |
| 851 | static const Function glColor4f = GLMessage_Function_glColor4f; |
| 852 | static const Function glColor4ub = GLMessage_Function_glColor4ub; |
| 853 | static const Function glColor4x = GLMessage_Function_glColor4x; |
| 854 | static const Function glColor4xOES = GLMessage_Function_glColor4xOES; |
| 855 | static const Function glColorMask = GLMessage_Function_glColorMask; |
| 856 | static const Function glColorPointer = GLMessage_Function_glColorPointer; |
| 857 | static const Function glCompileShader = GLMessage_Function_glCompileShader; |
| 858 | static const Function glCompressedTexImage2D = GLMessage_Function_glCompressedTexImage2D; |
| 859 | static const Function glCompressedTexImage3DOES = GLMessage_Function_glCompressedTexImage3DOES; |
| 860 | static const Function glCompressedTexSubImage2D = GLMessage_Function_glCompressedTexSubImage2D; |
| 861 | static const Function glCompressedTexSubImage3DOES = GLMessage_Function_glCompressedTexSubImage3DOES; |
| 862 | static const Function glCopyTexImage2D = GLMessage_Function_glCopyTexImage2D; |
| 863 | static const Function glCopyTexSubImage2D = GLMessage_Function_glCopyTexSubImage2D; |
| 864 | static const Function glCopyTexSubImage3DOES = GLMessage_Function_glCopyTexSubImage3DOES; |
| 865 | static const Function glCoverageMaskNV = GLMessage_Function_glCoverageMaskNV; |
| 866 | static const Function glCoverageOperationNV = GLMessage_Function_glCoverageOperationNV; |
| 867 | static const Function glCreateProgram = GLMessage_Function_glCreateProgram; |
| 868 | static const Function glCreateShader = GLMessage_Function_glCreateShader; |
| 869 | static const Function glCullFace = GLMessage_Function_glCullFace; |
| 870 | static const Function glCurrentPaletteMatrixOES = GLMessage_Function_glCurrentPaletteMatrixOES; |
| 871 | static const Function glDeleteBuffers = GLMessage_Function_glDeleteBuffers; |
| 872 | static const Function glDeleteFencesNV = GLMessage_Function_glDeleteFencesNV; |
| 873 | static const Function glDeleteFramebuffers = GLMessage_Function_glDeleteFramebuffers; |
| 874 | static const Function glDeleteFramebuffersOES = GLMessage_Function_glDeleteFramebuffersOES; |
| 875 | static const Function glDeletePerfMonitorsAMD = GLMessage_Function_glDeletePerfMonitorsAMD; |
| 876 | static const Function glDeleteProgram = GLMessage_Function_glDeleteProgram; |
| 877 | static const Function glDeleteRenderbuffers = GLMessage_Function_glDeleteRenderbuffers; |
| 878 | static const Function glDeleteRenderbuffersOES = GLMessage_Function_glDeleteRenderbuffersOES; |
| 879 | static const Function glDeleteShader = GLMessage_Function_glDeleteShader; |
| 880 | static const Function glDeleteTextures = GLMessage_Function_glDeleteTextures; |
| 881 | static const Function glDeleteVertexArraysOES = GLMessage_Function_glDeleteVertexArraysOES; |
| 882 | static const Function glDepthFunc = GLMessage_Function_glDepthFunc; |
| 883 | static const Function glDepthMask = GLMessage_Function_glDepthMask; |
| 884 | static const Function glDepthRangef = GLMessage_Function_glDepthRangef; |
| 885 | static const Function glDepthRangefOES = GLMessage_Function_glDepthRangefOES; |
| 886 | static const Function glDepthRangex = GLMessage_Function_glDepthRangex; |
| 887 | static const Function glDepthRangexOES = GLMessage_Function_glDepthRangexOES; |
| 888 | static const Function glDetachShader = GLMessage_Function_glDetachShader; |
| 889 | static const Function glDisableClientState = GLMessage_Function_glDisableClientState; |
| 890 | static const Function glDisableDriverControlQCOM = GLMessage_Function_glDisableDriverControlQCOM; |
| 891 | static const Function glDisable = GLMessage_Function_glDisable; |
| 892 | static const Function glDisableVertexAttribArray = GLMessage_Function_glDisableVertexAttribArray; |
| 893 | static const Function glDiscardFramebufferEXT = GLMessage_Function_glDiscardFramebufferEXT; |
| 894 | static const Function glDrawArrays = GLMessage_Function_glDrawArrays; |
| 895 | static const Function glDrawElements = GLMessage_Function_glDrawElements; |
| 896 | static const Function glDrawTexfOES = GLMessage_Function_glDrawTexfOES; |
| 897 | static const Function glDrawTexfvOES = GLMessage_Function_glDrawTexfvOES; |
| 898 | static const Function glDrawTexiOES = GLMessage_Function_glDrawTexiOES; |
| 899 | static const Function glDrawTexivOES = GLMessage_Function_glDrawTexivOES; |
| 900 | static const Function glDrawTexsOES = GLMessage_Function_glDrawTexsOES; |
| 901 | static const Function glDrawTexsvOES = GLMessage_Function_glDrawTexsvOES; |
| 902 | static const Function glDrawTexxOES = GLMessage_Function_glDrawTexxOES; |
| 903 | static const Function glDrawTexxvOES = GLMessage_Function_glDrawTexxvOES; |
| 904 | static const Function glEGLImageTargetRenderbufferStorageOES = GLMessage_Function_glEGLImageTargetRenderbufferStorageOES; |
| 905 | static const Function glEGLImageTargetTexture2DOES = GLMessage_Function_glEGLImageTargetTexture2DOES; |
| 906 | static const Function glEnableClientState = GLMessage_Function_glEnableClientState; |
| 907 | static const Function glEnableDriverControlQCOM = GLMessage_Function_glEnableDriverControlQCOM; |
| 908 | static const Function glEnable = GLMessage_Function_glEnable; |
| 909 | static const Function glEnableVertexAttribArray = GLMessage_Function_glEnableVertexAttribArray; |
| 910 | static const Function glEndPerfMonitorAMD = GLMessage_Function_glEndPerfMonitorAMD; |
| 911 | static const Function glEndTilingQCOM = GLMessage_Function_glEndTilingQCOM; |
| 912 | static const Function glExtGetBufferPointervQCOM = GLMessage_Function_glExtGetBufferPointervQCOM; |
| 913 | static const Function glExtGetBuffersQCOM = GLMessage_Function_glExtGetBuffersQCOM; |
| 914 | static const Function glExtGetFramebuffersQCOM = GLMessage_Function_glExtGetFramebuffersQCOM; |
| 915 | static const Function glExtGetProgramBinarySourceQCOM = GLMessage_Function_glExtGetProgramBinarySourceQCOM; |
| 916 | static const Function glExtGetProgramsQCOM = GLMessage_Function_glExtGetProgramsQCOM; |
| 917 | static const Function glExtGetRenderbuffersQCOM = GLMessage_Function_glExtGetRenderbuffersQCOM; |
| 918 | static const Function glExtGetShadersQCOM = GLMessage_Function_glExtGetShadersQCOM; |
| 919 | static const Function glExtGetTexLevelParameterivQCOM = GLMessage_Function_glExtGetTexLevelParameterivQCOM; |
| 920 | static const Function glExtGetTexSubImageQCOM = GLMessage_Function_glExtGetTexSubImageQCOM; |
| 921 | static const Function glExtGetTexturesQCOM = GLMessage_Function_glExtGetTexturesQCOM; |
| 922 | static const Function glExtIsProgramBinaryQCOM = GLMessage_Function_glExtIsProgramBinaryQCOM; |
| 923 | static const Function glExtTexObjectStateOverrideiQCOM = GLMessage_Function_glExtTexObjectStateOverrideiQCOM; |
| 924 | static const Function glFinishFenceNV = GLMessage_Function_glFinishFenceNV; |
| 925 | static const Function glFinish = GLMessage_Function_glFinish; |
| 926 | static const Function glFlush = GLMessage_Function_glFlush; |
| 927 | static const Function glFogf = GLMessage_Function_glFogf; |
| 928 | static const Function glFogfv = GLMessage_Function_glFogfv; |
| 929 | static const Function glFogx = GLMessage_Function_glFogx; |
| 930 | static const Function glFogxOES = GLMessage_Function_glFogxOES; |
| 931 | static const Function glFogxv = GLMessage_Function_glFogxv; |
| 932 | static const Function glFogxvOES = GLMessage_Function_glFogxvOES; |
| 933 | static const Function glFramebufferRenderbuffer = GLMessage_Function_glFramebufferRenderbuffer; |
| 934 | static const Function glFramebufferRenderbufferOES = GLMessage_Function_glFramebufferRenderbufferOES; |
| 935 | static const Function glFramebufferTexture2D = GLMessage_Function_glFramebufferTexture2D; |
| 936 | static const Function glFramebufferTexture2DMultisampleIMG = GLMessage_Function_glFramebufferTexture2DMultisampleIMG; |
| 937 | static const Function glFramebufferTexture2DOES = GLMessage_Function_glFramebufferTexture2DOES; |
| 938 | static const Function glFramebufferTexture3DOES = GLMessage_Function_glFramebufferTexture3DOES; |
| 939 | static const Function glFrontFace = GLMessage_Function_glFrontFace; |
| 940 | static const Function glFrustumf = GLMessage_Function_glFrustumf; |
| 941 | static const Function glFrustumfOES = GLMessage_Function_glFrustumfOES; |
| 942 | static const Function glFrustumx = GLMessage_Function_glFrustumx; |
| 943 | static const Function glFrustumxOES = GLMessage_Function_glFrustumxOES; |
| 944 | static const Function glGenBuffers = GLMessage_Function_glGenBuffers; |
| 945 | static const Function glGenerateMipmap = GLMessage_Function_glGenerateMipmap; |
| 946 | static const Function glGenerateMipmapOES = GLMessage_Function_glGenerateMipmapOES; |
| 947 | static const Function glGenFencesNV = GLMessage_Function_glGenFencesNV; |
| 948 | static const Function glGenFramebuffers = GLMessage_Function_glGenFramebuffers; |
| 949 | static const Function glGenFramebuffersOES = GLMessage_Function_glGenFramebuffersOES; |
| 950 | static const Function glGenPerfMonitorsAMD = GLMessage_Function_glGenPerfMonitorsAMD; |
| 951 | static const Function glGenRenderbuffers = GLMessage_Function_glGenRenderbuffers; |
| 952 | static const Function glGenRenderbuffersOES = GLMessage_Function_glGenRenderbuffersOES; |
| 953 | static const Function glGenTextures = GLMessage_Function_glGenTextures; |
| 954 | static const Function glGenVertexArraysOES = GLMessage_Function_glGenVertexArraysOES; |
| 955 | static const Function glGetActiveAttrib = GLMessage_Function_glGetActiveAttrib; |
| 956 | static const Function glGetActiveUniform = GLMessage_Function_glGetActiveUniform; |
| 957 | static const Function glGetAttachedShaders = GLMessage_Function_glGetAttachedShaders; |
| 958 | static const Function glGetAttribLocation = GLMessage_Function_glGetAttribLocation; |
| 959 | static const Function glGetBooleanv = GLMessage_Function_glGetBooleanv; |
| 960 | static const Function glGetBufferParameteriv = GLMessage_Function_glGetBufferParameteriv; |
| 961 | static const Function glGetBufferPointervOES = GLMessage_Function_glGetBufferPointervOES; |
| 962 | static const Function glGetClipPlanef = GLMessage_Function_glGetClipPlanef; |
| 963 | static const Function glGetClipPlanefOES = GLMessage_Function_glGetClipPlanefOES; |
| 964 | static const Function glGetClipPlanex = GLMessage_Function_glGetClipPlanex; |
| 965 | static const Function glGetClipPlanexOES = GLMessage_Function_glGetClipPlanexOES; |
| 966 | static const Function glGetDriverControlsQCOM = GLMessage_Function_glGetDriverControlsQCOM; |
| 967 | static const Function glGetDriverControlStringQCOM = GLMessage_Function_glGetDriverControlStringQCOM; |
| 968 | static const Function glGetError = GLMessage_Function_glGetError; |
| 969 | static const Function glGetFenceivNV = GLMessage_Function_glGetFenceivNV; |
| 970 | static const Function glGetFixedv = GLMessage_Function_glGetFixedv; |
| 971 | static const Function glGetFixedvOES = GLMessage_Function_glGetFixedvOES; |
| 972 | static const Function glGetFloatv = GLMessage_Function_glGetFloatv; |
| 973 | static const Function glGetFramebufferAttachmentParameteriv = GLMessage_Function_glGetFramebufferAttachmentParameteriv; |
| 974 | static const Function glGetFramebufferAttachmentParameterivOES = GLMessage_Function_glGetFramebufferAttachmentParameterivOES; |
| 975 | static const Function glGetIntegerv = GLMessage_Function_glGetIntegerv; |
| 976 | static const Function glGetLightfv = GLMessage_Function_glGetLightfv; |
| 977 | static const Function glGetLightxv = GLMessage_Function_glGetLightxv; |
| 978 | static const Function glGetLightxvOES = GLMessage_Function_glGetLightxvOES; |
| 979 | static const Function glGetMaterialfv = GLMessage_Function_glGetMaterialfv; |
| 980 | static const Function glGetMaterialxv = GLMessage_Function_glGetMaterialxv; |
| 981 | static const Function glGetMaterialxvOES = GLMessage_Function_glGetMaterialxvOES; |
| 982 | static const Function glGetPerfMonitorCounterDataAMD = GLMessage_Function_glGetPerfMonitorCounterDataAMD; |
| 983 | static const Function glGetPerfMonitorCounterInfoAMD = GLMessage_Function_glGetPerfMonitorCounterInfoAMD; |
| 984 | static const Function glGetPerfMonitorCountersAMD = GLMessage_Function_glGetPerfMonitorCountersAMD; |
| 985 | static const Function glGetPerfMonitorCounterStringAMD = GLMessage_Function_glGetPerfMonitorCounterStringAMD; |
| 986 | static const Function glGetPerfMonitorGroupsAMD = GLMessage_Function_glGetPerfMonitorGroupsAMD; |
| 987 | static const Function glGetPerfMonitorGroupStringAMD = GLMessage_Function_glGetPerfMonitorGroupStringAMD; |
| 988 | static const Function glGetPointerv = GLMessage_Function_glGetPointerv; |
| 989 | static const Function glGetProgramBinaryOES = GLMessage_Function_glGetProgramBinaryOES; |
| 990 | static const Function glGetProgramInfoLog = GLMessage_Function_glGetProgramInfoLog; |
| 991 | static const Function glGetProgramiv = GLMessage_Function_glGetProgramiv; |
| 992 | static const Function glGetRenderbufferParameteriv = GLMessage_Function_glGetRenderbufferParameteriv; |
| 993 | static const Function glGetRenderbufferParameterivOES = GLMessage_Function_glGetRenderbufferParameterivOES; |
| 994 | static const Function glGetShaderInfoLog = GLMessage_Function_glGetShaderInfoLog; |
| 995 | static const Function glGetShaderiv = GLMessage_Function_glGetShaderiv; |
| 996 | static const Function glGetShaderPrecisionFormat = GLMessage_Function_glGetShaderPrecisionFormat; |
| 997 | static const Function glGetShaderSource = GLMessage_Function_glGetShaderSource; |
| 998 | static const Function glGetString = GLMessage_Function_glGetString; |
| 999 | static const Function glGetTexEnvfv = GLMessage_Function_glGetTexEnvfv; |
| 1000 | static const Function glGetTexEnviv = GLMessage_Function_glGetTexEnviv; |
| 1001 | static const Function glGetTexEnvxv = GLMessage_Function_glGetTexEnvxv; |
| 1002 | static const Function glGetTexEnvxvOES = GLMessage_Function_glGetTexEnvxvOES; |
| 1003 | static const Function glGetTexGenfvOES = GLMessage_Function_glGetTexGenfvOES; |
| 1004 | static const Function glGetTexGenivOES = GLMessage_Function_glGetTexGenivOES; |
| 1005 | static const Function glGetTexGenxvOES = GLMessage_Function_glGetTexGenxvOES; |
| 1006 | static const Function glGetTexParameterfv = GLMessage_Function_glGetTexParameterfv; |
| 1007 | static const Function glGetTexParameteriv = GLMessage_Function_glGetTexParameteriv; |
| 1008 | static const Function glGetTexParameterxv = GLMessage_Function_glGetTexParameterxv; |
| 1009 | static const Function glGetTexParameterxvOES = GLMessage_Function_glGetTexParameterxvOES; |
| 1010 | static const Function glGetUniformfv = GLMessage_Function_glGetUniformfv; |
| 1011 | static const Function glGetUniformiv = GLMessage_Function_glGetUniformiv; |
| 1012 | static const Function glGetUniformLocation = GLMessage_Function_glGetUniformLocation; |
| 1013 | static const Function glGetVertexAttribfv = GLMessage_Function_glGetVertexAttribfv; |
| 1014 | static const Function glGetVertexAttribiv = GLMessage_Function_glGetVertexAttribiv; |
| 1015 | static const Function glGetVertexAttribPointerv = GLMessage_Function_glGetVertexAttribPointerv; |
| 1016 | static const Function glHint = GLMessage_Function_glHint; |
| 1017 | static const Function glIsBuffer = GLMessage_Function_glIsBuffer; |
| 1018 | static const Function glIsEnabled = GLMessage_Function_glIsEnabled; |
| 1019 | static const Function glIsFenceNV = GLMessage_Function_glIsFenceNV; |
| 1020 | static const Function glIsFramebuffer = GLMessage_Function_glIsFramebuffer; |
| 1021 | static const Function glIsFramebufferOES = GLMessage_Function_glIsFramebufferOES; |
| 1022 | static const Function glIsProgram = GLMessage_Function_glIsProgram; |
| 1023 | static const Function glIsRenderbuffer = GLMessage_Function_glIsRenderbuffer; |
| 1024 | static const Function glIsRenderbufferOES = GLMessage_Function_glIsRenderbufferOES; |
| 1025 | static const Function glIsShader = GLMessage_Function_glIsShader; |
| 1026 | static const Function glIsTexture = GLMessage_Function_glIsTexture; |
| 1027 | static const Function glIsVertexArrayOES = GLMessage_Function_glIsVertexArrayOES; |
| 1028 | static const Function glLightf = GLMessage_Function_glLightf; |
| 1029 | static const Function glLightfv = GLMessage_Function_glLightfv; |
| 1030 | static const Function glLightModelf = GLMessage_Function_glLightModelf; |
| 1031 | static const Function glLightModelfv = GLMessage_Function_glLightModelfv; |
| 1032 | static const Function glLightModelx = GLMessage_Function_glLightModelx; |
| 1033 | static const Function glLightModelxOES = GLMessage_Function_glLightModelxOES; |
| 1034 | static const Function glLightModelxv = GLMessage_Function_glLightModelxv; |
| 1035 | static const Function glLightModelxvOES = GLMessage_Function_glLightModelxvOES; |
| 1036 | static const Function glLightx = GLMessage_Function_glLightx; |
| 1037 | static const Function glLightxOES = GLMessage_Function_glLightxOES; |
| 1038 | static const Function glLightxv = GLMessage_Function_glLightxv; |
| 1039 | static const Function glLightxvOES = GLMessage_Function_glLightxvOES; |
| 1040 | static const Function glLineWidth = GLMessage_Function_glLineWidth; |
| 1041 | static const Function glLineWidthx = GLMessage_Function_glLineWidthx; |
| 1042 | static const Function glLineWidthxOES = GLMessage_Function_glLineWidthxOES; |
| 1043 | static const Function glLinkProgram = GLMessage_Function_glLinkProgram; |
| 1044 | static const Function glLoadIdentity = GLMessage_Function_glLoadIdentity; |
| 1045 | static const Function glLoadMatrixf = GLMessage_Function_glLoadMatrixf; |
| 1046 | static const Function glLoadMatrixx = GLMessage_Function_glLoadMatrixx; |
| 1047 | static const Function glLoadMatrixxOES = GLMessage_Function_glLoadMatrixxOES; |
| 1048 | static const Function glLoadPaletteFromModelViewMatrixOES = GLMessage_Function_glLoadPaletteFromModelViewMatrixOES; |
| 1049 | static const Function glLogicOp = GLMessage_Function_glLogicOp; |
| 1050 | static const Function glMapBufferOES = GLMessage_Function_glMapBufferOES; |
| 1051 | static const Function glMaterialf = GLMessage_Function_glMaterialf; |
| 1052 | static const Function glMaterialfv = GLMessage_Function_glMaterialfv; |
| 1053 | static const Function glMaterialx = GLMessage_Function_glMaterialx; |
| 1054 | static const Function glMaterialxOES = GLMessage_Function_glMaterialxOES; |
| 1055 | static const Function glMaterialxv = GLMessage_Function_glMaterialxv; |
| 1056 | static const Function glMaterialxvOES = GLMessage_Function_glMaterialxvOES; |
| 1057 | static const Function glMatrixIndexPointerOES = GLMessage_Function_glMatrixIndexPointerOES; |
| 1058 | static const Function glMatrixMode = GLMessage_Function_glMatrixMode; |
| 1059 | static const Function glMultiDrawArraysEXT = GLMessage_Function_glMultiDrawArraysEXT; |
| 1060 | static const Function glMultiDrawElementsEXT = GLMessage_Function_glMultiDrawElementsEXT; |
| 1061 | static const Function glMultiTexCoord4f = GLMessage_Function_glMultiTexCoord4f; |
| 1062 | static const Function glMultiTexCoord4x = GLMessage_Function_glMultiTexCoord4x; |
| 1063 | static const Function glMultiTexCoord4xOES = GLMessage_Function_glMultiTexCoord4xOES; |
| 1064 | static const Function glMultMatrixf = GLMessage_Function_glMultMatrixf; |
| 1065 | static const Function glMultMatrixx = GLMessage_Function_glMultMatrixx; |
| 1066 | static const Function glMultMatrixxOES = GLMessage_Function_glMultMatrixxOES; |
| 1067 | static const Function glNormal3f = GLMessage_Function_glNormal3f; |
| 1068 | static const Function glNormal3x = GLMessage_Function_glNormal3x; |
| 1069 | static const Function glNormal3xOES = GLMessage_Function_glNormal3xOES; |
| 1070 | static const Function glNormalPointer = GLMessage_Function_glNormalPointer; |
| 1071 | static const Function glOrthof = GLMessage_Function_glOrthof; |
| 1072 | static const Function glOrthofOES = GLMessage_Function_glOrthofOES; |
| 1073 | static const Function glOrthox = GLMessage_Function_glOrthox; |
| 1074 | static const Function glOrthoxOES = GLMessage_Function_glOrthoxOES; |
| 1075 | static const Function glPixelStorei = GLMessage_Function_glPixelStorei; |
| 1076 | static const Function glPointParameterf = GLMessage_Function_glPointParameterf; |
| 1077 | static const Function glPointParameterfv = GLMessage_Function_glPointParameterfv; |
| 1078 | static const Function glPointParameterx = GLMessage_Function_glPointParameterx; |
| 1079 | static const Function glPointParameterxOES = GLMessage_Function_glPointParameterxOES; |
| 1080 | static const Function glPointParameterxv = GLMessage_Function_glPointParameterxv; |
| 1081 | static const Function glPointParameterxvOES = GLMessage_Function_glPointParameterxvOES; |
| 1082 | static const Function glPointSize = GLMessage_Function_glPointSize; |
| 1083 | static const Function glPointSizePointerOES = GLMessage_Function_glPointSizePointerOES; |
| 1084 | static const Function glPointSizex = GLMessage_Function_glPointSizex; |
| 1085 | static const Function glPointSizexOES = GLMessage_Function_glPointSizexOES; |
| 1086 | static const Function glPolygonOffset = GLMessage_Function_glPolygonOffset; |
| 1087 | static const Function glPolygonOffsetx = GLMessage_Function_glPolygonOffsetx; |
| 1088 | static const Function glPolygonOffsetxOES = GLMessage_Function_glPolygonOffsetxOES; |
| 1089 | static const Function glPopMatrix = GLMessage_Function_glPopMatrix; |
| 1090 | static const Function glProgramBinaryOES = GLMessage_Function_glProgramBinaryOES; |
| 1091 | static const Function glPushMatrix = GLMessage_Function_glPushMatrix; |
| 1092 | static const Function glQueryMatrixxOES = GLMessage_Function_glQueryMatrixxOES; |
| 1093 | static const Function glReadPixels = GLMessage_Function_glReadPixels; |
| 1094 | static const Function glReleaseShaderCompiler = GLMessage_Function_glReleaseShaderCompiler; |
| 1095 | static const Function glRenderbufferStorage = GLMessage_Function_glRenderbufferStorage; |
| 1096 | static const Function glRenderbufferStorageMultisampleIMG = GLMessage_Function_glRenderbufferStorageMultisampleIMG; |
| 1097 | static const Function glRenderbufferStorageOES = GLMessage_Function_glRenderbufferStorageOES; |
| 1098 | static const Function glRotatef = GLMessage_Function_glRotatef; |
| 1099 | static const Function glRotatex = GLMessage_Function_glRotatex; |
| 1100 | static const Function glRotatexOES = GLMessage_Function_glRotatexOES; |
| 1101 | static const Function glSampleCoverage = GLMessage_Function_glSampleCoverage; |
| 1102 | static const Function glSampleCoveragex = GLMessage_Function_glSampleCoveragex; |
| 1103 | static const Function glSampleCoveragexOES = GLMessage_Function_glSampleCoveragexOES; |
| 1104 | static const Function glScalef = GLMessage_Function_glScalef; |
| 1105 | static const Function glScalex = GLMessage_Function_glScalex; |
| 1106 | static const Function glScalexOES = GLMessage_Function_glScalexOES; |
| 1107 | static const Function glScissor = GLMessage_Function_glScissor; |
| 1108 | static const Function glSelectPerfMonitorCountersAMD = GLMessage_Function_glSelectPerfMonitorCountersAMD; |
| 1109 | static const Function glSetFenceNV = GLMessage_Function_glSetFenceNV; |
| 1110 | static const Function glShadeModel = GLMessage_Function_glShadeModel; |
| 1111 | static const Function glShaderBinary = GLMessage_Function_glShaderBinary; |
| 1112 | static const Function glShaderSource = GLMessage_Function_glShaderSource; |
| 1113 | static const Function glStartTilingQCOM = GLMessage_Function_glStartTilingQCOM; |
| 1114 | static const Function glStencilFunc = GLMessage_Function_glStencilFunc; |
| 1115 | static const Function glStencilFuncSeparate = GLMessage_Function_glStencilFuncSeparate; |
| 1116 | static const Function glStencilMask = GLMessage_Function_glStencilMask; |
| 1117 | static const Function glStencilMaskSeparate = GLMessage_Function_glStencilMaskSeparate; |
| 1118 | static const Function glStencilOp = GLMessage_Function_glStencilOp; |
| 1119 | static const Function glStencilOpSeparate = GLMessage_Function_glStencilOpSeparate; |
| 1120 | static const Function glTestFenceNV = GLMessage_Function_glTestFenceNV; |
| 1121 | static const Function glTexCoordPointer = GLMessage_Function_glTexCoordPointer; |
| 1122 | static const Function glTexEnvf = GLMessage_Function_glTexEnvf; |
| 1123 | static const Function glTexEnvfv = GLMessage_Function_glTexEnvfv; |
| 1124 | static const Function glTexEnvi = GLMessage_Function_glTexEnvi; |
| 1125 | static const Function glTexEnviv = GLMessage_Function_glTexEnviv; |
| 1126 | static const Function glTexEnvx = GLMessage_Function_glTexEnvx; |
| 1127 | static const Function glTexEnvxOES = GLMessage_Function_glTexEnvxOES; |
| 1128 | static const Function glTexEnvxv = GLMessage_Function_glTexEnvxv; |
| 1129 | static const Function glTexEnvxvOES = GLMessage_Function_glTexEnvxvOES; |
| 1130 | static const Function glTexGenfOES = GLMessage_Function_glTexGenfOES; |
| 1131 | static const Function glTexGenfvOES = GLMessage_Function_glTexGenfvOES; |
| 1132 | static const Function glTexGeniOES = GLMessage_Function_glTexGeniOES; |
| 1133 | static const Function glTexGenivOES = GLMessage_Function_glTexGenivOES; |
| 1134 | static const Function glTexGenxOES = GLMessage_Function_glTexGenxOES; |
| 1135 | static const Function glTexGenxvOES = GLMessage_Function_glTexGenxvOES; |
| 1136 | static const Function glTexImage2D = GLMessage_Function_glTexImage2D; |
| 1137 | static const Function glTexImage3DOES = GLMessage_Function_glTexImage3DOES; |
| 1138 | static const Function glTexParameterf = GLMessage_Function_glTexParameterf; |
| 1139 | static const Function glTexParameterfv = GLMessage_Function_glTexParameterfv; |
| 1140 | static const Function glTexParameteri = GLMessage_Function_glTexParameteri; |
| 1141 | static const Function glTexParameteriv = GLMessage_Function_glTexParameteriv; |
| 1142 | static const Function glTexParameterx = GLMessage_Function_glTexParameterx; |
| 1143 | static const Function glTexParameterxOES = GLMessage_Function_glTexParameterxOES; |
| 1144 | static const Function glTexParameterxv = GLMessage_Function_glTexParameterxv; |
| 1145 | static const Function glTexParameterxvOES = GLMessage_Function_glTexParameterxvOES; |
| 1146 | static const Function glTexSubImage2D = GLMessage_Function_glTexSubImage2D; |
| 1147 | static const Function glTexSubImage3DOES = GLMessage_Function_glTexSubImage3DOES; |
| 1148 | static const Function glTranslatef = GLMessage_Function_glTranslatef; |
| 1149 | static const Function glTranslatex = GLMessage_Function_glTranslatex; |
| 1150 | static const Function glTranslatexOES = GLMessage_Function_glTranslatexOES; |
| 1151 | static const Function glUniform1f = GLMessage_Function_glUniform1f; |
| 1152 | static const Function glUniform1fv = GLMessage_Function_glUniform1fv; |
| 1153 | static const Function glUniform1i = GLMessage_Function_glUniform1i; |
| 1154 | static const Function glUniform1iv = GLMessage_Function_glUniform1iv; |
| 1155 | static const Function glUniform2f = GLMessage_Function_glUniform2f; |
| 1156 | static const Function glUniform2fv = GLMessage_Function_glUniform2fv; |
| 1157 | static const Function glUniform2i = GLMessage_Function_glUniform2i; |
| 1158 | static const Function glUniform2iv = GLMessage_Function_glUniform2iv; |
| 1159 | static const Function glUniform3f = GLMessage_Function_glUniform3f; |
| 1160 | static const Function glUniform3fv = GLMessage_Function_glUniform3fv; |
| 1161 | static const Function glUniform3i = GLMessage_Function_glUniform3i; |
| 1162 | static const Function glUniform3iv = GLMessage_Function_glUniform3iv; |
| 1163 | static const Function glUniform4f = GLMessage_Function_glUniform4f; |
| 1164 | static const Function glUniform4fv = GLMessage_Function_glUniform4fv; |
| 1165 | static const Function glUniform4i = GLMessage_Function_glUniform4i; |
| 1166 | static const Function glUniform4iv = GLMessage_Function_glUniform4iv; |
| 1167 | static const Function glUniformMatrix2fv = GLMessage_Function_glUniformMatrix2fv; |
| 1168 | static const Function glUniformMatrix3fv = GLMessage_Function_glUniformMatrix3fv; |
| 1169 | static const Function glUniformMatrix4fv = GLMessage_Function_glUniformMatrix4fv; |
| 1170 | static const Function glUnmapBufferOES = GLMessage_Function_glUnmapBufferOES; |
| 1171 | static const Function glUseProgram = GLMessage_Function_glUseProgram; |
| 1172 | static const Function glValidateProgram = GLMessage_Function_glValidateProgram; |
| 1173 | static const Function glVertexAttrib1f = GLMessage_Function_glVertexAttrib1f; |
| 1174 | static const Function glVertexAttrib1fv = GLMessage_Function_glVertexAttrib1fv; |
| 1175 | static const Function glVertexAttrib2f = GLMessage_Function_glVertexAttrib2f; |
| 1176 | static const Function glVertexAttrib2fv = GLMessage_Function_glVertexAttrib2fv; |
| 1177 | static const Function glVertexAttrib3f = GLMessage_Function_glVertexAttrib3f; |
| 1178 | static const Function glVertexAttrib3fv = GLMessage_Function_glVertexAttrib3fv; |
| 1179 | static const Function glVertexAttrib4f = GLMessage_Function_glVertexAttrib4f; |
| 1180 | static const Function glVertexAttrib4fv = GLMessage_Function_glVertexAttrib4fv; |
| 1181 | static const Function glVertexAttribPointer = GLMessage_Function_glVertexAttribPointer; |
| 1182 | static const Function glVertexPointer = GLMessage_Function_glVertexPointer; |
| 1183 | static const Function glViewport = GLMessage_Function_glViewport; |
| 1184 | static const Function glWeightPointerOES = GLMessage_Function_glWeightPointerOES; |
| 1185 | static const Function eglGetDisplay = GLMessage_Function_eglGetDisplay; |
| 1186 | static const Function eglInitialize = GLMessage_Function_eglInitialize; |
| 1187 | static const Function eglTerminate = GLMessage_Function_eglTerminate; |
| 1188 | static const Function eglGetConfigs = GLMessage_Function_eglGetConfigs; |
| 1189 | static const Function eglChooseConfig = GLMessage_Function_eglChooseConfig; |
| 1190 | static const Function eglGetConfigAttrib = GLMessage_Function_eglGetConfigAttrib; |
| 1191 | static const Function eglCreateWindowSurface = GLMessage_Function_eglCreateWindowSurface; |
| 1192 | static const Function eglCreatePixmapSurface = GLMessage_Function_eglCreatePixmapSurface; |
| 1193 | static const Function eglCreatePbufferSurface = GLMessage_Function_eglCreatePbufferSurface; |
| 1194 | static const Function eglDestroySurface = GLMessage_Function_eglDestroySurface; |
| 1195 | static const Function eglQuerySurface = GLMessage_Function_eglQuerySurface; |
| 1196 | static const Function eglCreateContext = GLMessage_Function_eglCreateContext; |
| 1197 | static const Function eglDestroyContext = GLMessage_Function_eglDestroyContext; |
| 1198 | static const Function eglMakeCurrent = GLMessage_Function_eglMakeCurrent; |
| 1199 | static const Function eglGetCurrentContext = GLMessage_Function_eglGetCurrentContext; |
| 1200 | static const Function eglGetCurrentSurface = GLMessage_Function_eglGetCurrentSurface; |
| 1201 | static const Function eglGetCurrentDisplay = GLMessage_Function_eglGetCurrentDisplay; |
| 1202 | static const Function eglQueryContext = GLMessage_Function_eglQueryContext; |
| 1203 | static const Function eglWaitGL = GLMessage_Function_eglWaitGL; |
| 1204 | static const Function eglWaitNative = GLMessage_Function_eglWaitNative; |
| 1205 | static const Function eglSwapBuffers = GLMessage_Function_eglSwapBuffers; |
| 1206 | static const Function eglCopyBuffers = GLMessage_Function_eglCopyBuffers; |
| 1207 | static const Function eglGetError = GLMessage_Function_eglGetError; |
| 1208 | static const Function eglQueryString = GLMessage_Function_eglQueryString; |
| 1209 | static const Function eglGetProcAddress = GLMessage_Function_eglGetProcAddress; |
| 1210 | static const Function eglSurfaceAttrib = GLMessage_Function_eglSurfaceAttrib; |
| 1211 | static const Function eglBindTexImage = GLMessage_Function_eglBindTexImage; |
| 1212 | static const Function eglReleaseTexImage = GLMessage_Function_eglReleaseTexImage; |
| 1213 | static const Function eglSwapInterval = GLMessage_Function_eglSwapInterval; |
| 1214 | static const Function eglBindAPI = GLMessage_Function_eglBindAPI; |
| 1215 | static const Function eglQueryAPI = GLMessage_Function_eglQueryAPI; |
| 1216 | static const Function eglWaitClient = GLMessage_Function_eglWaitClient; |
| 1217 | static const Function eglReleaseThread = GLMessage_Function_eglReleaseThread; |
| 1218 | static const Function eglCreatePbufferFromClientBuffer = GLMessage_Function_eglCreatePbufferFromClientBuffer; |
| 1219 | static const Function eglLockSurfaceKHR = GLMessage_Function_eglLockSurfaceKHR; |
| 1220 | static const Function eglUnlockSurfaceKHR = GLMessage_Function_eglUnlockSurfaceKHR; |
| 1221 | static const Function eglCreateImageKHR = GLMessage_Function_eglCreateImageKHR; |
| 1222 | static const Function eglDestroyImageKHR = GLMessage_Function_eglDestroyImageKHR; |
| 1223 | static const Function eglCreateSyncKHR = GLMessage_Function_eglCreateSyncKHR; |
| 1224 | static const Function eglDestroySyncKHR = GLMessage_Function_eglDestroySyncKHR; |
| 1225 | static const Function eglClientWaitSyncKHR = GLMessage_Function_eglClientWaitSyncKHR; |
| 1226 | static const Function eglGetSyncAttribKHR = GLMessage_Function_eglGetSyncAttribKHR; |
| 1227 | static const Function eglSetSwapRectangleANDROID = GLMessage_Function_eglSetSwapRectangleANDROID; |
| 1228 | static const Function eglGetRenderBufferANDROID = GLMessage_Function_eglGetRenderBufferANDROID; |
| 1229 | static const Function eglGetSystemTimeFrequencyNV = GLMessage_Function_eglGetSystemTimeFrequencyNV; |
| 1230 | static const Function eglGetSystemTimeNV = GLMessage_Function_eglGetSystemTimeNV; |
| 1231 | static const Function invalid = GLMessage_Function_invalid; |
| 1232 | static const Function frameBufferContents = GLMessage_Function_frameBufferContents; |
| 1233 | static inline bool Function_IsValid(int value) { |
| 1234 | return GLMessage_Function_IsValid(value); |
| 1235 | } |
| 1236 | static const Function Function_MIN = |
| 1237 | GLMessage_Function_Function_MIN; |
| 1238 | static const Function Function_MAX = |
| 1239 | GLMessage_Function_Function_MAX; |
| 1240 | static const int Function_ARRAYSIZE = |
| 1241 | GLMessage_Function_Function_ARRAYSIZE; |
| 1242 | |
| 1243 | // accessors ------------------------------------------------------- |
| 1244 | |
| 1245 | // required int32 context_id = 1; |
| 1246 | inline bool has_context_id() const; |
| 1247 | inline void clear_context_id(); |
| 1248 | static const int kContextIdFieldNumber = 1; |
| 1249 | inline ::google::protobuf::int32 context_id() const; |
| 1250 | inline void set_context_id(::google::protobuf::int32 value); |
| 1251 | |
| 1252 | // required .android.gltrace.GLMessage.Function function = 2 [default = invalid]; |
| 1253 | inline bool has_function() const; |
| 1254 | inline void clear_function(); |
| 1255 | static const int kFunctionFieldNumber = 2; |
| 1256 | inline ::android::gltrace::GLMessage_Function function() const; |
| 1257 | inline void set_function(::android::gltrace::GLMessage_Function value); |
| 1258 | |
| 1259 | // repeated .android.gltrace.GLMessage.DataType args = 3; |
| 1260 | inline int args_size() const; |
| 1261 | inline void clear_args(); |
| 1262 | static const int kArgsFieldNumber = 3; |
| 1263 | inline const ::android::gltrace::GLMessage_DataType& args(int index) const; |
| 1264 | inline ::android::gltrace::GLMessage_DataType* mutable_args(int index); |
| 1265 | inline ::android::gltrace::GLMessage_DataType* add_args(); |
| 1266 | inline const ::google::protobuf::RepeatedPtrField< ::android::gltrace::GLMessage_DataType >& |
| 1267 | args() const; |
| 1268 | inline ::google::protobuf::RepeatedPtrField< ::android::gltrace::GLMessage_DataType >* |
| 1269 | mutable_args(); |
| 1270 | |
| 1271 | // optional .android.gltrace.GLMessage.DataType returnValue = 4; |
| 1272 | inline bool has_returnvalue() const; |
| 1273 | inline void clear_returnvalue(); |
| 1274 | static const int kReturnValueFieldNumber = 4; |
| 1275 | inline const ::android::gltrace::GLMessage_DataType& returnvalue() const; |
| 1276 | inline ::android::gltrace::GLMessage_DataType* mutable_returnvalue(); |
| 1277 | |
| 1278 | // optional float duration = 5; |
| 1279 | inline bool has_duration() const; |
| 1280 | inline void clear_duration(); |
| 1281 | static const int kDurationFieldNumber = 5; |
| 1282 | inline float duration() const; |
| 1283 | inline void set_duration(float value); |
| 1284 | |
Siva Velusamy | c0f838f | 2011-12-05 11:12:31 -0800 | [diff] [blame] | 1285 | // optional .android.gltrace.GLMessage.FrameBuffer fb = 6; |
| 1286 | inline bool has_fb() const; |
| 1287 | inline void clear_fb(); |
| 1288 | static const int kFbFieldNumber = 6; |
| 1289 | inline const ::android::gltrace::GLMessage_FrameBuffer& fb() const; |
| 1290 | inline ::android::gltrace::GLMessage_FrameBuffer* mutable_fb(); |
| 1291 | |
Siva Velusamy | db97468 | 2011-11-30 15:05:37 -0800 | [diff] [blame] | 1292 | // @@protoc_insertion_point(class_scope:android.gltrace.GLMessage) |
| 1293 | private: |
| 1294 | mutable int _cached_size_; |
| 1295 | |
| 1296 | ::google::protobuf::int32 context_id_; |
| 1297 | int function_; |
| 1298 | ::google::protobuf::RepeatedPtrField< ::android::gltrace::GLMessage_DataType > args_; |
| 1299 | ::android::gltrace::GLMessage_DataType* returnvalue_; |
| 1300 | float duration_; |
Siva Velusamy | c0f838f | 2011-12-05 11:12:31 -0800 | [diff] [blame] | 1301 | ::android::gltrace::GLMessage_FrameBuffer* fb_; |
Siva Velusamy | db97468 | 2011-11-30 15:05:37 -0800 | [diff] [blame] | 1302 | friend void protobuf_AddDesc_gltrace_2eproto(); |
| 1303 | friend void protobuf_AssignDesc_gltrace_2eproto(); |
| 1304 | friend void protobuf_ShutdownFile_gltrace_2eproto(); |
| 1305 | |
Siva Velusamy | c0f838f | 2011-12-05 11:12:31 -0800 | [diff] [blame] | 1306 | ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32]; |
Siva Velusamy | db97468 | 2011-11-30 15:05:37 -0800 | [diff] [blame] | 1307 | |
| 1308 | // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? |
| 1309 | inline bool _has_bit(int index) const { |
| 1310 | return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; |
| 1311 | } |
| 1312 | inline void _set_bit(int index) { |
| 1313 | _has_bits_[index / 32] |= (1u << (index % 32)); |
| 1314 | } |
| 1315 | inline void _clear_bit(int index) { |
| 1316 | _has_bits_[index / 32] &= ~(1u << (index % 32)); |
| 1317 | } |
| 1318 | |
| 1319 | void InitAsDefaultInstance(); |
| 1320 | static GLMessage* default_instance_; |
| 1321 | }; |
| 1322 | // =================================================================== |
| 1323 | |
| 1324 | |
| 1325 | // =================================================================== |
| 1326 | |
| 1327 | // GLMessage_DataType |
| 1328 | |
| 1329 | // required .android.gltrace.GLMessage.DataType.Type type = 1 [default = VOID]; |
| 1330 | inline bool GLMessage_DataType::has_type() const { |
| 1331 | return _has_bit(0); |
| 1332 | } |
| 1333 | inline void GLMessage_DataType::clear_type() { |
| 1334 | type_ = 1; |
| 1335 | _clear_bit(0); |
| 1336 | } |
| 1337 | inline ::android::gltrace::GLMessage_DataType_Type GLMessage_DataType::type() const { |
| 1338 | return static_cast< ::android::gltrace::GLMessage_DataType_Type >(type_); |
| 1339 | } |
| 1340 | inline void GLMessage_DataType::set_type(::android::gltrace::GLMessage_DataType_Type value) { |
| 1341 | GOOGLE_DCHECK(::android::gltrace::GLMessage_DataType_Type_IsValid(value)); |
| 1342 | _set_bit(0); |
| 1343 | type_ = value; |
| 1344 | } |
| 1345 | |
| 1346 | // required bool isArray = 2 [default = false]; |
| 1347 | inline bool GLMessage_DataType::has_isarray() const { |
| 1348 | return _has_bit(1); |
| 1349 | } |
| 1350 | inline void GLMessage_DataType::clear_isarray() { |
| 1351 | isarray_ = false; |
| 1352 | _clear_bit(1); |
| 1353 | } |
| 1354 | inline bool GLMessage_DataType::isarray() const { |
| 1355 | return isarray_; |
| 1356 | } |
| 1357 | inline void GLMessage_DataType::set_isarray(bool value) { |
| 1358 | _set_bit(1); |
| 1359 | isarray_ = value; |
| 1360 | } |
| 1361 | |
| 1362 | // repeated int32 intValue = 3; |
| 1363 | inline int GLMessage_DataType::intvalue_size() const { |
| 1364 | return intvalue_.size(); |
| 1365 | } |
| 1366 | inline void GLMessage_DataType::clear_intvalue() { |
| 1367 | intvalue_.Clear(); |
| 1368 | } |
| 1369 | inline ::google::protobuf::int32 GLMessage_DataType::intvalue(int index) const { |
| 1370 | return intvalue_.Get(index); |
| 1371 | } |
| 1372 | inline void GLMessage_DataType::set_intvalue(int index, ::google::protobuf::int32 value) { |
| 1373 | intvalue_.Set(index, value); |
| 1374 | } |
| 1375 | inline void GLMessage_DataType::add_intvalue(::google::protobuf::int32 value) { |
| 1376 | intvalue_.Add(value); |
| 1377 | } |
| 1378 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& |
| 1379 | GLMessage_DataType::intvalue() const { |
| 1380 | return intvalue_; |
| 1381 | } |
| 1382 | inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
| 1383 | GLMessage_DataType::mutable_intvalue() { |
| 1384 | return &intvalue_; |
| 1385 | } |
| 1386 | |
| 1387 | // repeated float floatValue = 4; |
| 1388 | inline int GLMessage_DataType::floatvalue_size() const { |
| 1389 | return floatvalue_.size(); |
| 1390 | } |
| 1391 | inline void GLMessage_DataType::clear_floatvalue() { |
| 1392 | floatvalue_.Clear(); |
| 1393 | } |
| 1394 | inline float GLMessage_DataType::floatvalue(int index) const { |
| 1395 | return floatvalue_.Get(index); |
| 1396 | } |
| 1397 | inline void GLMessage_DataType::set_floatvalue(int index, float value) { |
| 1398 | floatvalue_.Set(index, value); |
| 1399 | } |
| 1400 | inline void GLMessage_DataType::add_floatvalue(float value) { |
| 1401 | floatvalue_.Add(value); |
| 1402 | } |
| 1403 | inline const ::google::protobuf::RepeatedField< float >& |
| 1404 | GLMessage_DataType::floatvalue() const { |
| 1405 | return floatvalue_; |
| 1406 | } |
| 1407 | inline ::google::protobuf::RepeatedField< float >* |
| 1408 | GLMessage_DataType::mutable_floatvalue() { |
| 1409 | return &floatvalue_; |
| 1410 | } |
| 1411 | |
| 1412 | // repeated bytes charValue = 5; |
| 1413 | inline int GLMessage_DataType::charvalue_size() const { |
| 1414 | return charvalue_.size(); |
| 1415 | } |
| 1416 | inline void GLMessage_DataType::clear_charvalue() { |
| 1417 | charvalue_.Clear(); |
| 1418 | } |
| 1419 | inline const ::std::string& GLMessage_DataType::charvalue(int index) const { |
| 1420 | return charvalue_.Get(index); |
| 1421 | } |
| 1422 | inline ::std::string* GLMessage_DataType::mutable_charvalue(int index) { |
| 1423 | return charvalue_.Mutable(index); |
| 1424 | } |
| 1425 | inline void GLMessage_DataType::set_charvalue(int index, const ::std::string& value) { |
| 1426 | charvalue_.Mutable(index)->assign(value); |
| 1427 | } |
| 1428 | inline void GLMessage_DataType::set_charvalue(int index, const char* value) { |
| 1429 | charvalue_.Mutable(index)->assign(value); |
| 1430 | } |
| 1431 | inline void GLMessage_DataType::set_charvalue(int index, const void* value, size_t size) { |
| 1432 | charvalue_.Mutable(index)->assign( |
| 1433 | reinterpret_cast<const char*>(value), size); |
| 1434 | } |
| 1435 | inline ::std::string* GLMessage_DataType::add_charvalue() { |
| 1436 | return charvalue_.Add(); |
| 1437 | } |
| 1438 | inline void GLMessage_DataType::add_charvalue(const ::std::string& value) { |
| 1439 | charvalue_.Add()->assign(value); |
| 1440 | } |
| 1441 | inline void GLMessage_DataType::add_charvalue(const char* value) { |
| 1442 | charvalue_.Add()->assign(value); |
| 1443 | } |
| 1444 | inline void GLMessage_DataType::add_charvalue(const void* value, size_t size) { |
| 1445 | charvalue_.Add()->assign(reinterpret_cast<const char*>(value), size); |
| 1446 | } |
| 1447 | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
| 1448 | GLMessage_DataType::charvalue() const { |
| 1449 | return charvalue_; |
| 1450 | } |
| 1451 | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
| 1452 | GLMessage_DataType::mutable_charvalue() { |
| 1453 | return &charvalue_; |
| 1454 | } |
| 1455 | |
| 1456 | // repeated bytes rawBytes = 6; |
| 1457 | inline int GLMessage_DataType::rawbytes_size() const { |
| 1458 | return rawbytes_.size(); |
| 1459 | } |
| 1460 | inline void GLMessage_DataType::clear_rawbytes() { |
| 1461 | rawbytes_.Clear(); |
| 1462 | } |
| 1463 | inline const ::std::string& GLMessage_DataType::rawbytes(int index) const { |
| 1464 | return rawbytes_.Get(index); |
| 1465 | } |
| 1466 | inline ::std::string* GLMessage_DataType::mutable_rawbytes(int index) { |
| 1467 | return rawbytes_.Mutable(index); |
| 1468 | } |
| 1469 | inline void GLMessage_DataType::set_rawbytes(int index, const ::std::string& value) { |
| 1470 | rawbytes_.Mutable(index)->assign(value); |
| 1471 | } |
| 1472 | inline void GLMessage_DataType::set_rawbytes(int index, const char* value) { |
| 1473 | rawbytes_.Mutable(index)->assign(value); |
| 1474 | } |
| 1475 | inline void GLMessage_DataType::set_rawbytes(int index, const void* value, size_t size) { |
| 1476 | rawbytes_.Mutable(index)->assign( |
| 1477 | reinterpret_cast<const char*>(value), size); |
| 1478 | } |
| 1479 | inline ::std::string* GLMessage_DataType::add_rawbytes() { |
| 1480 | return rawbytes_.Add(); |
| 1481 | } |
| 1482 | inline void GLMessage_DataType::add_rawbytes(const ::std::string& value) { |
| 1483 | rawbytes_.Add()->assign(value); |
| 1484 | } |
| 1485 | inline void GLMessage_DataType::add_rawbytes(const char* value) { |
| 1486 | rawbytes_.Add()->assign(value); |
| 1487 | } |
| 1488 | inline void GLMessage_DataType::add_rawbytes(const void* value, size_t size) { |
| 1489 | rawbytes_.Add()->assign(reinterpret_cast<const char*>(value), size); |
| 1490 | } |
| 1491 | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
| 1492 | GLMessage_DataType::rawbytes() const { |
| 1493 | return rawbytes_; |
| 1494 | } |
| 1495 | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
| 1496 | GLMessage_DataType::mutable_rawbytes() { |
| 1497 | return &rawbytes_; |
| 1498 | } |
| 1499 | |
| 1500 | // repeated bool boolValue = 7; |
| 1501 | inline int GLMessage_DataType::boolvalue_size() const { |
| 1502 | return boolvalue_.size(); |
| 1503 | } |
| 1504 | inline void GLMessage_DataType::clear_boolvalue() { |
| 1505 | boolvalue_.Clear(); |
| 1506 | } |
| 1507 | inline bool GLMessage_DataType::boolvalue(int index) const { |
| 1508 | return boolvalue_.Get(index); |
| 1509 | } |
| 1510 | inline void GLMessage_DataType::set_boolvalue(int index, bool value) { |
| 1511 | boolvalue_.Set(index, value); |
| 1512 | } |
| 1513 | inline void GLMessage_DataType::add_boolvalue(bool value) { |
| 1514 | boolvalue_.Add(value); |
| 1515 | } |
| 1516 | inline const ::google::protobuf::RepeatedField< bool >& |
| 1517 | GLMessage_DataType::boolvalue() const { |
| 1518 | return boolvalue_; |
| 1519 | } |
| 1520 | inline ::google::protobuf::RepeatedField< bool >* |
| 1521 | GLMessage_DataType::mutable_boolvalue() { |
| 1522 | return &boolvalue_; |
| 1523 | } |
| 1524 | |
| 1525 | // ------------------------------------------------------------------- |
| 1526 | |
Siva Velusamy | c0f838f | 2011-12-05 11:12:31 -0800 | [diff] [blame] | 1527 | // GLMessage_FrameBuffer |
| 1528 | |
| 1529 | // required int32 width = 1; |
| 1530 | inline bool GLMessage_FrameBuffer::has_width() const { |
| 1531 | return _has_bit(0); |
| 1532 | } |
| 1533 | inline void GLMessage_FrameBuffer::clear_width() { |
| 1534 | width_ = 0; |
| 1535 | _clear_bit(0); |
| 1536 | } |
| 1537 | inline ::google::protobuf::int32 GLMessage_FrameBuffer::width() const { |
| 1538 | return width_; |
| 1539 | } |
| 1540 | inline void GLMessage_FrameBuffer::set_width(::google::protobuf::int32 value) { |
| 1541 | _set_bit(0); |
| 1542 | width_ = value; |
| 1543 | } |
| 1544 | |
| 1545 | // required int32 height = 2; |
| 1546 | inline bool GLMessage_FrameBuffer::has_height() const { |
| 1547 | return _has_bit(1); |
| 1548 | } |
| 1549 | inline void GLMessage_FrameBuffer::clear_height() { |
| 1550 | height_ = 0; |
| 1551 | _clear_bit(1); |
| 1552 | } |
| 1553 | inline ::google::protobuf::int32 GLMessage_FrameBuffer::height() const { |
| 1554 | return height_; |
| 1555 | } |
| 1556 | inline void GLMessage_FrameBuffer::set_height(::google::protobuf::int32 value) { |
| 1557 | _set_bit(1); |
| 1558 | height_ = value; |
| 1559 | } |
| 1560 | |
| 1561 | // repeated bytes contents = 3; |
| 1562 | inline int GLMessage_FrameBuffer::contents_size() const { |
| 1563 | return contents_.size(); |
| 1564 | } |
| 1565 | inline void GLMessage_FrameBuffer::clear_contents() { |
| 1566 | contents_.Clear(); |
| 1567 | } |
| 1568 | inline const ::std::string& GLMessage_FrameBuffer::contents(int index) const { |
| 1569 | return contents_.Get(index); |
| 1570 | } |
| 1571 | inline ::std::string* GLMessage_FrameBuffer::mutable_contents(int index) { |
| 1572 | return contents_.Mutable(index); |
| 1573 | } |
| 1574 | inline void GLMessage_FrameBuffer::set_contents(int index, const ::std::string& value) { |
| 1575 | contents_.Mutable(index)->assign(value); |
| 1576 | } |
| 1577 | inline void GLMessage_FrameBuffer::set_contents(int index, const char* value) { |
| 1578 | contents_.Mutable(index)->assign(value); |
| 1579 | } |
| 1580 | inline void GLMessage_FrameBuffer::set_contents(int index, const void* value, size_t size) { |
| 1581 | contents_.Mutable(index)->assign( |
| 1582 | reinterpret_cast<const char*>(value), size); |
| 1583 | } |
| 1584 | inline ::std::string* GLMessage_FrameBuffer::add_contents() { |
| 1585 | return contents_.Add(); |
| 1586 | } |
| 1587 | inline void GLMessage_FrameBuffer::add_contents(const ::std::string& value) { |
| 1588 | contents_.Add()->assign(value); |
| 1589 | } |
| 1590 | inline void GLMessage_FrameBuffer::add_contents(const char* value) { |
| 1591 | contents_.Add()->assign(value); |
| 1592 | } |
| 1593 | inline void GLMessage_FrameBuffer::add_contents(const void* value, size_t size) { |
| 1594 | contents_.Add()->assign(reinterpret_cast<const char*>(value), size); |
| 1595 | } |
| 1596 | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
| 1597 | GLMessage_FrameBuffer::contents() const { |
| 1598 | return contents_; |
| 1599 | } |
| 1600 | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
| 1601 | GLMessage_FrameBuffer::mutable_contents() { |
| 1602 | return &contents_; |
| 1603 | } |
| 1604 | |
| 1605 | // ------------------------------------------------------------------- |
| 1606 | |
Siva Velusamy | db97468 | 2011-11-30 15:05:37 -0800 | [diff] [blame] | 1607 | // GLMessage |
| 1608 | |
| 1609 | // required int32 context_id = 1; |
| 1610 | inline bool GLMessage::has_context_id() const { |
| 1611 | return _has_bit(0); |
| 1612 | } |
| 1613 | inline void GLMessage::clear_context_id() { |
| 1614 | context_id_ = 0; |
| 1615 | _clear_bit(0); |
| 1616 | } |
| 1617 | inline ::google::protobuf::int32 GLMessage::context_id() const { |
| 1618 | return context_id_; |
| 1619 | } |
| 1620 | inline void GLMessage::set_context_id(::google::protobuf::int32 value) { |
| 1621 | _set_bit(0); |
| 1622 | context_id_ = value; |
| 1623 | } |
| 1624 | |
| 1625 | // required .android.gltrace.GLMessage.Function function = 2 [default = invalid]; |
| 1626 | inline bool GLMessage::has_function() const { |
| 1627 | return _has_bit(1); |
| 1628 | } |
| 1629 | inline void GLMessage::clear_function() { |
| 1630 | function_ = 3000; |
| 1631 | _clear_bit(1); |
| 1632 | } |
| 1633 | inline ::android::gltrace::GLMessage_Function GLMessage::function() const { |
| 1634 | return static_cast< ::android::gltrace::GLMessage_Function >(function_); |
| 1635 | } |
| 1636 | inline void GLMessage::set_function(::android::gltrace::GLMessage_Function value) { |
| 1637 | GOOGLE_DCHECK(::android::gltrace::GLMessage_Function_IsValid(value)); |
| 1638 | _set_bit(1); |
| 1639 | function_ = value; |
| 1640 | } |
| 1641 | |
| 1642 | // repeated .android.gltrace.GLMessage.DataType args = 3; |
| 1643 | inline int GLMessage::args_size() const { |
| 1644 | return args_.size(); |
| 1645 | } |
| 1646 | inline void GLMessage::clear_args() { |
| 1647 | args_.Clear(); |
| 1648 | } |
| 1649 | inline const ::android::gltrace::GLMessage_DataType& GLMessage::args(int index) const { |
| 1650 | return args_.Get(index); |
| 1651 | } |
| 1652 | inline ::android::gltrace::GLMessage_DataType* GLMessage::mutable_args(int index) { |
| 1653 | return args_.Mutable(index); |
| 1654 | } |
| 1655 | inline ::android::gltrace::GLMessage_DataType* GLMessage::add_args() { |
| 1656 | return args_.Add(); |
| 1657 | } |
| 1658 | inline const ::google::protobuf::RepeatedPtrField< ::android::gltrace::GLMessage_DataType >& |
| 1659 | GLMessage::args() const { |
| 1660 | return args_; |
| 1661 | } |
| 1662 | inline ::google::protobuf::RepeatedPtrField< ::android::gltrace::GLMessage_DataType >* |
| 1663 | GLMessage::mutable_args() { |
| 1664 | return &args_; |
| 1665 | } |
| 1666 | |
| 1667 | // optional .android.gltrace.GLMessage.DataType returnValue = 4; |
| 1668 | inline bool GLMessage::has_returnvalue() const { |
| 1669 | return _has_bit(3); |
| 1670 | } |
| 1671 | inline void GLMessage::clear_returnvalue() { |
| 1672 | if (returnvalue_ != NULL) returnvalue_->::android::gltrace::GLMessage_DataType::Clear(); |
| 1673 | _clear_bit(3); |
| 1674 | } |
| 1675 | inline const ::android::gltrace::GLMessage_DataType& GLMessage::returnvalue() const { |
| 1676 | return returnvalue_ != NULL ? *returnvalue_ : *default_instance_->returnvalue_; |
| 1677 | } |
| 1678 | inline ::android::gltrace::GLMessage_DataType* GLMessage::mutable_returnvalue() { |
| 1679 | _set_bit(3); |
| 1680 | if (returnvalue_ == NULL) returnvalue_ = new ::android::gltrace::GLMessage_DataType; |
| 1681 | return returnvalue_; |
| 1682 | } |
| 1683 | |
| 1684 | // optional float duration = 5; |
| 1685 | inline bool GLMessage::has_duration() const { |
| 1686 | return _has_bit(4); |
| 1687 | } |
| 1688 | inline void GLMessage::clear_duration() { |
| 1689 | duration_ = 0; |
| 1690 | _clear_bit(4); |
| 1691 | } |
| 1692 | inline float GLMessage::duration() const { |
| 1693 | return duration_; |
| 1694 | } |
| 1695 | inline void GLMessage::set_duration(float value) { |
| 1696 | _set_bit(4); |
| 1697 | duration_ = value; |
| 1698 | } |
| 1699 | |
Siva Velusamy | c0f838f | 2011-12-05 11:12:31 -0800 | [diff] [blame] | 1700 | // optional .android.gltrace.GLMessage.FrameBuffer fb = 6; |
| 1701 | inline bool GLMessage::has_fb() const { |
| 1702 | return _has_bit(5); |
| 1703 | } |
| 1704 | inline void GLMessage::clear_fb() { |
| 1705 | if (fb_ != NULL) fb_->::android::gltrace::GLMessage_FrameBuffer::Clear(); |
| 1706 | _clear_bit(5); |
| 1707 | } |
| 1708 | inline const ::android::gltrace::GLMessage_FrameBuffer& GLMessage::fb() const { |
| 1709 | return fb_ != NULL ? *fb_ : *default_instance_->fb_; |
| 1710 | } |
| 1711 | inline ::android::gltrace::GLMessage_FrameBuffer* GLMessage::mutable_fb() { |
| 1712 | _set_bit(5); |
| 1713 | if (fb_ == NULL) fb_ = new ::android::gltrace::GLMessage_FrameBuffer; |
| 1714 | return fb_; |
| 1715 | } |
| 1716 | |
Siva Velusamy | db97468 | 2011-11-30 15:05:37 -0800 | [diff] [blame] | 1717 | |
| 1718 | // @@protoc_insertion_point(namespace_scope) |
| 1719 | |
| 1720 | } // namespace gltrace |
| 1721 | } // namespace android |
| 1722 | |
| 1723 | // @@protoc_insertion_point(global_scope) |
| 1724 | |
| 1725 | #endif // PROTOBUF_gltrace_2eproto__INCLUDED |