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 694 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
705 void GLES2SwapBuffers() { | 705 void GLES2SwapBuffers() { |
706 gles2::GetGLContext()->SwapBuffers(); | 706 gles2::GetGLContext()->SwapBuffers(); |
707 } | 707 } |
708 GLuint GLES2GetMaxValueInBufferCHROMIUM(GLuint buffer_id, | 708 GLuint GLES2GetMaxValueInBufferCHROMIUM(GLuint buffer_id, |
709 GLsizei count, | 709 GLsizei count, |
710 GLenum type, | 710 GLenum type, |
711 GLuint offset) { | 711 GLuint offset) { |
712 return gles2::GetGLContext()->GetMaxValueInBufferCHROMIUM( | 712 return gles2::GetGLContext()->GetMaxValueInBufferCHROMIUM( |
713 buffer_id, count, type, offset); | 713 buffer_id, count, type, offset); |
714 } | 714 } |
715 void GLES2GenSharedIdsCHROMIUM(GLuint namespace_id, | |
716 GLuint id_offset, | |
717 GLsizei n, | |
718 GLuint* ids) { | |
719 gles2::GetGLContext()->GenSharedIdsCHROMIUM(namespace_id, id_offset, n, ids); | |
720 } | |
721 void GLES2DeleteSharedIdsCHROMIUM(GLuint namespace_id, | |
722 GLsizei n, | |
723 const GLuint* ids) { | |
724 gles2::GetGLContext()->DeleteSharedIdsCHROMIUM(namespace_id, n, ids); | |
725 } | |
726 void GLES2RegisterSharedIdsCHROMIUM(GLuint namespace_id, | |
727 GLsizei n, | |
728 const GLuint* ids) { | |
729 gles2::GetGLContext()->RegisterSharedIdsCHROMIUM(namespace_id, n, ids); | |
730 } | |
731 GLboolean GLES2EnableFeatureCHROMIUM(const char* feature) { | 715 GLboolean GLES2EnableFeatureCHROMIUM(const char* feature) { |
732 return gles2::GetGLContext()->EnableFeatureCHROMIUM(feature); | 716 return gles2::GetGLContext()->EnableFeatureCHROMIUM(feature); |
733 } | 717 } |
734 void* GLES2MapBufferCHROMIUM(GLuint target, GLenum access) { | 718 void* GLES2MapBufferCHROMIUM(GLuint target, GLenum access) { |
735 return gles2::GetGLContext()->MapBufferCHROMIUM(target, access); | 719 return gles2::GetGLContext()->MapBufferCHROMIUM(target, access); |
736 } | 720 } |
737 GLboolean GLES2UnmapBufferCHROMIUM(GLuint target) { | 721 GLboolean GLES2UnmapBufferCHROMIUM(GLuint target) { |
738 return gles2::GetGLContext()->UnmapBufferCHROMIUM(target); | 722 return gles2::GetGLContext()->UnmapBufferCHROMIUM(target); |
739 } | 723 } |
740 void* GLES2MapImageCHROMIUM(GLuint image_id) { | 724 void* GLES2MapImageCHROMIUM(GLuint image_id) { |
(...skipping 899 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1640 }, | 1624 }, |
1641 { | 1625 { |
1642 "glSwapBuffers", | 1626 "glSwapBuffers", |
1643 reinterpret_cast<GLES2FunctionPointer>(glSwapBuffers), | 1627 reinterpret_cast<GLES2FunctionPointer>(glSwapBuffers), |
1644 }, | 1628 }, |
1645 { | 1629 { |
1646 "glGetMaxValueInBufferCHROMIUM", | 1630 "glGetMaxValueInBufferCHROMIUM", |
1647 reinterpret_cast<GLES2FunctionPointer>(glGetMaxValueInBufferCHROMIUM), | 1631 reinterpret_cast<GLES2FunctionPointer>(glGetMaxValueInBufferCHROMIUM), |
1648 }, | 1632 }, |
1649 { | 1633 { |
1650 "glGenSharedIdsCHROMIUM", | |
1651 reinterpret_cast<GLES2FunctionPointer>(glGenSharedIdsCHROMIUM), | |
1652 }, | |
1653 { | |
1654 "glDeleteSharedIdsCHROMIUM", | |
1655 reinterpret_cast<GLES2FunctionPointer>(glDeleteSharedIdsCHROMIUM), | |
1656 }, | |
1657 { | |
1658 "glRegisterSharedIdsCHROMIUM", | |
1659 reinterpret_cast<GLES2FunctionPointer>(glRegisterSharedIdsCHROMIUM), | |
1660 }, | |
1661 { | |
1662 "glEnableFeatureCHROMIUM", | 1634 "glEnableFeatureCHROMIUM", |
1663 reinterpret_cast<GLES2FunctionPointer>(glEnableFeatureCHROMIUM), | 1635 reinterpret_cast<GLES2FunctionPointer>(glEnableFeatureCHROMIUM), |
1664 }, | 1636 }, |
1665 { | 1637 { |
1666 "glMapBufferCHROMIUM", | 1638 "glMapBufferCHROMIUM", |
1667 reinterpret_cast<GLES2FunctionPointer>(glMapBufferCHROMIUM), | 1639 reinterpret_cast<GLES2FunctionPointer>(glMapBufferCHROMIUM), |
1668 }, | 1640 }, |
1669 { | 1641 { |
1670 "glUnmapBufferCHROMIUM", | 1642 "glUnmapBufferCHROMIUM", |
1671 reinterpret_cast<GLES2FunctionPointer>(glUnmapBufferCHROMIUM), | 1643 reinterpret_cast<GLES2FunctionPointer>(glUnmapBufferCHROMIUM), |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1856 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadIdentityCHROMIUM), | 1828 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadIdentityCHROMIUM), |
1857 }, | 1829 }, |
1858 { | 1830 { |
1859 NULL, | 1831 NULL, |
1860 NULL, | 1832 NULL, |
1861 }, | 1833 }, |
1862 }; | 1834 }; |
1863 | 1835 |
1864 } // namespace gles2 | 1836 } // namespace gles2 |
1865 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 1837 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
OLD | NEW |