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 1356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1367 gles2::GetGLContext()->CopySubTextureCHROMIUM( | 1367 gles2::GetGLContext()->CopySubTextureCHROMIUM( |
1368 target, source_id, dest_id, xoffset, yoffset, x, y, width, height, | 1368 target, source_id, dest_id, xoffset, yoffset, x, y, width, height, |
1369 unpack_flip_y, unpack_premultiply_alpha, unpack_unmultiply_alpha); | 1369 unpack_flip_y, unpack_premultiply_alpha, unpack_unmultiply_alpha); |
1370 } | 1370 } |
1371 void GL_APIENTRY GLES2CompressedCopyTextureCHROMIUM(GLenum target, | 1371 void GL_APIENTRY GLES2CompressedCopyTextureCHROMIUM(GLenum target, |
1372 GLenum source_id, | 1372 GLenum source_id, |
1373 GLenum dest_id) { | 1373 GLenum dest_id) { |
1374 gles2::GetGLContext()->CompressedCopyTextureCHROMIUM(target, source_id, | 1374 gles2::GetGLContext()->CompressedCopyTextureCHROMIUM(target, source_id, |
1375 dest_id); | 1375 dest_id); |
1376 } | 1376 } |
| 1377 void GL_APIENTRY GLES2CompressedCopySubTextureCHROMIUM(GLenum target, |
| 1378 GLenum source_id, |
| 1379 GLenum dest_id, |
| 1380 GLint xoffset, |
| 1381 GLint yoffset, |
| 1382 GLint x, |
| 1383 GLint y, |
| 1384 GLsizei width, |
| 1385 GLsizei height) { |
| 1386 gles2::GetGLContext()->CompressedCopySubTextureCHROMIUM( |
| 1387 target, source_id, dest_id, xoffset, yoffset, x, y, width, height); |
| 1388 } |
1377 void GL_APIENTRY GLES2DrawArraysInstancedANGLE(GLenum mode, | 1389 void GL_APIENTRY GLES2DrawArraysInstancedANGLE(GLenum mode, |
1378 GLint first, | 1390 GLint first, |
1379 GLsizei count, | 1391 GLsizei count, |
1380 GLsizei primcount) { | 1392 GLsizei primcount) { |
1381 gles2::GetGLContext()->DrawArraysInstancedANGLE(mode, first, count, | 1393 gles2::GetGLContext()->DrawArraysInstancedANGLE(mode, first, count, |
1382 primcount); | 1394 primcount); |
1383 } | 1395 } |
1384 void GL_APIENTRY GLES2DrawElementsInstancedANGLE(GLenum mode, | 1396 void GL_APIENTRY GLES2DrawElementsInstancedANGLE(GLenum mode, |
1385 GLsizei count, | 1397 GLsizei count, |
1386 GLenum type, | 1398 GLenum type, |
(...skipping 1247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2634 }, | 2646 }, |
2635 { | 2647 { |
2636 "glCopySubTextureCHROMIUM", | 2648 "glCopySubTextureCHROMIUM", |
2637 reinterpret_cast<GLES2FunctionPointer>(glCopySubTextureCHROMIUM), | 2649 reinterpret_cast<GLES2FunctionPointer>(glCopySubTextureCHROMIUM), |
2638 }, | 2650 }, |
2639 { | 2651 { |
2640 "glCompressedCopyTextureCHROMIUM", | 2652 "glCompressedCopyTextureCHROMIUM", |
2641 reinterpret_cast<GLES2FunctionPointer>(glCompressedCopyTextureCHROMIUM), | 2653 reinterpret_cast<GLES2FunctionPointer>(glCompressedCopyTextureCHROMIUM), |
2642 }, | 2654 }, |
2643 { | 2655 { |
| 2656 "glCompressedCopySubTextureCHROMIUM", |
| 2657 reinterpret_cast<GLES2FunctionPointer>( |
| 2658 glCompressedCopySubTextureCHROMIUM), |
| 2659 }, |
| 2660 { |
2644 "glDrawArraysInstancedANGLE", | 2661 "glDrawArraysInstancedANGLE", |
2645 reinterpret_cast<GLES2FunctionPointer>(glDrawArraysInstancedANGLE), | 2662 reinterpret_cast<GLES2FunctionPointer>(glDrawArraysInstancedANGLE), |
2646 }, | 2663 }, |
2647 { | 2664 { |
2648 "glDrawElementsInstancedANGLE", | 2665 "glDrawElementsInstancedANGLE", |
2649 reinterpret_cast<GLES2FunctionPointer>(glDrawElementsInstancedANGLE), | 2666 reinterpret_cast<GLES2FunctionPointer>(glDrawElementsInstancedANGLE), |
2650 }, | 2667 }, |
2651 { | 2668 { |
2652 "glVertexAttribDivisorANGLE", | 2669 "glVertexAttribDivisorANGLE", |
2653 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribDivisorANGLE), | 2670 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribDivisorANGLE), |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2845 "glBlendBarrierKHR", | 2862 "glBlendBarrierKHR", |
2846 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), | 2863 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), |
2847 }, | 2864 }, |
2848 { | 2865 { |
2849 NULL, NULL, | 2866 NULL, NULL, |
2850 }, | 2867 }, |
2851 }; | 2868 }; |
2852 | 2869 |
2853 } // namespace gles2 | 2870 } // namespace gles2 |
2854 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 2871 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
OLD | NEW |