| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // This file is auto-generated from | 5 // This file is auto-generated from |
| 6 // gpu/command_buffer/build_gles2_cmd_buffer.py | 6 // gpu/command_buffer/build_gles2_cmd_buffer.py |
| 7 // It's formatted by clang-format using chromium coding style: | 7 // It's formatted by clang-format using chromium coding style: |
| 8 // clang-format -i -style=chromium filename | 8 // clang-format -i -style=chromium filename |
| 9 // DO NOT EDIT! | 9 // DO NOT EDIT! |
| 10 | 10 |
| (...skipping 3147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3158 gles2::cmds::GetFragDataIndexEXT* c = | 3158 gles2::cmds::GetFragDataIndexEXT* c = |
| 3159 GetCmdSpace<gles2::cmds::GetFragDataIndexEXT>(); | 3159 GetCmdSpace<gles2::cmds::GetFragDataIndexEXT>(); |
| 3160 if (c) { | 3160 if (c) { |
| 3161 c->Init(program, name_bucket_id, index_shm_id, index_shm_offset); | 3161 c->Init(program, name_bucket_id, index_shm_id, index_shm_offset); |
| 3162 } | 3162 } |
| 3163 } | 3163 } |
| 3164 | 3164 |
| 3165 void UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate( | 3165 void UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate( |
| 3166 GLint location, | 3166 GLint location, |
| 3167 GLboolean transpose, | 3167 GLboolean transpose, |
| 3168 const GLfloat* default_value) { | 3168 const GLfloat* transform) { |
| 3169 const uint32_t size = gles2::cmds:: | 3169 const uint32_t size = gles2::cmds:: |
| 3170 UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate::ComputeSize(); | 3170 UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate::ComputeSize(); |
| 3171 gles2::cmds::UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate* c = | 3171 gles2::cmds::UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate* c = |
| 3172 GetImmediateCmdSpaceTotalSize< | 3172 GetImmediateCmdSpaceTotalSize< |
| 3173 gles2::cmds::UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate>( | 3173 gles2::cmds::UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate>( |
| 3174 size); | 3174 size); |
| 3175 if (c) { | 3175 if (c) { |
| 3176 c->Init(location, transpose, default_value); | 3176 c->Init(location, transpose, transform); |
| 3177 } | 3177 } |
| 3178 } | 3178 } |
| 3179 | 3179 |
| 3180 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 3180 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
| OLD | NEW |