| Index: gpu/command_buffer/service/gles2_cmd_decoder_autogen.h
|
| diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h b/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h
|
| index a8f03ab7fa00f1603695726ad18a64e432944c5e..591bf1c7a2664d20edd3d63806e38cf803a8e538 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h
|
| @@ -3661,6 +3661,35 @@ error::Error GLES2DecoderImpl::HandleUniformMatrix4x3fvImmediate(
|
| return error::kNoError;
|
| }
|
|
|
| +error::Error GLES2DecoderImpl::
|
| + HandleUniformMatrix4fvWithStreamTextureMatrixCHROMIUMImmediate(
|
| + uint32_t immediate_data_size,
|
| + const void* cmd_data) {
|
| + const gles2::cmds::UniformMatrix4fvWithStreamTextureMatrixCHROMIUMImmediate&
|
| + c = *static_cast<
|
| + const gles2::cmds::
|
| + UniformMatrix4fvWithStreamTextureMatrixCHROMIUMImmediate*>(
|
| + cmd_data);
|
| + (void)c;
|
| + GLint location = static_cast<GLint>(c.location);
|
| + GLboolean transpose = static_cast<GLboolean>(c.transpose);
|
| + uint32_t data_size;
|
| + if (!ComputeDataSize(1, sizeof(GLfloat), 16, &data_size)) {
|
| + return error::kOutOfBounds;
|
| + }
|
| + if (data_size > immediate_data_size) {
|
| + return error::kOutOfBounds;
|
| + }
|
| + const GLfloat* default_value =
|
| + GetImmediateDataAs<const GLfloat*>(c, data_size, immediate_data_size);
|
| + if (default_value == NULL) {
|
| + return error::kOutOfBounds;
|
| + }
|
| + DoUniformMatrix4fvWithStreamTextureMatrixCHROMIUM(location, transpose,
|
| + default_value);
|
| + return error::kNoError;
|
| +}
|
| +
|
| error::Error GLES2DecoderImpl::HandleUseProgram(uint32_t immediate_data_size,
|
| const void* cmd_data) {
|
| const gles2::cmds::UseProgram& c =
|
|
|