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 733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
744 } | 744 } |
745 const GLchar* GLES2GetRequestableExtensionsCHROMIUM() { | 745 const GLchar* GLES2GetRequestableExtensionsCHROMIUM() { |
746 return gles2::GetGLContext()->GetRequestableExtensionsCHROMIUM(); | 746 return gles2::GetGLContext()->GetRequestableExtensionsCHROMIUM(); |
747 } | 747 } |
748 void GLES2RequestExtensionCHROMIUM(const char* extension) { | 748 void GLES2RequestExtensionCHROMIUM(const char* extension) { |
749 gles2::GetGLContext()->RequestExtensionCHROMIUM(extension); | 749 gles2::GetGLContext()->RequestExtensionCHROMIUM(extension); |
750 } | 750 } |
751 void GLES2RateLimitOffscreenContextCHROMIUM() { | 751 void GLES2RateLimitOffscreenContextCHROMIUM() { |
752 gles2::GetGLContext()->RateLimitOffscreenContextCHROMIUM(); | 752 gles2::GetGLContext()->RateLimitOffscreenContextCHROMIUM(); |
753 } | 753 } |
754 void GLES2GetMultipleIntegervCHROMIUM(const GLenum* pnames, | |
755 GLuint count, | |
756 GLint* results, | |
757 GLsizeiptr size) { | |
758 gles2::GetGLContext()->GetMultipleIntegervCHROMIUM(pnames, count, results, | |
759 size); | |
760 } | |
761 void GLES2GetProgramInfoCHROMIUM(GLuint program, | 754 void GLES2GetProgramInfoCHROMIUM(GLuint program, |
762 GLsizei bufsize, | 755 GLsizei bufsize, |
763 GLsizei* size, | 756 GLsizei* size, |
764 void* info) { | 757 void* info) { |
765 gles2::GetGLContext()->GetProgramInfoCHROMIUM(program, bufsize, size, info); | 758 gles2::GetGLContext()->GetProgramInfoCHROMIUM(program, bufsize, size, info); |
766 } | 759 } |
767 GLuint GLES2CreateStreamTextureCHROMIUM(GLuint texture) { | 760 GLuint GLES2CreateStreamTextureCHROMIUM(GLuint texture) { |
768 return gles2::GetGLContext()->CreateStreamTextureCHROMIUM(texture); | 761 return gles2::GetGLContext()->CreateStreamTextureCHROMIUM(texture); |
769 } | 762 } |
770 GLuint GLES2CreateImageCHROMIUM(ClientBuffer buffer, | 763 GLuint GLES2CreateImageCHROMIUM(ClientBuffer buffer, |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
846 GLuint GLES2CreateAndConsumeTextureCHROMIUM(GLenum target, | 839 GLuint GLES2CreateAndConsumeTextureCHROMIUM(GLenum target, |
847 const GLbyte* mailbox) { | 840 const GLbyte* mailbox) { |
848 return gles2::GetGLContext()->CreateAndConsumeTextureCHROMIUM(target, | 841 return gles2::GetGLContext()->CreateAndConsumeTextureCHROMIUM(target, |
849 mailbox); | 842 mailbox); |
850 } | 843 } |
851 void GLES2BindUniformLocationCHROMIUM(GLuint program, | 844 void GLES2BindUniformLocationCHROMIUM(GLuint program, |
852 GLint location, | 845 GLint location, |
853 const char* name) { | 846 const char* name) { |
854 gles2::GetGLContext()->BindUniformLocationCHROMIUM(program, location, name); | 847 gles2::GetGLContext()->BindUniformLocationCHROMIUM(program, location, name); |
855 } | 848 } |
| 849 void GLES2GenValuebuffersCHROMIUM(GLsizei n, GLuint* buffers) { |
| 850 gles2::GetGLContext()->GenValuebuffersCHROMIUM(n, buffers); |
| 851 } |
| 852 void GLES2DeleteValuebuffersCHROMIUM(GLsizei n, const GLuint* valuebuffers) { |
| 853 gles2::GetGLContext()->DeleteValuebuffersCHROMIUM(n, valuebuffers); |
| 854 } |
| 855 GLboolean GLES2IsValuebufferCHROMIUM(GLuint valuebuffer) { |
| 856 return gles2::GetGLContext()->IsValuebufferCHROMIUM(valuebuffer); |
| 857 } |
| 858 void GLES2BindValuebufferCHROMIUM(GLenum target, GLuint valuebuffer) { |
| 859 gles2::GetGLContext()->BindValuebufferCHROMIUM(target, valuebuffer); |
| 860 } |
| 861 void GLES2SubscribeValueCHROMIUM(GLenum target, GLenum subscription) { |
| 862 gles2::GetGLContext()->SubscribeValueCHROMIUM(target, subscription); |
| 863 } |
| 864 void GLES2PopulateSubscribedValuesCHROMIUM(GLenum target) { |
| 865 gles2::GetGLContext()->PopulateSubscribedValuesCHROMIUM(target); |
| 866 } |
| 867 void GLES2UniformValuebufferCHROMIUM(GLint location, |
| 868 GLenum target, |
| 869 GLenum subscription) { |
| 870 gles2::GetGLContext()->UniformValuebufferCHROMIUM(location, target, |
| 871 subscription); |
| 872 } |
856 void GLES2BindTexImage2DCHROMIUM(GLenum target, GLint imageId) { | 873 void GLES2BindTexImage2DCHROMIUM(GLenum target, GLint imageId) { |
857 gles2::GetGLContext()->BindTexImage2DCHROMIUM(target, imageId); | 874 gles2::GetGLContext()->BindTexImage2DCHROMIUM(target, imageId); |
858 } | 875 } |
859 void GLES2ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) { | 876 void GLES2ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) { |
860 gles2::GetGLContext()->ReleaseTexImage2DCHROMIUM(target, imageId); | 877 gles2::GetGLContext()->ReleaseTexImage2DCHROMIUM(target, imageId); |
861 } | 878 } |
862 void GLES2TraceBeginCHROMIUM(const char* name) { | 879 void GLES2TraceBeginCHROMIUM(const char* name) { |
863 gles2::GetGLContext()->TraceBeginCHROMIUM(name); | 880 gles2::GetGLContext()->TraceBeginCHROMIUM(name); |
864 } | 881 } |
865 void GLES2TraceEndCHROMIUM() { | 882 void GLES2TraceEndCHROMIUM() { |
(...skipping 781 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1647 { | 1664 { |
1648 "glRequestExtensionCHROMIUM", | 1665 "glRequestExtensionCHROMIUM", |
1649 reinterpret_cast<GLES2FunctionPointer>(glRequestExtensionCHROMIUM), | 1666 reinterpret_cast<GLES2FunctionPointer>(glRequestExtensionCHROMIUM), |
1650 }, | 1667 }, |
1651 { | 1668 { |
1652 "glRateLimitOffscreenContextCHROMIUM", | 1669 "glRateLimitOffscreenContextCHROMIUM", |
1653 reinterpret_cast<GLES2FunctionPointer>( | 1670 reinterpret_cast<GLES2FunctionPointer>( |
1654 glRateLimitOffscreenContextCHROMIUM), | 1671 glRateLimitOffscreenContextCHROMIUM), |
1655 }, | 1672 }, |
1656 { | 1673 { |
1657 "glGetMultipleIntegervCHROMIUM", | |
1658 reinterpret_cast<GLES2FunctionPointer>(glGetMultipleIntegervCHROMIUM), | |
1659 }, | |
1660 { | |
1661 "glGetProgramInfoCHROMIUM", | 1674 "glGetProgramInfoCHROMIUM", |
1662 reinterpret_cast<GLES2FunctionPointer>(glGetProgramInfoCHROMIUM), | 1675 reinterpret_cast<GLES2FunctionPointer>(glGetProgramInfoCHROMIUM), |
1663 }, | 1676 }, |
1664 { | 1677 { |
1665 "glCreateStreamTextureCHROMIUM", | 1678 "glCreateStreamTextureCHROMIUM", |
1666 reinterpret_cast<GLES2FunctionPointer>(glCreateStreamTextureCHROMIUM), | 1679 reinterpret_cast<GLES2FunctionPointer>(glCreateStreamTextureCHROMIUM), |
1667 }, | 1680 }, |
1668 { | 1681 { |
1669 "glCreateImageCHROMIUM", | 1682 "glCreateImageCHROMIUM", |
1670 reinterpret_cast<GLES2FunctionPointer>(glCreateImageCHROMIUM), | 1683 reinterpret_cast<GLES2FunctionPointer>(glCreateImageCHROMIUM), |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1724 }, | 1737 }, |
1725 { | 1738 { |
1726 "glCreateAndConsumeTextureCHROMIUM", | 1739 "glCreateAndConsumeTextureCHROMIUM", |
1727 reinterpret_cast<GLES2FunctionPointer>(glCreateAndConsumeTextureCHROMIUM), | 1740 reinterpret_cast<GLES2FunctionPointer>(glCreateAndConsumeTextureCHROMIUM), |
1728 }, | 1741 }, |
1729 { | 1742 { |
1730 "glBindUniformLocationCHROMIUM", | 1743 "glBindUniformLocationCHROMIUM", |
1731 reinterpret_cast<GLES2FunctionPointer>(glBindUniformLocationCHROMIUM), | 1744 reinterpret_cast<GLES2FunctionPointer>(glBindUniformLocationCHROMIUM), |
1732 }, | 1745 }, |
1733 { | 1746 { |
| 1747 "glGenValuebuffersCHROMIUM", |
| 1748 reinterpret_cast<GLES2FunctionPointer>(glGenValuebuffersCHROMIUM), |
| 1749 }, |
| 1750 { |
| 1751 "glDeleteValuebuffersCHROMIUM", |
| 1752 reinterpret_cast<GLES2FunctionPointer>(glDeleteValuebuffersCHROMIUM), |
| 1753 }, |
| 1754 { |
| 1755 "glIsValuebufferCHROMIUM", |
| 1756 reinterpret_cast<GLES2FunctionPointer>(glIsValuebufferCHROMIUM), |
| 1757 }, |
| 1758 { |
| 1759 "glBindValuebufferCHROMIUM", |
| 1760 reinterpret_cast<GLES2FunctionPointer>(glBindValuebufferCHROMIUM), |
| 1761 }, |
| 1762 { |
| 1763 "glSubscribeValueCHROMIUM", |
| 1764 reinterpret_cast<GLES2FunctionPointer>(glSubscribeValueCHROMIUM), |
| 1765 }, |
| 1766 { |
| 1767 "glPopulateSubscribedValuesCHROMIUM", |
| 1768 reinterpret_cast<GLES2FunctionPointer>(glPopulateSubscribedValuesCHROMIUM), |
| 1769 }, |
| 1770 { |
| 1771 "glUniformValuebufferCHROMIUM", |
| 1772 reinterpret_cast<GLES2FunctionPointer>(glUniformValuebufferCHROMIUM), |
| 1773 }, |
| 1774 { |
1734 "glBindTexImage2DCHROMIUM", | 1775 "glBindTexImage2DCHROMIUM", |
1735 reinterpret_cast<GLES2FunctionPointer>(glBindTexImage2DCHROMIUM), | 1776 reinterpret_cast<GLES2FunctionPointer>(glBindTexImage2DCHROMIUM), |
1736 }, | 1777 }, |
1737 { | 1778 { |
1738 "glReleaseTexImage2DCHROMIUM", | 1779 "glReleaseTexImage2DCHROMIUM", |
1739 reinterpret_cast<GLES2FunctionPointer>(glReleaseTexImage2DCHROMIUM), | 1780 reinterpret_cast<GLES2FunctionPointer>(glReleaseTexImage2DCHROMIUM), |
1740 }, | 1781 }, |
1741 { | 1782 { |
1742 "glTraceBeginCHROMIUM", | 1783 "glTraceBeginCHROMIUM", |
1743 reinterpret_cast<GLES2FunctionPointer>(glTraceBeginCHROMIUM), | 1784 reinterpret_cast<GLES2FunctionPointer>(glTraceBeginCHROMIUM), |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1803 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), | 1844 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), |
1804 }, | 1845 }, |
1805 { | 1846 { |
1806 NULL, | 1847 NULL, |
1807 NULL, | 1848 NULL, |
1808 }, | 1849 }, |
1809 }; | 1850 }; |
1810 | 1851 |
1811 } // namespace gles2 | 1852 } // namespace gles2 |
1812 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 1853 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
OLD | NEW |