Chromium Code Reviews| Index: gpu/command_buffer/common/gles2_cmd_utils.h |
| diff --git a/gpu/command_buffer/common/gles2_cmd_utils.h b/gpu/command_buffer/common/gles2_cmd_utils.h |
| index 9104fcd68b9dfc7d8b14d94dfb13749598a40d74..1623b4b429fb5fcd4c7b3769520cb8f2b75edcfe 100644 |
| --- a/gpu/command_buffer/common/gles2_cmd_utils.h |
| +++ b/gpu/command_buffer/common/gles2_cmd_utils.h |
| @@ -146,6 +146,8 @@ class GLES2_UTILS_EXPORT GLES2Util { |
| uint32_t* opt_padded_row_size, uint32_t* opt_skip_size, |
| uint32_t* opt_padding); |
| + static bool IsCompressedTextureFormat(int internal_format); |
|
Zhenyao Mo
2016/04/28 17:57:12
You don't have to redefined this function. We alr
Ken Russell (switch to Gerrit)
2016/04/29 13:10:06
Thanks for pointing this out. It's necessary to ca
|
| + |
| static size_t RenderbufferBytesPerPixel(int format); |
| // Return the element's number of bytes. |