| Index: gpu/command_buffer/common/gles2_cmd_format.h
|
| ===================================================================
|
| --- gpu/command_buffer/common/gles2_cmd_format.h (revision 40176)
|
| +++ gpu/command_buffer/common/gles2_cmd_format.h (working copy)
|
| @@ -93,6 +93,8 @@
|
| static const CommandId kCmdId = kGetAttribLocation;
|
| static const cmd::ArgFlags kArgFlags = cmd::kFixed;
|
|
|
| + typedef GLint Result;
|
| +
|
| static uint32 ComputeSize() {
|
| return static_cast<uint32>(sizeof(ValueType)); // NOLINT
|
| }
|
| @@ -156,6 +158,8 @@
|
| static const CommandId kCmdId = kGetAttribLocationImmediate;
|
| static const cmd::ArgFlags kArgFlags = cmd::kAtLeastN;
|
|
|
| + typedef GLint Result;
|
| +
|
| static uint32 ComputeDataSize(const char* s) {
|
| return strlen(s);
|
| }
|
| @@ -213,6 +217,8 @@
|
| static const CommandId kCmdId = kGetUniformLocation;
|
| static const cmd::ArgFlags kArgFlags = cmd::kFixed;
|
|
|
| + typedef GLint Result;
|
| +
|
| static uint32 ComputeSize() {
|
| return static_cast<uint32>(sizeof(ValueType)); // NOLINT
|
| }
|
| @@ -276,6 +282,8 @@
|
| static const CommandId kCmdId = kGetUniformLocationImmediate;
|
| static const cmd::ArgFlags kArgFlags = cmd::kAtLeastN;
|
|
|
| + typedef GLint Result;
|
| +
|
| static uint32 ComputeDataSize(const char* s) {
|
| return strlen(s);
|
| }
|
|
|