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 1140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1151 GLsizei width, | 1151 GLsizei width, |
1152 GLsizei height, | 1152 GLsizei height, |
1153 GLuint ioSurfaceId, | 1153 GLuint ioSurfaceId, |
1154 GLuint plane) { | 1154 GLuint plane) { |
1155 gles2::GetGLContext()->TexImageIOSurface2DCHROMIUM(target, width, height, | 1155 gles2::GetGLContext()->TexImageIOSurface2DCHROMIUM(target, width, height, |
1156 ioSurfaceId, plane); | 1156 ioSurfaceId, plane); |
1157 } | 1157 } |
1158 void GLES2CopyTextureCHROMIUM(GLenum target, | 1158 void GLES2CopyTextureCHROMIUM(GLenum target, |
1159 GLenum source_id, | 1159 GLenum source_id, |
1160 GLenum dest_id, | 1160 GLenum dest_id, |
1161 GLint level, | |
1162 GLint internalformat, | 1161 GLint internalformat, |
1163 GLenum dest_type) { | 1162 GLenum dest_type) { |
1164 gles2::GetGLContext()->CopyTextureCHROMIUM(target, source_id, dest_id, level, | 1163 gles2::GetGLContext()->CopyTextureCHROMIUM(target, source_id, dest_id, |
1165 internalformat, dest_type); | 1164 internalformat, dest_type); |
1166 } | 1165 } |
| 1166 void GLES2CopySubTextureCHROMIUM(GLenum target, |
| 1167 GLenum source_id, |
| 1168 GLenum dest_id, |
| 1169 GLint xoffset, |
| 1170 GLint yoffset) { |
| 1171 gles2::GetGLContext()->CopySubTextureCHROMIUM(target, source_id, dest_id, |
| 1172 xoffset, yoffset); |
| 1173 } |
1167 void GLES2DrawArraysInstancedANGLE(GLenum mode, | 1174 void GLES2DrawArraysInstancedANGLE(GLenum mode, |
1168 GLint first, | 1175 GLint first, |
1169 GLsizei count, | 1176 GLsizei count, |
1170 GLsizei primcount) { | 1177 GLsizei primcount) { |
1171 gles2::GetGLContext()->DrawArraysInstancedANGLE(mode, first, count, | 1178 gles2::GetGLContext()->DrawArraysInstancedANGLE(mode, first, count, |
1172 primcount); | 1179 primcount); |
1173 } | 1180 } |
1174 void GLES2DrawElementsInstancedANGLE(GLenum mode, | 1181 void GLES2DrawElementsInstancedANGLE(GLenum mode, |
1175 GLsizei count, | 1182 GLsizei count, |
1176 GLenum type, | 1183 GLenum type, |
(...skipping 1177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2354 }, | 2361 }, |
2355 { | 2362 { |
2356 "glTexImageIOSurface2DCHROMIUM", | 2363 "glTexImageIOSurface2DCHROMIUM", |
2357 reinterpret_cast<GLES2FunctionPointer>(glTexImageIOSurface2DCHROMIUM), | 2364 reinterpret_cast<GLES2FunctionPointer>(glTexImageIOSurface2DCHROMIUM), |
2358 }, | 2365 }, |
2359 { | 2366 { |
2360 "glCopyTextureCHROMIUM", | 2367 "glCopyTextureCHROMIUM", |
2361 reinterpret_cast<GLES2FunctionPointer>(glCopyTextureCHROMIUM), | 2368 reinterpret_cast<GLES2FunctionPointer>(glCopyTextureCHROMIUM), |
2362 }, | 2369 }, |
2363 { | 2370 { |
| 2371 "glCopySubTextureCHROMIUM", |
| 2372 reinterpret_cast<GLES2FunctionPointer>(glCopySubTextureCHROMIUM), |
| 2373 }, |
| 2374 { |
2364 "glDrawArraysInstancedANGLE", | 2375 "glDrawArraysInstancedANGLE", |
2365 reinterpret_cast<GLES2FunctionPointer>(glDrawArraysInstancedANGLE), | 2376 reinterpret_cast<GLES2FunctionPointer>(glDrawArraysInstancedANGLE), |
2366 }, | 2377 }, |
2367 { | 2378 { |
2368 "glDrawElementsInstancedANGLE", | 2379 "glDrawElementsInstancedANGLE", |
2369 reinterpret_cast<GLES2FunctionPointer>(glDrawElementsInstancedANGLE), | 2380 reinterpret_cast<GLES2FunctionPointer>(glDrawElementsInstancedANGLE), |
2370 }, | 2381 }, |
2371 { | 2382 { |
2372 "glVertexAttribDivisorANGLE", | 2383 "glVertexAttribDivisorANGLE", |
2373 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribDivisorANGLE), | 2384 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribDivisorANGLE), |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2501 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), | 2512 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), |
2502 }, | 2513 }, |
2503 { | 2514 { |
2504 NULL, | 2515 NULL, |
2505 NULL, | 2516 NULL, |
2506 }, | 2517 }, |
2507 }; | 2518 }; |
2508 | 2519 |
2509 } // namespace gles2 | 2520 } // namespace gles2 |
2510 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 2521 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
OLD | NEW |