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 2062 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2073 } | 2073 } |
2074 | 2074 |
2075 void LoseContextCHROMIUM(GLenum current, GLenum other) { | 2075 void LoseContextCHROMIUM(GLenum current, GLenum other) { |
2076 gles2::cmds::LoseContextCHROMIUM* c = | 2076 gles2::cmds::LoseContextCHROMIUM* c = |
2077 GetCmdSpace<gles2::cmds::LoseContextCHROMIUM>(); | 2077 GetCmdSpace<gles2::cmds::LoseContextCHROMIUM>(); |
2078 if (c) { | 2078 if (c) { |
2079 c->Init(current, other); | 2079 c->Init(current, other); |
2080 } | 2080 } |
2081 } | 2081 } |
2082 | 2082 |
2083 void WaitSyncPointCHROMIUM(GLuint sync_point) { | |
2084 gles2::cmds::WaitSyncPointCHROMIUM* c = | |
2085 GetCmdSpace<gles2::cmds::WaitSyncPointCHROMIUM>(); | |
2086 if (c) { | |
2087 c->Init(sync_point); | |
2088 } | |
2089 } | |
2090 | |
2091 void DrawBuffersEXTImmediate(GLsizei count, const GLenum* bufs) { | 2083 void DrawBuffersEXTImmediate(GLsizei count, const GLenum* bufs) { |
2092 const uint32_t size = | 2084 const uint32_t size = |
2093 gles2::cmds::DrawBuffersEXTImmediate::ComputeSize(count); | 2085 gles2::cmds::DrawBuffersEXTImmediate::ComputeSize(count); |
2094 gles2::cmds::DrawBuffersEXTImmediate* c = | 2086 gles2::cmds::DrawBuffersEXTImmediate* c = |
2095 GetImmediateCmdSpaceTotalSize<gles2::cmds::DrawBuffersEXTImmediate>(size); | 2087 GetImmediateCmdSpaceTotalSize<gles2::cmds::DrawBuffersEXTImmediate>(size); |
2096 if (c) { | 2088 if (c) { |
2097 c->Init(count, bufs); | 2089 c->Init(count, bufs); |
2098 } | 2090 } |
2099 } | 2091 } |
2100 | 2092 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2146 } | 2138 } |
2147 | 2139 |
2148 void BlendBarrierKHR() { | 2140 void BlendBarrierKHR() { |
2149 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); | 2141 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); |
2150 if (c) { | 2142 if (c) { |
2151 c->Init(); | 2143 c->Init(); |
2152 } | 2144 } |
2153 } | 2145 } |
2154 | 2146 |
2155 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 2147 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
OLD | NEW |