| Index: gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers_autogen.cc
|
| diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers_autogen.cc b/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers_autogen.cc
|
| index 919963bb08a0c4eafe6b5bc5473349d00086f316..6f3935fa187b1465cba240030dd98a714faa14a9 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers_autogen.cc
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers_autogen.cc
|
| @@ -3744,7 +3744,7 @@ error::Error GLES2DecoderPassthroughImpl::HandleProduceTextureCHROMIUMImmediate(
|
| const volatile gles2::cmds::ProduceTextureCHROMIUMImmediate*>(cmd_data);
|
| GLenum target = static_cast<GLenum>(c.target);
|
| uint32_t data_size;
|
| - if (!GLES2Util::ComputeDataSize(1, sizeof(GLbyte), 64, &data_size)) {
|
| + if (!GLES2Util::ComputeDataSize(1, sizeof(GLbyte), 16, &data_size)) {
|
| return error::kOutOfBounds;
|
| }
|
| if (data_size > immediate_data_size) {
|
| @@ -3770,7 +3770,7 @@ GLES2DecoderPassthroughImpl::HandleProduceTextureDirectCHROMIUMImmediate(
|
| GLuint texture = c.texture;
|
| GLenum target = static_cast<GLenum>(c.target);
|
| uint32_t data_size;
|
| - if (!GLES2Util::ComputeDataSize(1, sizeof(GLbyte), 64, &data_size)) {
|
| + if (!GLES2Util::ComputeDataSize(1, sizeof(GLbyte), 16, &data_size)) {
|
| return error::kOutOfBounds;
|
| }
|
| if (data_size > immediate_data_size) {
|
| @@ -3792,7 +3792,7 @@ error::Error GLES2DecoderPassthroughImpl::HandleConsumeTextureCHROMIUMImmediate(
|
| const volatile gles2::cmds::ConsumeTextureCHROMIUMImmediate*>(cmd_data);
|
| GLenum target = static_cast<GLenum>(c.target);
|
| uint32_t data_size;
|
| - if (!GLES2Util::ComputeDataSize(1, sizeof(GLbyte), 64, &data_size)) {
|
| + if (!GLES2Util::ComputeDataSize(1, sizeof(GLbyte), 16, &data_size)) {
|
| return error::kOutOfBounds;
|
| }
|
| if (data_size > immediate_data_size) {
|
| @@ -3817,7 +3817,7 @@ GLES2DecoderPassthroughImpl::HandleCreateAndConsumeTextureINTERNALImmediate(
|
| GLenum target = static_cast<GLenum>(c.target);
|
| GLuint texture = static_cast<GLuint>(c.texture);
|
| uint32_t data_size;
|
| - if (!GLES2Util::ComputeDataSize(1, sizeof(GLbyte), 64, &data_size)) {
|
| + if (!GLES2Util::ComputeDataSize(1, sizeof(GLbyte), 16, &data_size)) {
|
| return error::kOutOfBounds;
|
| }
|
| if (data_size > immediate_data_size) {
|
|
|