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 1349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1360 gles2::GetGLContext()->CopySubTextureCHROMIUM( | 1360 gles2::GetGLContext()->CopySubTextureCHROMIUM( |
1361 source_id, dest_id, xoffset, yoffset, x, y, width, height, unpack_flip_y, | 1361 source_id, dest_id, xoffset, yoffset, x, y, width, height, unpack_flip_y, |
1362 unpack_premultiply_alpha, unpack_unmultiply_alpha); | 1362 unpack_premultiply_alpha, unpack_unmultiply_alpha); |
1363 } | 1363 } |
1364 void GL_APIENTRY GLES2CompressedCopyTextureCHROMIUM(GLenum target, | 1364 void GL_APIENTRY GLES2CompressedCopyTextureCHROMIUM(GLenum target, |
1365 GLenum source_id, | 1365 GLenum source_id, |
1366 GLenum dest_id) { | 1366 GLenum dest_id) { |
1367 gles2::GetGLContext()->CompressedCopyTextureCHROMIUM(target, source_id, | 1367 gles2::GetGLContext()->CompressedCopyTextureCHROMIUM(target, source_id, |
1368 dest_id); | 1368 dest_id); |
1369 } | 1369 } |
1370 void GL_APIENTRY GLES2CompressedCopySubTextureCHROMIUM(GLenum target, | |
1371 GLenum source_id, | |
1372 GLenum dest_id, | |
1373 GLint xoffset, | |
1374 GLint yoffset, | |
1375 GLint x, | |
1376 GLint y, | |
1377 GLsizei width, | |
1378 GLsizei height) { | |
1379 gles2::GetGLContext()->CompressedCopySubTextureCHROMIUM( | |
1380 target, source_id, dest_id, xoffset, yoffset, x, y, width, height); | |
1381 } | |
1382 void GL_APIENTRY GLES2DrawArraysInstancedANGLE(GLenum mode, | 1370 void GL_APIENTRY GLES2DrawArraysInstancedANGLE(GLenum mode, |
1383 GLint first, | 1371 GLint first, |
1384 GLsizei count, | 1372 GLsizei count, |
1385 GLsizei primcount) { | 1373 GLsizei primcount) { |
1386 gles2::GetGLContext()->DrawArraysInstancedANGLE(mode, first, count, | 1374 gles2::GetGLContext()->DrawArraysInstancedANGLE(mode, first, count, |
1387 primcount); | 1375 primcount); |
1388 } | 1376 } |
1389 void GL_APIENTRY GLES2DrawElementsInstancedANGLE(GLenum mode, | 1377 void GL_APIENTRY GLES2DrawElementsInstancedANGLE(GLenum mode, |
1390 GLsizei count, | 1378 GLsizei count, |
1391 GLenum type, | 1379 GLenum type, |
(...skipping 1357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2749 }, | 2737 }, |
2750 { | 2738 { |
2751 "glCopySubTextureCHROMIUM", | 2739 "glCopySubTextureCHROMIUM", |
2752 reinterpret_cast<GLES2FunctionPointer>(glCopySubTextureCHROMIUM), | 2740 reinterpret_cast<GLES2FunctionPointer>(glCopySubTextureCHROMIUM), |
2753 }, | 2741 }, |
2754 { | 2742 { |
2755 "glCompressedCopyTextureCHROMIUM", | 2743 "glCompressedCopyTextureCHROMIUM", |
2756 reinterpret_cast<GLES2FunctionPointer>(glCompressedCopyTextureCHROMIUM), | 2744 reinterpret_cast<GLES2FunctionPointer>(glCompressedCopyTextureCHROMIUM), |
2757 }, | 2745 }, |
2758 { | 2746 { |
2759 "glCompressedCopySubTextureCHROMIUM", | |
2760 reinterpret_cast<GLES2FunctionPointer>( | |
2761 glCompressedCopySubTextureCHROMIUM), | |
2762 }, | |
2763 { | |
2764 "glDrawArraysInstancedANGLE", | 2747 "glDrawArraysInstancedANGLE", |
2765 reinterpret_cast<GLES2FunctionPointer>(glDrawArraysInstancedANGLE), | 2748 reinterpret_cast<GLES2FunctionPointer>(glDrawArraysInstancedANGLE), |
2766 }, | 2749 }, |
2767 { | 2750 { |
2768 "glDrawElementsInstancedANGLE", | 2751 "glDrawElementsInstancedANGLE", |
2769 reinterpret_cast<GLES2FunctionPointer>(glDrawElementsInstancedANGLE), | 2752 reinterpret_cast<GLES2FunctionPointer>(glDrawElementsInstancedANGLE), |
2770 }, | 2753 }, |
2771 { | 2754 { |
2772 "glVertexAttribDivisorANGLE", | 2755 "glVertexAttribDivisorANGLE", |
2773 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribDivisorANGLE), | 2756 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribDivisorANGLE), |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3039 "glGetFragDataIndexEXT", | 3022 "glGetFragDataIndexEXT", |
3040 reinterpret_cast<GLES2FunctionPointer>(glGetFragDataIndexEXT), | 3023 reinterpret_cast<GLES2FunctionPointer>(glGetFragDataIndexEXT), |
3041 }, | 3024 }, |
3042 { | 3025 { |
3043 NULL, NULL, | 3026 NULL, NULL, |
3044 }, | 3027 }, |
3045 }; | 3028 }; |
3046 | 3029 |
3047 } // namespace gles2 | 3030 } // namespace gles2 |
3048 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 3031 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
OLD | NEW |