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 2711 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2722 } | 2722 } |
2723 | 2723 |
2724 void LoseContextCHROMIUM(GLenum current, GLenum other) { | 2724 void LoseContextCHROMIUM(GLenum current, GLenum other) { |
2725 gles2::cmds::LoseContextCHROMIUM* c = | 2725 gles2::cmds::LoseContextCHROMIUM* c = |
2726 GetCmdSpace<gles2::cmds::LoseContextCHROMIUM>(); | 2726 GetCmdSpace<gles2::cmds::LoseContextCHROMIUM>(); |
2727 if (c) { | 2727 if (c) { |
2728 c->Init(current, other); | 2728 c->Init(current, other); |
2729 } | 2729 } |
2730 } | 2730 } |
2731 | 2731 |
2732 void WaitSyncPointCHROMIUM(GLuint sync_point) { | |
2733 gles2::cmds::WaitSyncPointCHROMIUM* c = | |
2734 GetCmdSpace<gles2::cmds::WaitSyncPointCHROMIUM>(); | |
2735 if (c) { | |
2736 c->Init(sync_point); | |
2737 } | |
2738 } | |
2739 | |
2740 void InsertFenceSyncCHROMIUM(GLuint64 release_count) { | 2732 void InsertFenceSyncCHROMIUM(GLuint64 release_count) { |
2741 gles2::cmds::InsertFenceSyncCHROMIUM* c = | 2733 gles2::cmds::InsertFenceSyncCHROMIUM* c = |
2742 GetCmdSpace<gles2::cmds::InsertFenceSyncCHROMIUM>(); | 2734 GetCmdSpace<gles2::cmds::InsertFenceSyncCHROMIUM>(); |
2743 if (c) { | 2735 if (c) { |
2744 c->Init(release_count); | 2736 c->Init(release_count); |
2745 } | 2737 } |
2746 } | 2738 } |
2747 | 2739 |
2748 void GenSyncTokenCHROMIUMImmediate(GLuint64 fence_sync) { | 2740 void GenSyncTokenCHROMIUMImmediate(GLuint64 fence_sync) { |
2749 const uint32_t s = 0; | 2741 const uint32_t s = 0; |
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3189 uint32_t index_shm_id, | 3181 uint32_t index_shm_id, |
3190 uint32_t index_shm_offset) { | 3182 uint32_t index_shm_offset) { |
3191 gles2::cmds::GetFragDataIndexEXT* c = | 3183 gles2::cmds::GetFragDataIndexEXT* c = |
3192 GetCmdSpace<gles2::cmds::GetFragDataIndexEXT>(); | 3184 GetCmdSpace<gles2::cmds::GetFragDataIndexEXT>(); |
3193 if (c) { | 3185 if (c) { |
3194 c->Init(program, name_bucket_id, index_shm_id, index_shm_offset); | 3186 c->Init(program, name_bucket_id, index_shm_id, index_shm_offset); |
3195 } | 3187 } |
3196 } | 3188 } |
3197 | 3189 |
3198 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 3190 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
OLD | NEW |