David Li | 55c94cc | 2011-03-04 17:50:48 -0800 | [diff] [blame] | 1 | // Generated by the protocol buffer compiler. DO NOT EDIT! |
| 2 | // source: debugger_message.proto |
| 3 | |
| 4 | #ifndef PROTOBUF_debugger_5fmessage_2eproto__INCLUDED |
| 5 | #define PROTOBUF_debugger_5fmessage_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 com { |
| 28 | namespace android { |
| 29 | namespace glesv2debugger { |
| 30 | |
| 31 | // Internal implementation detail -- do not call these. |
| 32 | void protobuf_AddDesc_debugger_5fmessage_2eproto(); |
| 33 | void protobuf_AssignDesc_debugger_5fmessage_2eproto(); |
| 34 | void protobuf_ShutdownFile_debugger_5fmessage_2eproto(); |
| 35 | |
| 36 | class Message; |
| 37 | |
| 38 | enum Message_Function { |
| 39 | Message_Function_glActiveTexture = 0, |
| 40 | Message_Function_glAttachShader = 1, |
| 41 | Message_Function_glBindAttribLocation = 2, |
| 42 | Message_Function_glBindBuffer = 3, |
| 43 | Message_Function_glBindFramebuffer = 4, |
| 44 | Message_Function_glBindRenderbuffer = 5, |
| 45 | Message_Function_glBindTexture = 6, |
| 46 | Message_Function_glBlendColor = 7, |
| 47 | Message_Function_glBlendEquation = 8, |
| 48 | Message_Function_glBlendEquationSeparate = 9, |
| 49 | Message_Function_glBlendFunc = 10, |
| 50 | Message_Function_glBlendFuncSeparate = 11, |
| 51 | Message_Function_glBufferData = 12, |
| 52 | Message_Function_glBufferSubData = 13, |
| 53 | Message_Function_glCheckFramebufferStatus = 14, |
| 54 | Message_Function_glClear = 15, |
| 55 | Message_Function_glClearColor = 16, |
| 56 | Message_Function_glClearDepthf = 17, |
| 57 | Message_Function_glClearStencil = 18, |
| 58 | Message_Function_glColorMask = 19, |
| 59 | Message_Function_glCompileShader = 20, |
| 60 | Message_Function_glCompressedTexImage2D = 21, |
| 61 | Message_Function_glCompressedTexSubImage2D = 22, |
| 62 | Message_Function_glCopyTexImage2D = 23, |
| 63 | Message_Function_glCopyTexSubImage2D = 24, |
| 64 | Message_Function_glCreateProgram = 25, |
| 65 | Message_Function_glCreateShader = 26, |
| 66 | Message_Function_glCullFace = 27, |
| 67 | Message_Function_glDeleteBuffers = 28, |
| 68 | Message_Function_glDeleteFramebuffers = 29, |
| 69 | Message_Function_glDeleteProgram = 30, |
| 70 | Message_Function_glDeleteRenderbuffers = 31, |
| 71 | Message_Function_glDeleteShader = 32, |
| 72 | Message_Function_glDeleteTextures = 33, |
| 73 | Message_Function_glDepthFunc = 34, |
| 74 | Message_Function_glDepthMask = 35, |
| 75 | Message_Function_glDepthRangef = 36, |
| 76 | Message_Function_glDetachShader = 37, |
| 77 | Message_Function_glDisable = 38, |
| 78 | Message_Function_glDisableVertexAttribArray = 39, |
| 79 | Message_Function_glDrawArrays = 40, |
| 80 | Message_Function_glDrawElements = 41, |
| 81 | Message_Function_glEnable = 42, |
| 82 | Message_Function_glEnableVertexAttribArray = 43, |
| 83 | Message_Function_glFinish = 44, |
| 84 | Message_Function_glFlush = 45, |
| 85 | Message_Function_glFramebufferRenderbuffer = 46, |
| 86 | Message_Function_glFramebufferTexture2D = 47, |
| 87 | Message_Function_glFrontFace = 48, |
| 88 | Message_Function_glGenBuffers = 49, |
| 89 | Message_Function_glGenerateMipmap = 50, |
| 90 | Message_Function_glGenFramebuffers = 51, |
| 91 | Message_Function_glGenRenderbuffers = 52, |
| 92 | Message_Function_glGenTextures = 53, |
| 93 | Message_Function_glGetActiveAttrib = 54, |
| 94 | Message_Function_glGetActiveUniform = 55, |
| 95 | Message_Function_glGetAttachedShaders = 56, |
| 96 | Message_Function_glGetAttribLocation = 57, |
| 97 | Message_Function_glGetBooleanv = 58, |
| 98 | Message_Function_glGetBufferParameteriv = 59, |
| 99 | Message_Function_glGetError = 60, |
| 100 | Message_Function_glGetFloatv = 61, |
| 101 | Message_Function_glGetFramebufferAttachmentParameteriv = 62, |
| 102 | Message_Function_glGetIntegerv = 63, |
| 103 | Message_Function_glGetProgramiv = 64, |
| 104 | Message_Function_glGetProgramInfoLog = 65, |
| 105 | Message_Function_glGetRenderbufferParameteriv = 66, |
| 106 | Message_Function_glGetShaderiv = 67, |
| 107 | Message_Function_glGetShaderInfoLog = 68, |
| 108 | Message_Function_glGetShaderPrecisionFormat = 69, |
| 109 | Message_Function_glGetShaderSource = 70, |
| 110 | Message_Function_glGetString = 71, |
| 111 | Message_Function_glGetTexParameterfv = 72, |
| 112 | Message_Function_glGetTexParameteriv = 73, |
| 113 | Message_Function_glGetUniformfv = 74, |
| 114 | Message_Function_glGetUniformiv = 75, |
| 115 | Message_Function_glGetUniformLocation = 76, |
| 116 | Message_Function_glGetVertexAttribfv = 77, |
| 117 | Message_Function_glGetVertexAttribiv = 78, |
| 118 | Message_Function_glGetVertexAttribPointerv = 79, |
| 119 | Message_Function_glHint = 80, |
| 120 | Message_Function_glIsBuffer = 81, |
| 121 | Message_Function_glIsEnabled = 82, |
| 122 | Message_Function_glIsFramebuffer = 83, |
| 123 | Message_Function_glIsProgram = 84, |
| 124 | Message_Function_glIsRenderbuffer = 85, |
| 125 | Message_Function_glIsShader = 86, |
| 126 | Message_Function_glIsTexture = 87, |
| 127 | Message_Function_glLineWidth = 88, |
| 128 | Message_Function_glLinkProgram = 89, |
| 129 | Message_Function_glPixelStorei = 90, |
| 130 | Message_Function_glPolygonOffset = 91, |
| 131 | Message_Function_glReadPixels = 92, |
| 132 | Message_Function_glReleaseShaderCompiler = 93, |
| 133 | Message_Function_glRenderbufferStorage = 94, |
| 134 | Message_Function_glSampleCoverage = 95, |
| 135 | Message_Function_glScissor = 96, |
| 136 | Message_Function_glShaderBinary = 97, |
| 137 | Message_Function_glShaderSource = 98, |
| 138 | Message_Function_glStencilFunc = 99, |
| 139 | Message_Function_glStencilFuncSeparate = 100, |
| 140 | Message_Function_glStencilMask = 101, |
| 141 | Message_Function_glStencilMaskSeparate = 102, |
| 142 | Message_Function_glStencilOp = 103, |
| 143 | Message_Function_glStencilOpSeparate = 104, |
| 144 | Message_Function_glTexImage2D = 105, |
| 145 | Message_Function_glTexParameterf = 106, |
| 146 | Message_Function_glTexParameterfv = 107, |
| 147 | Message_Function_glTexParameteri = 108, |
| 148 | Message_Function_glTexParameteriv = 109, |
| 149 | Message_Function_glTexSubImage2D = 110, |
| 150 | Message_Function_glUniform1f = 111, |
| 151 | Message_Function_glUniform1fv = 112, |
| 152 | Message_Function_glUniform1i = 113, |
| 153 | Message_Function_glUniform1iv = 114, |
| 154 | Message_Function_glUniform2f = 115, |
| 155 | Message_Function_glUniform2fv = 116, |
| 156 | Message_Function_glUniform2i = 117, |
| 157 | Message_Function_glUniform2iv = 118, |
| 158 | Message_Function_glUniform3f = 119, |
| 159 | Message_Function_glUniform3fv = 120, |
| 160 | Message_Function_glUniform3i = 121, |
| 161 | Message_Function_glUniform3iv = 122, |
| 162 | Message_Function_glUniform4f = 123, |
| 163 | Message_Function_glUniform4fv = 124, |
| 164 | Message_Function_glUniform4i = 125, |
| 165 | Message_Function_glUniform4iv = 126, |
| 166 | Message_Function_glUniformMatrix2fv = 127, |
| 167 | Message_Function_glUniformMatrix3fv = 128, |
| 168 | Message_Function_glUniformMatrix4fv = 129, |
| 169 | Message_Function_glUseProgram = 130, |
| 170 | Message_Function_glValidateProgram = 131, |
| 171 | Message_Function_glVertexAttrib1f = 132, |
| 172 | Message_Function_glVertexAttrib1fv = 133, |
| 173 | Message_Function_glVertexAttrib2f = 134, |
| 174 | Message_Function_glVertexAttrib2fv = 135, |
| 175 | Message_Function_glVertexAttrib3f = 136, |
| 176 | Message_Function_glVertexAttrib3fv = 137, |
| 177 | Message_Function_glVertexAttrib4f = 138, |
| 178 | Message_Function_glVertexAttrib4fv = 139, |
| 179 | Message_Function_glVertexAttribPointer = 140, |
| 180 | Message_Function_glViewport = 141, |
| 181 | Message_Function_eglGetDisplay = 142, |
| 182 | Message_Function_eglInitialize = 143, |
| 183 | Message_Function_eglTerminate = 144, |
| 184 | Message_Function_eglGetConfigs = 145, |
| 185 | Message_Function_eglChooseConfig = 146, |
| 186 | Message_Function_eglGetConfigAttrib = 147, |
| 187 | Message_Function_eglCreateWindowSurface = 148, |
| 188 | Message_Function_eglCreatePixmapSurface = 149, |
| 189 | Message_Function_eglCreatePbufferSurface = 150, |
| 190 | Message_Function_eglDestroySurface = 151, |
| 191 | Message_Function_eglQuerySurface = 152, |
| 192 | Message_Function_eglCreateContext = 153, |
| 193 | Message_Function_eglDestroyContext = 154, |
| 194 | Message_Function_eglMakeCurrent = 155, |
| 195 | Message_Function_eglGetCurrentContext = 156, |
| 196 | Message_Function_eglGetCurrentSurface = 157, |
| 197 | Message_Function_eglGetCurrentDisplay = 158, |
| 198 | Message_Function_eglQueryContext = 159, |
| 199 | Message_Function_eglWaitGL = 160, |
| 200 | Message_Function_eglWaitNative = 161, |
| 201 | Message_Function_eglSwapBuffers = 162, |
| 202 | Message_Function_eglCopyBuffers = 163, |
| 203 | Message_Function_eglGetError = 164, |
| 204 | Message_Function_eglQueryString = 165, |
| 205 | Message_Function_eglGetProcAddress = 166, |
| 206 | Message_Function_eglSurfaceAttrib = 167, |
| 207 | Message_Function_eglBindTexImage = 168, |
| 208 | Message_Function_eglReleaseTexImage = 169, |
| 209 | Message_Function_eglSwapInterval = 170, |
| 210 | Message_Function_eglBindAPI = 171, |
| 211 | Message_Function_eglQueryAPI = 172, |
| 212 | Message_Function_eglWaitClient = 173, |
| 213 | Message_Function_eglReleaseThread = 174, |
| 214 | Message_Function_eglCreatePbufferFromClientBuffer = 175, |
| 215 | Message_Function_eglLockSurfaceKHR = 176, |
| 216 | Message_Function_eglUnlockSurfaceKHR = 177, |
| 217 | Message_Function_eglCreateImageKHR = 178, |
| 218 | Message_Function_eglDestroyImageKHR = 179, |
| 219 | Message_Function_eglCreateSyncKHR = 180, |
| 220 | Message_Function_eglDestroySyncKHR = 181, |
| 221 | Message_Function_eglClientWaitSyncKHR = 182, |
| 222 | Message_Function_eglGetSyncAttribKHR = 183, |
| 223 | Message_Function_eglSetSwapRectangleANDROID = 184, |
| 224 | Message_Function_eglGetRenderBufferANDROID = 185, |
| 225 | Message_Function_ACK = 186, |
| 226 | Message_Function_NEG = 187, |
| 227 | Message_Function_CONTINUE = 188, |
| 228 | Message_Function_SKIP = 189, |
David Li | 940c3f8 | 2011-03-10 19:07:42 -0800 | [diff] [blame] | 229 | Message_Function_SETPROP = 190 |
David Li | 55c94cc | 2011-03-04 17:50:48 -0800 | [diff] [blame] | 230 | }; |
| 231 | bool Message_Function_IsValid(int value); |
| 232 | const Message_Function Message_Function_Function_MIN = Message_Function_glActiveTexture; |
David Li | 940c3f8 | 2011-03-10 19:07:42 -0800 | [diff] [blame] | 233 | const Message_Function Message_Function_Function_MAX = Message_Function_SETPROP; |
David Li | 55c94cc | 2011-03-04 17:50:48 -0800 | [diff] [blame] | 234 | const int Message_Function_Function_ARRAYSIZE = Message_Function_Function_MAX + 1; |
| 235 | |
| 236 | enum Message_Type { |
| 237 | Message_Type_BeforeCall = 0, |
| 238 | Message_Type_AfterCall = 1, |
David Li | e2ad4d0 | 2011-04-08 18:41:00 -0700 | [diff] [blame] | 239 | Message_Type_AfterGeneratedCall = 2, |
David Li | 27f130a | 2011-04-08 18:43:16 -0700 | [diff] [blame] | 240 | Message_Type_Response = 3, |
| 241 | Message_Type_CompleteCall = 4 |
David Li | 55c94cc | 2011-03-04 17:50:48 -0800 | [diff] [blame] | 242 | }; |
| 243 | bool Message_Type_IsValid(int value); |
| 244 | const Message_Type Message_Type_Type_MIN = Message_Type_BeforeCall; |
David Li | 27f130a | 2011-04-08 18:43:16 -0700 | [diff] [blame] | 245 | const Message_Type Message_Type_Type_MAX = Message_Type_CompleteCall; |
David Li | 55c94cc | 2011-03-04 17:50:48 -0800 | [diff] [blame] | 246 | const int Message_Type_Type_ARRAYSIZE = Message_Type_Type_MAX + 1; |
| 247 | |
David Li | f9bc124 | 2011-03-22 18:42:03 -0700 | [diff] [blame] | 248 | enum Message_DataType { |
| 249 | Message_DataType_ReferencedImage = 0, |
| 250 | Message_DataType_NonreferencedImage = 1 |
| 251 | }; |
| 252 | bool Message_DataType_IsValid(int value); |
| 253 | const Message_DataType Message_DataType_DataType_MIN = Message_DataType_ReferencedImage; |
| 254 | const Message_DataType Message_DataType_DataType_MAX = Message_DataType_NonreferencedImage; |
| 255 | const int Message_DataType_DataType_ARRAYSIZE = Message_DataType_DataType_MAX + 1; |
| 256 | |
David Li | 55c94cc | 2011-03-04 17:50:48 -0800 | [diff] [blame] | 257 | enum Message_Prop { |
David Li | e7180e8 | 2011-04-08 18:45:45 -0700 | [diff] [blame] | 258 | Message_Prop_CaptureDraw = 0, |
David Li | fbfc703 | 2011-03-21 16:25:58 -0700 | [diff] [blame] | 259 | Message_Prop_TimeMode = 1, |
David Li | e7180e8 | 2011-04-08 18:45:45 -0700 | [diff] [blame] | 260 | Message_Prop_ExpectResponse = 2, |
David Li | 31918cc | 2011-04-15 15:35:10 -0700 | [diff] [blame] | 261 | Message_Prop_CaptureSwap = 3, |
| 262 | Message_Prop_GLConstant = 4 |
David Li | 55c94cc | 2011-03-04 17:50:48 -0800 | [diff] [blame] | 263 | }; |
| 264 | bool Message_Prop_IsValid(int value); |
David Li | e7180e8 | 2011-04-08 18:45:45 -0700 | [diff] [blame] | 265 | const Message_Prop Message_Prop_Prop_MIN = Message_Prop_CaptureDraw; |
David Li | 31918cc | 2011-04-15 15:35:10 -0700 | [diff] [blame] | 266 | const Message_Prop Message_Prop_Prop_MAX = Message_Prop_GLConstant; |
David Li | 55c94cc | 2011-03-04 17:50:48 -0800 | [diff] [blame] | 267 | const int Message_Prop_Prop_ARRAYSIZE = Message_Prop_Prop_MAX + 1; |
| 268 | |
| 269 | // =================================================================== |
| 270 | |
| 271 | class Message : public ::google::protobuf::MessageLite { |
| 272 | public: |
| 273 | Message(); |
| 274 | virtual ~Message(); |
| 275 | |
| 276 | Message(const Message& from); |
| 277 | |
| 278 | inline Message& operator=(const Message& from) { |
| 279 | CopyFrom(from); |
| 280 | return *this; |
| 281 | } |
| 282 | |
| 283 | static const Message& default_instance(); |
| 284 | |
| 285 | void Swap(Message* other); |
| 286 | |
| 287 | // implements Message ---------------------------------------------- |
| 288 | |
| 289 | Message* New() const; |
| 290 | void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); |
| 291 | void CopyFrom(const Message& from); |
| 292 | void MergeFrom(const Message& from); |
| 293 | void Clear(); |
| 294 | bool IsInitialized() const; |
| 295 | |
| 296 | int ByteSize() const; |
| 297 | bool MergePartialFromCodedStream( |
| 298 | ::google::protobuf::io::CodedInputStream* input); |
| 299 | void SerializeWithCachedSizes( |
| 300 | ::google::protobuf::io::CodedOutputStream* output) const; |
| 301 | int GetCachedSize() const { return _cached_size_; } |
| 302 | private: |
| 303 | void SharedCtor(); |
| 304 | void SharedDtor(); |
| 305 | void SetCachedSize(int size) const; |
| 306 | public: |
| 307 | |
| 308 | ::std::string GetTypeName() const; |
| 309 | |
| 310 | // nested types ---------------------------------------------------- |
| 311 | |
| 312 | typedef Message_Function Function; |
| 313 | static const Function glActiveTexture = Message_Function_glActiveTexture; |
| 314 | static const Function glAttachShader = Message_Function_glAttachShader; |
| 315 | static const Function glBindAttribLocation = Message_Function_glBindAttribLocation; |
| 316 | static const Function glBindBuffer = Message_Function_glBindBuffer; |
| 317 | static const Function glBindFramebuffer = Message_Function_glBindFramebuffer; |
| 318 | static const Function glBindRenderbuffer = Message_Function_glBindRenderbuffer; |
| 319 | static const Function glBindTexture = Message_Function_glBindTexture; |
| 320 | static const Function glBlendColor = Message_Function_glBlendColor; |
| 321 | static const Function glBlendEquation = Message_Function_glBlendEquation; |
| 322 | static const Function glBlendEquationSeparate = Message_Function_glBlendEquationSeparate; |
| 323 | static const Function glBlendFunc = Message_Function_glBlendFunc; |
| 324 | static const Function glBlendFuncSeparate = Message_Function_glBlendFuncSeparate; |
| 325 | static const Function glBufferData = Message_Function_glBufferData; |
| 326 | static const Function glBufferSubData = Message_Function_glBufferSubData; |
| 327 | static const Function glCheckFramebufferStatus = Message_Function_glCheckFramebufferStatus; |
| 328 | static const Function glClear = Message_Function_glClear; |
| 329 | static const Function glClearColor = Message_Function_glClearColor; |
| 330 | static const Function glClearDepthf = Message_Function_glClearDepthf; |
| 331 | static const Function glClearStencil = Message_Function_glClearStencil; |
| 332 | static const Function glColorMask = Message_Function_glColorMask; |
| 333 | static const Function glCompileShader = Message_Function_glCompileShader; |
| 334 | static const Function glCompressedTexImage2D = Message_Function_glCompressedTexImage2D; |
| 335 | static const Function glCompressedTexSubImage2D = Message_Function_glCompressedTexSubImage2D; |
| 336 | static const Function glCopyTexImage2D = Message_Function_glCopyTexImage2D; |
| 337 | static const Function glCopyTexSubImage2D = Message_Function_glCopyTexSubImage2D; |
| 338 | static const Function glCreateProgram = Message_Function_glCreateProgram; |
| 339 | static const Function glCreateShader = Message_Function_glCreateShader; |
| 340 | static const Function glCullFace = Message_Function_glCullFace; |
| 341 | static const Function glDeleteBuffers = Message_Function_glDeleteBuffers; |
| 342 | static const Function glDeleteFramebuffers = Message_Function_glDeleteFramebuffers; |
| 343 | static const Function glDeleteProgram = Message_Function_glDeleteProgram; |
| 344 | static const Function glDeleteRenderbuffers = Message_Function_glDeleteRenderbuffers; |
| 345 | static const Function glDeleteShader = Message_Function_glDeleteShader; |
| 346 | static const Function glDeleteTextures = Message_Function_glDeleteTextures; |
| 347 | static const Function glDepthFunc = Message_Function_glDepthFunc; |
| 348 | static const Function glDepthMask = Message_Function_glDepthMask; |
| 349 | static const Function glDepthRangef = Message_Function_glDepthRangef; |
| 350 | static const Function glDetachShader = Message_Function_glDetachShader; |
| 351 | static const Function glDisable = Message_Function_glDisable; |
| 352 | static const Function glDisableVertexAttribArray = Message_Function_glDisableVertexAttribArray; |
| 353 | static const Function glDrawArrays = Message_Function_glDrawArrays; |
| 354 | static const Function glDrawElements = Message_Function_glDrawElements; |
| 355 | static const Function glEnable = Message_Function_glEnable; |
| 356 | static const Function glEnableVertexAttribArray = Message_Function_glEnableVertexAttribArray; |
| 357 | static const Function glFinish = Message_Function_glFinish; |
| 358 | static const Function glFlush = Message_Function_glFlush; |
| 359 | static const Function glFramebufferRenderbuffer = Message_Function_glFramebufferRenderbuffer; |
| 360 | static const Function glFramebufferTexture2D = Message_Function_glFramebufferTexture2D; |
| 361 | static const Function glFrontFace = Message_Function_glFrontFace; |
| 362 | static const Function glGenBuffers = Message_Function_glGenBuffers; |
| 363 | static const Function glGenerateMipmap = Message_Function_glGenerateMipmap; |
| 364 | static const Function glGenFramebuffers = Message_Function_glGenFramebuffers; |
| 365 | static const Function glGenRenderbuffers = Message_Function_glGenRenderbuffers; |
| 366 | static const Function glGenTextures = Message_Function_glGenTextures; |
| 367 | static const Function glGetActiveAttrib = Message_Function_glGetActiveAttrib; |
| 368 | static const Function glGetActiveUniform = Message_Function_glGetActiveUniform; |
| 369 | static const Function glGetAttachedShaders = Message_Function_glGetAttachedShaders; |
| 370 | static const Function glGetAttribLocation = Message_Function_glGetAttribLocation; |
| 371 | static const Function glGetBooleanv = Message_Function_glGetBooleanv; |
| 372 | static const Function glGetBufferParameteriv = Message_Function_glGetBufferParameteriv; |
| 373 | static const Function glGetError = Message_Function_glGetError; |
| 374 | static const Function glGetFloatv = Message_Function_glGetFloatv; |
| 375 | static const Function glGetFramebufferAttachmentParameteriv = Message_Function_glGetFramebufferAttachmentParameteriv; |
| 376 | static const Function glGetIntegerv = Message_Function_glGetIntegerv; |
| 377 | static const Function glGetProgramiv = Message_Function_glGetProgramiv; |
| 378 | static const Function glGetProgramInfoLog = Message_Function_glGetProgramInfoLog; |
| 379 | static const Function glGetRenderbufferParameteriv = Message_Function_glGetRenderbufferParameteriv; |
| 380 | static const Function glGetShaderiv = Message_Function_glGetShaderiv; |
| 381 | static const Function glGetShaderInfoLog = Message_Function_glGetShaderInfoLog; |
| 382 | static const Function glGetShaderPrecisionFormat = Message_Function_glGetShaderPrecisionFormat; |
| 383 | static const Function glGetShaderSource = Message_Function_glGetShaderSource; |
| 384 | static const Function glGetString = Message_Function_glGetString; |
| 385 | static const Function glGetTexParameterfv = Message_Function_glGetTexParameterfv; |
| 386 | static const Function glGetTexParameteriv = Message_Function_glGetTexParameteriv; |
| 387 | static const Function glGetUniformfv = Message_Function_glGetUniformfv; |
| 388 | static const Function glGetUniformiv = Message_Function_glGetUniformiv; |
| 389 | static const Function glGetUniformLocation = Message_Function_glGetUniformLocation; |
| 390 | static const Function glGetVertexAttribfv = Message_Function_glGetVertexAttribfv; |
| 391 | static const Function glGetVertexAttribiv = Message_Function_glGetVertexAttribiv; |
| 392 | static const Function glGetVertexAttribPointerv = Message_Function_glGetVertexAttribPointerv; |
| 393 | static const Function glHint = Message_Function_glHint; |
| 394 | static const Function glIsBuffer = Message_Function_glIsBuffer; |
| 395 | static const Function glIsEnabled = Message_Function_glIsEnabled; |
| 396 | static const Function glIsFramebuffer = Message_Function_glIsFramebuffer; |
| 397 | static const Function glIsProgram = Message_Function_glIsProgram; |
| 398 | static const Function glIsRenderbuffer = Message_Function_glIsRenderbuffer; |
| 399 | static const Function glIsShader = Message_Function_glIsShader; |
| 400 | static const Function glIsTexture = Message_Function_glIsTexture; |
| 401 | static const Function glLineWidth = Message_Function_glLineWidth; |
| 402 | static const Function glLinkProgram = Message_Function_glLinkProgram; |
| 403 | static const Function glPixelStorei = Message_Function_glPixelStorei; |
| 404 | static const Function glPolygonOffset = Message_Function_glPolygonOffset; |
| 405 | static const Function glReadPixels = Message_Function_glReadPixels; |
| 406 | static const Function glReleaseShaderCompiler = Message_Function_glReleaseShaderCompiler; |
| 407 | static const Function glRenderbufferStorage = Message_Function_glRenderbufferStorage; |
| 408 | static const Function glSampleCoverage = Message_Function_glSampleCoverage; |
| 409 | static const Function glScissor = Message_Function_glScissor; |
| 410 | static const Function glShaderBinary = Message_Function_glShaderBinary; |
| 411 | static const Function glShaderSource = Message_Function_glShaderSource; |
| 412 | static const Function glStencilFunc = Message_Function_glStencilFunc; |
| 413 | static const Function glStencilFuncSeparate = Message_Function_glStencilFuncSeparate; |
| 414 | static const Function glStencilMask = Message_Function_glStencilMask; |
| 415 | static const Function glStencilMaskSeparate = Message_Function_glStencilMaskSeparate; |
| 416 | static const Function glStencilOp = Message_Function_glStencilOp; |
| 417 | static const Function glStencilOpSeparate = Message_Function_glStencilOpSeparate; |
| 418 | static const Function glTexImage2D = Message_Function_glTexImage2D; |
| 419 | static const Function glTexParameterf = Message_Function_glTexParameterf; |
| 420 | static const Function glTexParameterfv = Message_Function_glTexParameterfv; |
| 421 | static const Function glTexParameteri = Message_Function_glTexParameteri; |
| 422 | static const Function glTexParameteriv = Message_Function_glTexParameteriv; |
| 423 | static const Function glTexSubImage2D = Message_Function_glTexSubImage2D; |
| 424 | static const Function glUniform1f = Message_Function_glUniform1f; |
| 425 | static const Function glUniform1fv = Message_Function_glUniform1fv; |
| 426 | static const Function glUniform1i = Message_Function_glUniform1i; |
| 427 | static const Function glUniform1iv = Message_Function_glUniform1iv; |
| 428 | static const Function glUniform2f = Message_Function_glUniform2f; |
| 429 | static const Function glUniform2fv = Message_Function_glUniform2fv; |
| 430 | static const Function glUniform2i = Message_Function_glUniform2i; |
| 431 | static const Function glUniform2iv = Message_Function_glUniform2iv; |
| 432 | static const Function glUniform3f = Message_Function_glUniform3f; |
| 433 | static const Function glUniform3fv = Message_Function_glUniform3fv; |
| 434 | static const Function glUniform3i = Message_Function_glUniform3i; |
| 435 | static const Function glUniform3iv = Message_Function_glUniform3iv; |
| 436 | static const Function glUniform4f = Message_Function_glUniform4f; |
| 437 | static const Function glUniform4fv = Message_Function_glUniform4fv; |
| 438 | static const Function glUniform4i = Message_Function_glUniform4i; |
| 439 | static const Function glUniform4iv = Message_Function_glUniform4iv; |
| 440 | static const Function glUniformMatrix2fv = Message_Function_glUniformMatrix2fv; |
| 441 | static const Function glUniformMatrix3fv = Message_Function_glUniformMatrix3fv; |
| 442 | static const Function glUniformMatrix4fv = Message_Function_glUniformMatrix4fv; |
| 443 | static const Function glUseProgram = Message_Function_glUseProgram; |
| 444 | static const Function glValidateProgram = Message_Function_glValidateProgram; |
| 445 | static const Function glVertexAttrib1f = Message_Function_glVertexAttrib1f; |
| 446 | static const Function glVertexAttrib1fv = Message_Function_glVertexAttrib1fv; |
| 447 | static const Function glVertexAttrib2f = Message_Function_glVertexAttrib2f; |
| 448 | static const Function glVertexAttrib2fv = Message_Function_glVertexAttrib2fv; |
| 449 | static const Function glVertexAttrib3f = Message_Function_glVertexAttrib3f; |
| 450 | static const Function glVertexAttrib3fv = Message_Function_glVertexAttrib3fv; |
| 451 | static const Function glVertexAttrib4f = Message_Function_glVertexAttrib4f; |
| 452 | static const Function glVertexAttrib4fv = Message_Function_glVertexAttrib4fv; |
| 453 | static const Function glVertexAttribPointer = Message_Function_glVertexAttribPointer; |
| 454 | static const Function glViewport = Message_Function_glViewport; |
| 455 | static const Function eglGetDisplay = Message_Function_eglGetDisplay; |
| 456 | static const Function eglInitialize = Message_Function_eglInitialize; |
| 457 | static const Function eglTerminate = Message_Function_eglTerminate; |
| 458 | static const Function eglGetConfigs = Message_Function_eglGetConfigs; |
| 459 | static const Function eglChooseConfig = Message_Function_eglChooseConfig; |
| 460 | static const Function eglGetConfigAttrib = Message_Function_eglGetConfigAttrib; |
| 461 | static const Function eglCreateWindowSurface = Message_Function_eglCreateWindowSurface; |
| 462 | static const Function eglCreatePixmapSurface = Message_Function_eglCreatePixmapSurface; |
| 463 | static const Function eglCreatePbufferSurface = Message_Function_eglCreatePbufferSurface; |
| 464 | static const Function eglDestroySurface = Message_Function_eglDestroySurface; |
| 465 | static const Function eglQuerySurface = Message_Function_eglQuerySurface; |
| 466 | static const Function eglCreateContext = Message_Function_eglCreateContext; |
| 467 | static const Function eglDestroyContext = Message_Function_eglDestroyContext; |
| 468 | static const Function eglMakeCurrent = Message_Function_eglMakeCurrent; |
| 469 | static const Function eglGetCurrentContext = Message_Function_eglGetCurrentContext; |
| 470 | static const Function eglGetCurrentSurface = Message_Function_eglGetCurrentSurface; |
| 471 | static const Function eglGetCurrentDisplay = Message_Function_eglGetCurrentDisplay; |
| 472 | static const Function eglQueryContext = Message_Function_eglQueryContext; |
| 473 | static const Function eglWaitGL = Message_Function_eglWaitGL; |
| 474 | static const Function eglWaitNative = Message_Function_eglWaitNative; |
| 475 | static const Function eglSwapBuffers = Message_Function_eglSwapBuffers; |
| 476 | static const Function eglCopyBuffers = Message_Function_eglCopyBuffers; |
| 477 | static const Function eglGetError = Message_Function_eglGetError; |
| 478 | static const Function eglQueryString = Message_Function_eglQueryString; |
| 479 | static const Function eglGetProcAddress = Message_Function_eglGetProcAddress; |
| 480 | static const Function eglSurfaceAttrib = Message_Function_eglSurfaceAttrib; |
| 481 | static const Function eglBindTexImage = Message_Function_eglBindTexImage; |
| 482 | static const Function eglReleaseTexImage = Message_Function_eglReleaseTexImage; |
| 483 | static const Function eglSwapInterval = Message_Function_eglSwapInterval; |
| 484 | static const Function eglBindAPI = Message_Function_eglBindAPI; |
| 485 | static const Function eglQueryAPI = Message_Function_eglQueryAPI; |
| 486 | static const Function eglWaitClient = Message_Function_eglWaitClient; |
| 487 | static const Function eglReleaseThread = Message_Function_eglReleaseThread; |
| 488 | static const Function eglCreatePbufferFromClientBuffer = Message_Function_eglCreatePbufferFromClientBuffer; |
| 489 | static const Function eglLockSurfaceKHR = Message_Function_eglLockSurfaceKHR; |
| 490 | static const Function eglUnlockSurfaceKHR = Message_Function_eglUnlockSurfaceKHR; |
| 491 | static const Function eglCreateImageKHR = Message_Function_eglCreateImageKHR; |
| 492 | static const Function eglDestroyImageKHR = Message_Function_eglDestroyImageKHR; |
| 493 | static const Function eglCreateSyncKHR = Message_Function_eglCreateSyncKHR; |
| 494 | static const Function eglDestroySyncKHR = Message_Function_eglDestroySyncKHR; |
| 495 | static const Function eglClientWaitSyncKHR = Message_Function_eglClientWaitSyncKHR; |
| 496 | static const Function eglGetSyncAttribKHR = Message_Function_eglGetSyncAttribKHR; |
| 497 | static const Function eglSetSwapRectangleANDROID = Message_Function_eglSetSwapRectangleANDROID; |
| 498 | static const Function eglGetRenderBufferANDROID = Message_Function_eglGetRenderBufferANDROID; |
| 499 | static const Function ACK = Message_Function_ACK; |
| 500 | static const Function NEG = Message_Function_NEG; |
| 501 | static const Function CONTINUE = Message_Function_CONTINUE; |
| 502 | static const Function SKIP = Message_Function_SKIP; |
| 503 | static const Function SETPROP = Message_Function_SETPROP; |
David Li | 55c94cc | 2011-03-04 17:50:48 -0800 | [diff] [blame] | 504 | static inline bool Function_IsValid(int value) { |
| 505 | return Message_Function_IsValid(value); |
| 506 | } |
| 507 | static const Function Function_MIN = |
| 508 | Message_Function_Function_MIN; |
| 509 | static const Function Function_MAX = |
| 510 | Message_Function_Function_MAX; |
| 511 | static const int Function_ARRAYSIZE = |
| 512 | Message_Function_Function_ARRAYSIZE; |
| 513 | |
| 514 | typedef Message_Type Type; |
| 515 | static const Type BeforeCall = Message_Type_BeforeCall; |
| 516 | static const Type AfterCall = Message_Type_AfterCall; |
David Li | e2ad4d0 | 2011-04-08 18:41:00 -0700 | [diff] [blame] | 517 | static const Type AfterGeneratedCall = Message_Type_AfterGeneratedCall; |
David Li | 55c94cc | 2011-03-04 17:50:48 -0800 | [diff] [blame] | 518 | static const Type Response = Message_Type_Response; |
David Li | 27f130a | 2011-04-08 18:43:16 -0700 | [diff] [blame] | 519 | static const Type CompleteCall = Message_Type_CompleteCall; |
David Li | 55c94cc | 2011-03-04 17:50:48 -0800 | [diff] [blame] | 520 | static inline bool Type_IsValid(int value) { |
| 521 | return Message_Type_IsValid(value); |
| 522 | } |
| 523 | static const Type Type_MIN = |
| 524 | Message_Type_Type_MIN; |
| 525 | static const Type Type_MAX = |
| 526 | Message_Type_Type_MAX; |
| 527 | static const int Type_ARRAYSIZE = |
| 528 | Message_Type_Type_ARRAYSIZE; |
| 529 | |
David Li | f9bc124 | 2011-03-22 18:42:03 -0700 | [diff] [blame] | 530 | typedef Message_DataType DataType; |
| 531 | static const DataType ReferencedImage = Message_DataType_ReferencedImage; |
| 532 | static const DataType NonreferencedImage = Message_DataType_NonreferencedImage; |
| 533 | static inline bool DataType_IsValid(int value) { |
| 534 | return Message_DataType_IsValid(value); |
| 535 | } |
| 536 | static const DataType DataType_MIN = |
| 537 | Message_DataType_DataType_MIN; |
| 538 | static const DataType DataType_MAX = |
| 539 | Message_DataType_DataType_MAX; |
| 540 | static const int DataType_ARRAYSIZE = |
| 541 | Message_DataType_DataType_ARRAYSIZE; |
| 542 | |
David Li | 55c94cc | 2011-03-04 17:50:48 -0800 | [diff] [blame] | 543 | typedef Message_Prop Prop; |
David Li | e7180e8 | 2011-04-08 18:45:45 -0700 | [diff] [blame] | 544 | static const Prop CaptureDraw = Message_Prop_CaptureDraw; |
David Li | 55c94cc | 2011-03-04 17:50:48 -0800 | [diff] [blame] | 545 | static const Prop TimeMode = Message_Prop_TimeMode; |
David Li | fbfc703 | 2011-03-21 16:25:58 -0700 | [diff] [blame] | 546 | static const Prop ExpectResponse = Message_Prop_ExpectResponse; |
David Li | e7180e8 | 2011-04-08 18:45:45 -0700 | [diff] [blame] | 547 | static const Prop CaptureSwap = Message_Prop_CaptureSwap; |
David Li | 31918cc | 2011-04-15 15:35:10 -0700 | [diff] [blame] | 548 | static const Prop GLConstant = Message_Prop_GLConstant; |
David Li | 55c94cc | 2011-03-04 17:50:48 -0800 | [diff] [blame] | 549 | static inline bool Prop_IsValid(int value) { |
| 550 | return Message_Prop_IsValid(value); |
| 551 | } |
| 552 | static const Prop Prop_MIN = |
| 553 | Message_Prop_Prop_MIN; |
| 554 | static const Prop Prop_MAX = |
| 555 | Message_Prop_Prop_MAX; |
| 556 | static const int Prop_ARRAYSIZE = |
| 557 | Message_Prop_Prop_ARRAYSIZE; |
| 558 | |
| 559 | // accessors ------------------------------------------------------- |
| 560 | |
| 561 | // required int32 context_id = 1; |
| 562 | inline bool has_context_id() const; |
| 563 | inline void clear_context_id(); |
| 564 | static const int kContextIdFieldNumber = 1; |
| 565 | inline ::google::protobuf::int32 context_id() const; |
| 566 | inline void set_context_id(::google::protobuf::int32 value); |
| 567 | |
| 568 | // required .com.android.glesv2debugger.Message.Function function = 2 [default = NEG]; |
| 569 | inline bool has_function() const; |
| 570 | inline void clear_function(); |
| 571 | static const int kFunctionFieldNumber = 2; |
| 572 | inline ::com::android::glesv2debugger::Message_Function function() const; |
| 573 | inline void set_function(::com::android::glesv2debugger::Message_Function value); |
| 574 | |
| 575 | // required .com.android.glesv2debugger.Message.Type type = 3; |
| 576 | inline bool has_type() const; |
| 577 | inline void clear_type(); |
| 578 | static const int kTypeFieldNumber = 3; |
| 579 | inline ::com::android::glesv2debugger::Message_Type type() const; |
| 580 | inline void set_type(::com::android::glesv2debugger::Message_Type value); |
| 581 | |
| 582 | // required bool expect_response = 4; |
| 583 | inline bool has_expect_response() const; |
| 584 | inline void clear_expect_response(); |
| 585 | static const int kExpectResponseFieldNumber = 4; |
| 586 | inline bool expect_response() const; |
| 587 | inline void set_expect_response(bool value); |
| 588 | |
| 589 | // optional int32 ret = 5; |
| 590 | inline bool has_ret() const; |
| 591 | inline void clear_ret(); |
| 592 | static const int kRetFieldNumber = 5; |
| 593 | inline ::google::protobuf::int32 ret() const; |
| 594 | inline void set_ret(::google::protobuf::int32 value); |
| 595 | |
| 596 | // optional int32 arg0 = 6; |
| 597 | inline bool has_arg0() const; |
| 598 | inline void clear_arg0(); |
| 599 | static const int kArg0FieldNumber = 6; |
| 600 | inline ::google::protobuf::int32 arg0() const; |
| 601 | inline void set_arg0(::google::protobuf::int32 value); |
| 602 | |
| 603 | // optional int32 arg1 = 7; |
| 604 | inline bool has_arg1() const; |
| 605 | inline void clear_arg1(); |
| 606 | static const int kArg1FieldNumber = 7; |
| 607 | inline ::google::protobuf::int32 arg1() const; |
| 608 | inline void set_arg1(::google::protobuf::int32 value); |
| 609 | |
| 610 | // optional int32 arg2 = 8; |
| 611 | inline bool has_arg2() const; |
| 612 | inline void clear_arg2(); |
| 613 | static const int kArg2FieldNumber = 8; |
| 614 | inline ::google::protobuf::int32 arg2() const; |
| 615 | inline void set_arg2(::google::protobuf::int32 value); |
| 616 | |
| 617 | // optional int32 arg3 = 9; |
| 618 | inline bool has_arg3() const; |
| 619 | inline void clear_arg3(); |
| 620 | static const int kArg3FieldNumber = 9; |
| 621 | inline ::google::protobuf::int32 arg3() const; |
| 622 | inline void set_arg3(::google::protobuf::int32 value); |
| 623 | |
| 624 | // optional int32 arg4 = 16; |
| 625 | inline bool has_arg4() const; |
| 626 | inline void clear_arg4(); |
| 627 | static const int kArg4FieldNumber = 16; |
| 628 | inline ::google::protobuf::int32 arg4() const; |
| 629 | inline void set_arg4(::google::protobuf::int32 value); |
| 630 | |
| 631 | // optional int32 arg5 = 17; |
| 632 | inline bool has_arg5() const; |
| 633 | inline void clear_arg5(); |
| 634 | static const int kArg5FieldNumber = 17; |
| 635 | inline ::google::protobuf::int32 arg5() const; |
| 636 | inline void set_arg5(::google::protobuf::int32 value); |
| 637 | |
| 638 | // optional int32 arg6 = 18; |
| 639 | inline bool has_arg6() const; |
| 640 | inline void clear_arg6(); |
| 641 | static const int kArg6FieldNumber = 18; |
| 642 | inline ::google::protobuf::int32 arg6() const; |
| 643 | inline void set_arg6(::google::protobuf::int32 value); |
| 644 | |
| 645 | // optional int32 arg7 = 19; |
| 646 | inline bool has_arg7() const; |
| 647 | inline void clear_arg7(); |
| 648 | static const int kArg7FieldNumber = 19; |
| 649 | inline ::google::protobuf::int32 arg7() const; |
| 650 | inline void set_arg7(::google::protobuf::int32 value); |
| 651 | |
| 652 | // optional int32 arg8 = 20; |
| 653 | inline bool has_arg8() const; |
| 654 | inline void clear_arg8(); |
| 655 | static const int kArg8FieldNumber = 20; |
| 656 | inline ::google::protobuf::int32 arg8() const; |
| 657 | inline void set_arg8(::google::protobuf::int32 value); |
| 658 | |
| 659 | // optional bytes data = 10; |
| 660 | inline bool has_data() const; |
| 661 | inline void clear_data(); |
| 662 | static const int kDataFieldNumber = 10; |
| 663 | inline const ::std::string& data() const; |
| 664 | inline void set_data(const ::std::string& value); |
| 665 | inline void set_data(const char* value); |
| 666 | inline void set_data(const void* value, size_t size); |
| 667 | inline ::std::string* mutable_data(); |
| 668 | |
David Li | f9bc124 | 2011-03-22 18:42:03 -0700 | [diff] [blame] | 669 | // optional .com.android.glesv2debugger.Message.DataType data_type = 23; |
| 670 | inline bool has_data_type() const; |
| 671 | inline void clear_data_type(); |
| 672 | static const int kDataTypeFieldNumber = 23; |
| 673 | inline ::com::android::glesv2debugger::Message_DataType data_type() const; |
| 674 | inline void set_data_type(::com::android::glesv2debugger::Message_DataType value); |
| 675 | |
| 676 | // optional int32 pixel_format = 24; |
| 677 | inline bool has_pixel_format() const; |
| 678 | inline void clear_pixel_format(); |
| 679 | static const int kPixelFormatFieldNumber = 24; |
| 680 | inline ::google::protobuf::int32 pixel_format() const; |
| 681 | inline void set_pixel_format(::google::protobuf::int32 value); |
| 682 | |
| 683 | // optional int32 pixel_type = 25; |
| 684 | inline bool has_pixel_type() const; |
| 685 | inline void clear_pixel_type(); |
| 686 | static const int kPixelTypeFieldNumber = 25; |
| 687 | inline ::google::protobuf::int32 pixel_type() const; |
| 688 | inline void set_pixel_type(::google::protobuf::int32 value); |
| 689 | |
David Li | e7180e8 | 2011-04-08 18:45:45 -0700 | [diff] [blame] | 690 | // optional int32 image_width = 26; |
| 691 | inline bool has_image_width() const; |
| 692 | inline void clear_image_width(); |
| 693 | static const int kImageWidthFieldNumber = 26; |
| 694 | inline ::google::protobuf::int32 image_width() const; |
| 695 | inline void set_image_width(::google::protobuf::int32 value); |
David Li | 31918cc | 2011-04-15 15:35:10 -0700 | [diff] [blame] | 696 | |
David Li | e7180e8 | 2011-04-08 18:45:45 -0700 | [diff] [blame] | 697 | // optional int32 image_height = 27; |
| 698 | inline bool has_image_height() const; |
| 699 | inline void clear_image_height(); |
| 700 | static const int kImageHeightFieldNumber = 27; |
| 701 | inline ::google::protobuf::int32 image_height() const; |
| 702 | inline void set_image_height(::google::protobuf::int32 value); |
David Li | 31918cc | 2011-04-15 15:35:10 -0700 | [diff] [blame] | 703 | |
David Li | 55c94cc | 2011-03-04 17:50:48 -0800 | [diff] [blame] | 704 | // optional float time = 11; |
| 705 | inline bool has_time() const; |
| 706 | inline void clear_time(); |
| 707 | static const int kTimeFieldNumber = 11; |
| 708 | inline float time() const; |
| 709 | inline void set_time(float value); |
| 710 | |
| 711 | // optional .com.android.glesv2debugger.Message.Prop prop = 21; |
| 712 | inline bool has_prop() const; |
| 713 | inline void clear_prop(); |
| 714 | static const int kPropFieldNumber = 21; |
| 715 | inline ::com::android::glesv2debugger::Message_Prop prop() const; |
| 716 | inline void set_prop(::com::android::glesv2debugger::Message_Prop value); |
| 717 | |
| 718 | // optional float clock = 22; |
| 719 | inline bool has_clock() const; |
| 720 | inline void clear_clock(); |
| 721 | static const int kClockFieldNumber = 22; |
| 722 | inline float clock() const; |
| 723 | inline void set_clock(float value); |
| 724 | |
| 725 | // @@protoc_insertion_point(class_scope:com.android.glesv2debugger.Message) |
| 726 | private: |
| 727 | mutable int _cached_size_; |
| 728 | |
| 729 | ::google::protobuf::int32 context_id_; |
| 730 | int function_; |
| 731 | int type_; |
| 732 | bool expect_response_; |
| 733 | ::google::protobuf::int32 ret_; |
| 734 | ::google::protobuf::int32 arg0_; |
| 735 | ::google::protobuf::int32 arg1_; |
| 736 | ::google::protobuf::int32 arg2_; |
| 737 | ::google::protobuf::int32 arg3_; |
| 738 | ::google::protobuf::int32 arg4_; |
| 739 | ::google::protobuf::int32 arg5_; |
| 740 | ::google::protobuf::int32 arg6_; |
| 741 | ::google::protobuf::int32 arg7_; |
| 742 | ::google::protobuf::int32 arg8_; |
| 743 | ::std::string* data_; |
| 744 | static const ::std::string _default_data_; |
David Li | f9bc124 | 2011-03-22 18:42:03 -0700 | [diff] [blame] | 745 | int data_type_; |
| 746 | ::google::protobuf::int32 pixel_format_; |
| 747 | ::google::protobuf::int32 pixel_type_; |
David Li | e7180e8 | 2011-04-08 18:45:45 -0700 | [diff] [blame] | 748 | ::google::protobuf::int32 image_width_; |
| 749 | ::google::protobuf::int32 image_height_; |
David Li | 55c94cc | 2011-03-04 17:50:48 -0800 | [diff] [blame] | 750 | float time_; |
| 751 | int prop_; |
| 752 | float clock_; |
| 753 | friend void protobuf_AddDesc_debugger_5fmessage_2eproto(); |
| 754 | friend void protobuf_AssignDesc_debugger_5fmessage_2eproto(); |
| 755 | friend void protobuf_ShutdownFile_debugger_5fmessage_2eproto(); |
| 756 | |
David Li | e7180e8 | 2011-04-08 18:45:45 -0700 | [diff] [blame] | 757 | ::google::protobuf::uint32 _has_bits_[(23 + 31) / 32]; |
David Li | 55c94cc | 2011-03-04 17:50:48 -0800 | [diff] [blame] | 758 | |
| 759 | // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? |
| 760 | inline bool _has_bit(int index) const { |
| 761 | return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; |
| 762 | } |
| 763 | inline void _set_bit(int index) { |
| 764 | _has_bits_[index / 32] |= (1u << (index % 32)); |
| 765 | } |
| 766 | inline void _clear_bit(int index) { |
| 767 | _has_bits_[index / 32] &= ~(1u << (index % 32)); |
| 768 | } |
| 769 | |
| 770 | void InitAsDefaultInstance(); |
| 771 | static Message* default_instance_; |
| 772 | }; |
| 773 | // =================================================================== |
| 774 | |
| 775 | |
| 776 | // =================================================================== |
| 777 | |
| 778 | // Message |
| 779 | |
| 780 | // required int32 context_id = 1; |
| 781 | inline bool Message::has_context_id() const { |
| 782 | return _has_bit(0); |
| 783 | } |
| 784 | inline void Message::clear_context_id() { |
| 785 | context_id_ = 0; |
| 786 | _clear_bit(0); |
| 787 | } |
| 788 | inline ::google::protobuf::int32 Message::context_id() const { |
| 789 | return context_id_; |
| 790 | } |
| 791 | inline void Message::set_context_id(::google::protobuf::int32 value) { |
| 792 | _set_bit(0); |
| 793 | context_id_ = value; |
| 794 | } |
| 795 | |
| 796 | // required .com.android.glesv2debugger.Message.Function function = 2 [default = NEG]; |
| 797 | inline bool Message::has_function() const { |
| 798 | return _has_bit(1); |
| 799 | } |
| 800 | inline void Message::clear_function() { |
| 801 | function_ = 187; |
| 802 | _clear_bit(1); |
| 803 | } |
| 804 | inline ::com::android::glesv2debugger::Message_Function Message::function() const { |
| 805 | return static_cast< ::com::android::glesv2debugger::Message_Function >(function_); |
| 806 | } |
| 807 | inline void Message::set_function(::com::android::glesv2debugger::Message_Function value) { |
| 808 | GOOGLE_DCHECK(::com::android::glesv2debugger::Message_Function_IsValid(value)); |
| 809 | _set_bit(1); |
| 810 | function_ = value; |
| 811 | } |
| 812 | |
| 813 | // required .com.android.glesv2debugger.Message.Type type = 3; |
| 814 | inline bool Message::has_type() const { |
| 815 | return _has_bit(2); |
| 816 | } |
| 817 | inline void Message::clear_type() { |
| 818 | type_ = 0; |
| 819 | _clear_bit(2); |
| 820 | } |
| 821 | inline ::com::android::glesv2debugger::Message_Type Message::type() const { |
| 822 | return static_cast< ::com::android::glesv2debugger::Message_Type >(type_); |
| 823 | } |
| 824 | inline void Message::set_type(::com::android::glesv2debugger::Message_Type value) { |
| 825 | GOOGLE_DCHECK(::com::android::glesv2debugger::Message_Type_IsValid(value)); |
| 826 | _set_bit(2); |
| 827 | type_ = value; |
| 828 | } |
| 829 | |
| 830 | // required bool expect_response = 4; |
| 831 | inline bool Message::has_expect_response() const { |
| 832 | return _has_bit(3); |
| 833 | } |
| 834 | inline void Message::clear_expect_response() { |
| 835 | expect_response_ = false; |
| 836 | _clear_bit(3); |
| 837 | } |
| 838 | inline bool Message::expect_response() const { |
| 839 | return expect_response_; |
| 840 | } |
| 841 | inline void Message::set_expect_response(bool value) { |
| 842 | _set_bit(3); |
| 843 | expect_response_ = value; |
| 844 | } |
| 845 | |
| 846 | // optional int32 ret = 5; |
| 847 | inline bool Message::has_ret() const { |
| 848 | return _has_bit(4); |
| 849 | } |
| 850 | inline void Message::clear_ret() { |
| 851 | ret_ = 0; |
| 852 | _clear_bit(4); |
| 853 | } |
| 854 | inline ::google::protobuf::int32 Message::ret() const { |
| 855 | return ret_; |
| 856 | } |
| 857 | inline void Message::set_ret(::google::protobuf::int32 value) { |
| 858 | _set_bit(4); |
| 859 | ret_ = value; |
| 860 | } |
| 861 | |
| 862 | // optional int32 arg0 = 6; |
| 863 | inline bool Message::has_arg0() const { |
| 864 | return _has_bit(5); |
| 865 | } |
| 866 | inline void Message::clear_arg0() { |
| 867 | arg0_ = 0; |
| 868 | _clear_bit(5); |
| 869 | } |
| 870 | inline ::google::protobuf::int32 Message::arg0() const { |
| 871 | return arg0_; |
| 872 | } |
| 873 | inline void Message::set_arg0(::google::protobuf::int32 value) { |
| 874 | _set_bit(5); |
| 875 | arg0_ = value; |
| 876 | } |
| 877 | |
| 878 | // optional int32 arg1 = 7; |
| 879 | inline bool Message::has_arg1() const { |
| 880 | return _has_bit(6); |
| 881 | } |
| 882 | inline void Message::clear_arg1() { |
| 883 | arg1_ = 0; |
| 884 | _clear_bit(6); |
| 885 | } |
| 886 | inline ::google::protobuf::int32 Message::arg1() const { |
| 887 | return arg1_; |
| 888 | } |
| 889 | inline void Message::set_arg1(::google::protobuf::int32 value) { |
| 890 | _set_bit(6); |
| 891 | arg1_ = value; |
| 892 | } |
| 893 | |
| 894 | // optional int32 arg2 = 8; |
| 895 | inline bool Message::has_arg2() const { |
| 896 | return _has_bit(7); |
| 897 | } |
| 898 | inline void Message::clear_arg2() { |
| 899 | arg2_ = 0; |
| 900 | _clear_bit(7); |
| 901 | } |
| 902 | inline ::google::protobuf::int32 Message::arg2() const { |
| 903 | return arg2_; |
| 904 | } |
| 905 | inline void Message::set_arg2(::google::protobuf::int32 value) { |
| 906 | _set_bit(7); |
| 907 | arg2_ = value; |
| 908 | } |
| 909 | |
| 910 | // optional int32 arg3 = 9; |
| 911 | inline bool Message::has_arg3() const { |
| 912 | return _has_bit(8); |
| 913 | } |
| 914 | inline void Message::clear_arg3() { |
| 915 | arg3_ = 0; |
| 916 | _clear_bit(8); |
| 917 | } |
| 918 | inline ::google::protobuf::int32 Message::arg3() const { |
| 919 | return arg3_; |
| 920 | } |
| 921 | inline void Message::set_arg3(::google::protobuf::int32 value) { |
| 922 | _set_bit(8); |
| 923 | arg3_ = value; |
| 924 | } |
| 925 | |
| 926 | // optional int32 arg4 = 16; |
| 927 | inline bool Message::has_arg4() const { |
| 928 | return _has_bit(9); |
| 929 | } |
| 930 | inline void Message::clear_arg4() { |
| 931 | arg4_ = 0; |
| 932 | _clear_bit(9); |
| 933 | } |
| 934 | inline ::google::protobuf::int32 Message::arg4() const { |
| 935 | return arg4_; |
| 936 | } |
| 937 | inline void Message::set_arg4(::google::protobuf::int32 value) { |
| 938 | _set_bit(9); |
| 939 | arg4_ = value; |
| 940 | } |
| 941 | |
| 942 | // optional int32 arg5 = 17; |
| 943 | inline bool Message::has_arg5() const { |
| 944 | return _has_bit(10); |
| 945 | } |
| 946 | inline void Message::clear_arg5() { |
| 947 | arg5_ = 0; |
| 948 | _clear_bit(10); |
| 949 | } |
| 950 | inline ::google::protobuf::int32 Message::arg5() const { |
| 951 | return arg5_; |
| 952 | } |
| 953 | inline void Message::set_arg5(::google::protobuf::int32 value) { |
| 954 | _set_bit(10); |
| 955 | arg5_ = value; |
| 956 | } |
| 957 | |
| 958 | // optional int32 arg6 = 18; |
| 959 | inline bool Message::has_arg6() const { |
| 960 | return _has_bit(11); |
| 961 | } |
| 962 | inline void Message::clear_arg6() { |
| 963 | arg6_ = 0; |
| 964 | _clear_bit(11); |
| 965 | } |
| 966 | inline ::google::protobuf::int32 Message::arg6() const { |
| 967 | return arg6_; |
| 968 | } |
| 969 | inline void Message::set_arg6(::google::protobuf::int32 value) { |
| 970 | _set_bit(11); |
| 971 | arg6_ = value; |
| 972 | } |
| 973 | |
| 974 | // optional int32 arg7 = 19; |
| 975 | inline bool Message::has_arg7() const { |
| 976 | return _has_bit(12); |
| 977 | } |
| 978 | inline void Message::clear_arg7() { |
| 979 | arg7_ = 0; |
| 980 | _clear_bit(12); |
| 981 | } |
| 982 | inline ::google::protobuf::int32 Message::arg7() const { |
| 983 | return arg7_; |
| 984 | } |
| 985 | inline void Message::set_arg7(::google::protobuf::int32 value) { |
| 986 | _set_bit(12); |
| 987 | arg7_ = value; |
| 988 | } |
| 989 | |
| 990 | // optional int32 arg8 = 20; |
| 991 | inline bool Message::has_arg8() const { |
| 992 | return _has_bit(13); |
| 993 | } |
| 994 | inline void Message::clear_arg8() { |
| 995 | arg8_ = 0; |
| 996 | _clear_bit(13); |
| 997 | } |
| 998 | inline ::google::protobuf::int32 Message::arg8() const { |
| 999 | return arg8_; |
| 1000 | } |
| 1001 | inline void Message::set_arg8(::google::protobuf::int32 value) { |
| 1002 | _set_bit(13); |
| 1003 | arg8_ = value; |
| 1004 | } |
| 1005 | |
| 1006 | // optional bytes data = 10; |
| 1007 | inline bool Message::has_data() const { |
| 1008 | return _has_bit(14); |
| 1009 | } |
| 1010 | inline void Message::clear_data() { |
| 1011 | if (data_ != &_default_data_) { |
| 1012 | data_->clear(); |
| 1013 | } |
| 1014 | _clear_bit(14); |
| 1015 | } |
| 1016 | inline const ::std::string& Message::data() const { |
| 1017 | return *data_; |
| 1018 | } |
| 1019 | inline void Message::set_data(const ::std::string& value) { |
| 1020 | _set_bit(14); |
| 1021 | if (data_ == &_default_data_) { |
| 1022 | data_ = new ::std::string; |
| 1023 | } |
| 1024 | data_->assign(value); |
| 1025 | } |
| 1026 | inline void Message::set_data(const char* value) { |
| 1027 | _set_bit(14); |
| 1028 | if (data_ == &_default_data_) { |
| 1029 | data_ = new ::std::string; |
| 1030 | } |
| 1031 | data_->assign(value); |
| 1032 | } |
| 1033 | inline void Message::set_data(const void* value, size_t size) { |
| 1034 | _set_bit(14); |
| 1035 | if (data_ == &_default_data_) { |
| 1036 | data_ = new ::std::string; |
| 1037 | } |
| 1038 | data_->assign(reinterpret_cast<const char*>(value), size); |
| 1039 | } |
| 1040 | inline ::std::string* Message::mutable_data() { |
| 1041 | _set_bit(14); |
| 1042 | if (data_ == &_default_data_) { |
| 1043 | data_ = new ::std::string; |
| 1044 | } |
| 1045 | return data_; |
| 1046 | } |
| 1047 | |
David Li | f9bc124 | 2011-03-22 18:42:03 -0700 | [diff] [blame] | 1048 | // optional .com.android.glesv2debugger.Message.DataType data_type = 23; |
| 1049 | inline bool Message::has_data_type() const { |
| 1050 | return _has_bit(15); |
| 1051 | } |
| 1052 | inline void Message::clear_data_type() { |
| 1053 | data_type_ = 0; |
| 1054 | _clear_bit(15); |
| 1055 | } |
| 1056 | inline ::com::android::glesv2debugger::Message_DataType Message::data_type() const { |
| 1057 | return static_cast< ::com::android::glesv2debugger::Message_DataType >(data_type_); |
| 1058 | } |
| 1059 | inline void Message::set_data_type(::com::android::glesv2debugger::Message_DataType value) { |
| 1060 | GOOGLE_DCHECK(::com::android::glesv2debugger::Message_DataType_IsValid(value)); |
| 1061 | _set_bit(15); |
| 1062 | data_type_ = value; |
| 1063 | } |
| 1064 | |
| 1065 | // optional int32 pixel_format = 24; |
| 1066 | inline bool Message::has_pixel_format() const { |
| 1067 | return _has_bit(16); |
| 1068 | } |
| 1069 | inline void Message::clear_pixel_format() { |
| 1070 | pixel_format_ = 0; |
| 1071 | _clear_bit(16); |
| 1072 | } |
| 1073 | inline ::google::protobuf::int32 Message::pixel_format() const { |
| 1074 | return pixel_format_; |
| 1075 | } |
| 1076 | inline void Message::set_pixel_format(::google::protobuf::int32 value) { |
| 1077 | _set_bit(16); |
| 1078 | pixel_format_ = value; |
| 1079 | } |
| 1080 | |
| 1081 | // optional int32 pixel_type = 25; |
| 1082 | inline bool Message::has_pixel_type() const { |
| 1083 | return _has_bit(17); |
| 1084 | } |
| 1085 | inline void Message::clear_pixel_type() { |
| 1086 | pixel_type_ = 0; |
| 1087 | _clear_bit(17); |
| 1088 | } |
| 1089 | inline ::google::protobuf::int32 Message::pixel_type() const { |
| 1090 | return pixel_type_; |
| 1091 | } |
| 1092 | inline void Message::set_pixel_type(::google::protobuf::int32 value) { |
| 1093 | _set_bit(17); |
| 1094 | pixel_type_ = value; |
| 1095 | } |
| 1096 | |
David Li | e7180e8 | 2011-04-08 18:45:45 -0700 | [diff] [blame] | 1097 | // optional int32 image_width = 26; |
| 1098 | inline bool Message::has_image_width() const { |
| 1099 | return _has_bit(18); |
| 1100 | } |
| 1101 | inline void Message::clear_image_width() { |
| 1102 | image_width_ = 0; |
| 1103 | _clear_bit(18); |
| 1104 | } |
| 1105 | inline ::google::protobuf::int32 Message::image_width() const { |
| 1106 | return image_width_; |
| 1107 | } |
| 1108 | inline void Message::set_image_width(::google::protobuf::int32 value) { |
| 1109 | _set_bit(18); |
| 1110 | image_width_ = value; |
| 1111 | } |
| 1112 | |
| 1113 | // optional int32 image_height = 27; |
| 1114 | inline bool Message::has_image_height() const { |
| 1115 | return _has_bit(19); |
| 1116 | } |
| 1117 | inline void Message::clear_image_height() { |
| 1118 | image_height_ = 0; |
| 1119 | _clear_bit(19); |
| 1120 | } |
| 1121 | inline ::google::protobuf::int32 Message::image_height() const { |
| 1122 | return image_height_; |
| 1123 | } |
| 1124 | inline void Message::set_image_height(::google::protobuf::int32 value) { |
| 1125 | _set_bit(19); |
| 1126 | image_height_ = value; |
| 1127 | } |
| 1128 | |
David Li | 55c94cc | 2011-03-04 17:50:48 -0800 | [diff] [blame] | 1129 | // optional float time = 11; |
| 1130 | inline bool Message::has_time() const { |
David Li | e7180e8 | 2011-04-08 18:45:45 -0700 | [diff] [blame] | 1131 | return _has_bit(20); |
David Li | 55c94cc | 2011-03-04 17:50:48 -0800 | [diff] [blame] | 1132 | } |
| 1133 | inline void Message::clear_time() { |
| 1134 | time_ = 0; |
David Li | e7180e8 | 2011-04-08 18:45:45 -0700 | [diff] [blame] | 1135 | _clear_bit(20); |
David Li | 55c94cc | 2011-03-04 17:50:48 -0800 | [diff] [blame] | 1136 | } |
| 1137 | inline float Message::time() const { |
| 1138 | return time_; |
| 1139 | } |
| 1140 | inline void Message::set_time(float value) { |
David Li | e7180e8 | 2011-04-08 18:45:45 -0700 | [diff] [blame] | 1141 | _set_bit(20); |
David Li | 55c94cc | 2011-03-04 17:50:48 -0800 | [diff] [blame] | 1142 | time_ = value; |
| 1143 | } |
| 1144 | |
| 1145 | // optional .com.android.glesv2debugger.Message.Prop prop = 21; |
| 1146 | inline bool Message::has_prop() const { |
David Li | e7180e8 | 2011-04-08 18:45:45 -0700 | [diff] [blame] | 1147 | return _has_bit(21); |
David Li | 55c94cc | 2011-03-04 17:50:48 -0800 | [diff] [blame] | 1148 | } |
| 1149 | inline void Message::clear_prop() { |
| 1150 | prop_ = 0; |
David Li | e7180e8 | 2011-04-08 18:45:45 -0700 | [diff] [blame] | 1151 | _clear_bit(21); |
David Li | 55c94cc | 2011-03-04 17:50:48 -0800 | [diff] [blame] | 1152 | } |
| 1153 | inline ::com::android::glesv2debugger::Message_Prop Message::prop() const { |
| 1154 | return static_cast< ::com::android::glesv2debugger::Message_Prop >(prop_); |
| 1155 | } |
| 1156 | inline void Message::set_prop(::com::android::glesv2debugger::Message_Prop value) { |
| 1157 | GOOGLE_DCHECK(::com::android::glesv2debugger::Message_Prop_IsValid(value)); |
David Li | e7180e8 | 2011-04-08 18:45:45 -0700 | [diff] [blame] | 1158 | _set_bit(21); |
David Li | 55c94cc | 2011-03-04 17:50:48 -0800 | [diff] [blame] | 1159 | prop_ = value; |
| 1160 | } |
| 1161 | |
| 1162 | // optional float clock = 22; |
| 1163 | inline bool Message::has_clock() const { |
David Li | e7180e8 | 2011-04-08 18:45:45 -0700 | [diff] [blame] | 1164 | return _has_bit(22); |
David Li | 55c94cc | 2011-03-04 17:50:48 -0800 | [diff] [blame] | 1165 | } |
| 1166 | inline void Message::clear_clock() { |
| 1167 | clock_ = 0; |
David Li | e7180e8 | 2011-04-08 18:45:45 -0700 | [diff] [blame] | 1168 | _clear_bit(22); |
David Li | 55c94cc | 2011-03-04 17:50:48 -0800 | [diff] [blame] | 1169 | } |
| 1170 | inline float Message::clock() const { |
| 1171 | return clock_; |
| 1172 | } |
| 1173 | inline void Message::set_clock(float value) { |
David Li | e7180e8 | 2011-04-08 18:45:45 -0700 | [diff] [blame] | 1174 | _set_bit(22); |
David Li | 55c94cc | 2011-03-04 17:50:48 -0800 | [diff] [blame] | 1175 | clock_ = value; |
| 1176 | } |
| 1177 | |
| 1178 | |
| 1179 | // @@protoc_insertion_point(namespace_scope) |
| 1180 | |
| 1181 | } // namespace glesv2debugger |
| 1182 | } // namespace android |
| 1183 | } // namespace com |
| 1184 | |
| 1185 | // @@protoc_insertion_point(global_scope) |
| 1186 | |
| 1187 | #endif // PROTOBUF_debugger_5fmessage_2eproto__INCLUDED |