| Index: gpu/command_buffer/common/gles2_cmd_utils.cc
|
| diff --git a/gpu/command_buffer/common/gles2_cmd_utils.cc b/gpu/command_buffer/common/gles2_cmd_utils.cc
|
| index cb0bd6396b2912c953fa139520320a2bc7f85a23..c6e3aa92dde67d2ab5fab7a8c6f59f052545fd1e 100644
|
| --- a/gpu/command_buffer/common/gles2_cmd_utils.cc
|
| +++ b/gpu/command_buffer/common/gles2_cmd_utils.cc
|
| @@ -795,6 +795,10 @@ uint32_t GLES2Util::GetElementCountForUniformType(int type) {
|
| }
|
| }
|
|
|
| +size_t GLES2Util::GetGLTypeSizeForTextures(uint32_t type) {
|
| + return static_cast<size_t>(BytesPerElement(type));
|
| +}
|
| +
|
| size_t GLES2Util::GetGLTypeSizeForBuffers(uint32_t type) {
|
| switch (type) {
|
| case GL_BYTE:
|
|
|