| 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 3124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3135 gles2::cmds::GetFragDataIndexEXT* c = | 3135 gles2::cmds::GetFragDataIndexEXT* c = |
| 3136 GetCmdSpace<gles2::cmds::GetFragDataIndexEXT>(); | 3136 GetCmdSpace<gles2::cmds::GetFragDataIndexEXT>(); |
| 3137 if (c) { | 3137 if (c) { |
| 3138 c->Init(program, name_bucket_id, index_shm_id, index_shm_offset); | 3138 c->Init(program, name_bucket_id, index_shm_id, index_shm_offset); |
| 3139 } | 3139 } |
| 3140 } | 3140 } |
| 3141 | 3141 |
| 3142 void UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate( | 3142 void UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate( |
| 3143 GLint location, | 3143 GLint location, |
| 3144 GLboolean transpose, | 3144 GLboolean transpose, |
| 3145 const GLfloat* transform) { | 3145 const GLfloat* default_value) { |
| 3146 const uint32_t size = gles2::cmds:: | 3146 const uint32_t size = gles2::cmds:: |
| 3147 UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate::ComputeSize(); | 3147 UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate::ComputeSize(); |
| 3148 gles2::cmds::UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate* c = | 3148 gles2::cmds::UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate* c = |
| 3149 GetImmediateCmdSpaceTotalSize< | 3149 GetImmediateCmdSpaceTotalSize< |
| 3150 gles2::cmds::UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate>( | 3150 gles2::cmds::UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate>( |
| 3151 size); | 3151 size); |
| 3152 if (c) { | 3152 if (c) { |
| 3153 c->Init(location, transpose, transform); | 3153 c->Init(location, transpose, default_value); |
| 3154 } | 3154 } |
| 3155 } | 3155 } |
| 3156 | 3156 |
| 3157 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 3157 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
| OLD | NEW |