OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // DO NOT EDIT! | 7 // DO NOT EDIT! |
8 | 8 |
9 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 9 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
10 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 10 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
(...skipping 1201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1212 GetCmdSpace<gles2::GetRequestableExtensionsCHROMIUM>(); | 1212 GetCmdSpace<gles2::GetRequestableExtensionsCHROMIUM>(); |
1213 c.Init(bucket_id); | 1213 c.Init(bucket_id); |
1214 } | 1214 } |
1215 | 1215 |
1216 void RequestExtensionCHROMIUM(uint32 bucket_id) { | 1216 void RequestExtensionCHROMIUM(uint32 bucket_id) { |
1217 gles2::RequestExtensionCHROMIUM& c = | 1217 gles2::RequestExtensionCHROMIUM& c = |
1218 GetCmdSpace<gles2::RequestExtensionCHROMIUM>(); | 1218 GetCmdSpace<gles2::RequestExtensionCHROMIUM>(); |
1219 c.Init(bucket_id); | 1219 c.Init(bucket_id); |
1220 } | 1220 } |
1221 | 1221 |
| 1222 void SetLatchCHROMIUM(GLuint latch_id) { |
| 1223 gles2::SetLatchCHROMIUM& c = GetCmdSpace<gles2::SetLatchCHROMIUM>(); |
| 1224 c.Init(latch_id); |
| 1225 } |
| 1226 |
| 1227 void WaitLatchCHROMIUM(GLuint latch_id) { |
| 1228 gles2::WaitLatchCHROMIUM& c = GetCmdSpace<gles2::WaitLatchCHROMIUM>(); |
| 1229 c.Init(latch_id); |
| 1230 } |
| 1231 |
1222 void SetSurfaceCHROMIUM(GLint surface_id) { | 1232 void SetSurfaceCHROMIUM(GLint surface_id) { |
1223 gles2::SetSurfaceCHROMIUM& c = GetCmdSpace<gles2::SetSurfaceCHROMIUM>(); | 1233 gles2::SetSurfaceCHROMIUM& c = GetCmdSpace<gles2::SetSurfaceCHROMIUM>(); |
1224 c.Init(surface_id); | 1234 c.Init(surface_id); |
1225 } | 1235 } |
1226 | 1236 |
1227 void GetMultipleIntegervCHROMIUM( | 1237 void GetMultipleIntegervCHROMIUM( |
1228 uint32 pnames_shm_id, uint32 pnames_shm_offset, GLuint count, | 1238 uint32 pnames_shm_id, uint32 pnames_shm_offset, GLuint count, |
1229 uint32 results_shm_id, uint32 results_shm_offset, GLsizeiptr size) { | 1239 uint32 results_shm_id, uint32 results_shm_offset, GLsizeiptr size) { |
1230 gles2::GetMultipleIntegervCHROMIUM& c = | 1240 gles2::GetMultipleIntegervCHROMIUM& c = |
1231 GetCmdSpace<gles2::GetMultipleIntegervCHROMIUM>(); | 1241 GetCmdSpace<gles2::GetMultipleIntegervCHROMIUM>(); |
1232 c.Init( | 1242 c.Init( |
1233 pnames_shm_id, pnames_shm_offset, count, results_shm_id, | 1243 pnames_shm_id, pnames_shm_offset, count, results_shm_id, |
1234 results_shm_offset, size); | 1244 results_shm_offset, size); |
1235 } | 1245 } |
1236 | 1246 |
1237 void GetProgramInfoCHROMIUM(GLuint program, uint32 bucket_id) { | 1247 void GetProgramInfoCHROMIUM(GLuint program, uint32 bucket_id) { |
1238 gles2::GetProgramInfoCHROMIUM& c = | 1248 gles2::GetProgramInfoCHROMIUM& c = |
1239 GetCmdSpace<gles2::GetProgramInfoCHROMIUM>(); | 1249 GetCmdSpace<gles2::GetProgramInfoCHROMIUM>(); |
1240 c.Init(program, bucket_id); | 1250 c.Init(program, bucket_id); |
1241 } | 1251 } |
1242 | 1252 |
1243 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ | 1253 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |
1244 | 1254 |
OLD | NEW |