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 2454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2465 } | 2465 } |
2466 | 2466 |
2467 void GetUniformsES3CHROMIUM(GLuint program, uint32_t bucket_id) { | 2467 void GetUniformsES3CHROMIUM(GLuint program, uint32_t bucket_id) { |
2468 gles2::cmds::GetUniformsES3CHROMIUM* c = | 2468 gles2::cmds::GetUniformsES3CHROMIUM* c = |
2469 GetCmdSpace<gles2::cmds::GetUniformsES3CHROMIUM>(); | 2469 GetCmdSpace<gles2::cmds::GetUniformsES3CHROMIUM>(); |
2470 if (c) { | 2470 if (c) { |
2471 c->Init(program, bucket_id); | 2471 c->Init(program, bucket_id); |
2472 } | 2472 } |
2473 } | 2473 } |
2474 | 2474 |
| 2475 void DescheduleUntilFinishedCHROMIUM() { |
| 2476 gles2::cmds::DescheduleUntilFinishedCHROMIUM* c = |
| 2477 GetCmdSpace<gles2::cmds::DescheduleUntilFinishedCHROMIUM>(); |
| 2478 if (c) { |
| 2479 c->Init(); |
| 2480 } |
| 2481 } |
| 2482 |
2475 void GetTranslatedShaderSourceANGLE(GLuint shader, uint32_t bucket_id) { | 2483 void GetTranslatedShaderSourceANGLE(GLuint shader, uint32_t bucket_id) { |
2476 gles2::cmds::GetTranslatedShaderSourceANGLE* c = | 2484 gles2::cmds::GetTranslatedShaderSourceANGLE* c = |
2477 GetCmdSpace<gles2::cmds::GetTranslatedShaderSourceANGLE>(); | 2485 GetCmdSpace<gles2::cmds::GetTranslatedShaderSourceANGLE>(); |
2478 if (c) { | 2486 if (c) { |
2479 c->Init(shader, bucket_id); | 2487 c->Init(shader, bucket_id); |
2480 } | 2488 } |
2481 } | 2489 } |
2482 | 2490 |
2483 void PostSubBufferCHROMIUM(GLint x, GLint y, GLint width, GLint height) { | 2491 void PostSubBufferCHROMIUM(GLint x, GLint y, GLint width, GLint height) { |
2484 gles2::cmds::PostSubBufferCHROMIUM* c = | 2492 gles2::cmds::PostSubBufferCHROMIUM* c = |
(...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3139 gles2::cmds::UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate* c = | 3147 gles2::cmds::UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate* c = |
3140 GetImmediateCmdSpaceTotalSize< | 3148 GetImmediateCmdSpaceTotalSize< |
3141 gles2::cmds::UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate>( | 3149 gles2::cmds::UniformMatrix4fvStreamTextureMatrixCHROMIUMImmediate>( |
3142 size); | 3150 size); |
3143 if (c) { | 3151 if (c) { |
3144 c->Init(location, transpose, default_value); | 3152 c->Init(location, transpose, default_value); |
3145 } | 3153 } |
3146 } | 3154 } |
3147 | 3155 |
3148 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 3156 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
OLD | NEW |