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