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 844 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
855 } | 855 } |
856 void GLES2VertexAttribDivisorANGLE(GLuint index, GLuint divisor) { | 856 void GLES2VertexAttribDivisorANGLE(GLuint index, GLuint divisor) { |
857 gles2::GetGLContext()->VertexAttribDivisorANGLE(index, divisor); | 857 gles2::GetGLContext()->VertexAttribDivisorANGLE(index, divisor); |
858 } | 858 } |
859 void GLES2GenMailboxCHROMIUM(GLbyte* mailbox) { | 859 void GLES2GenMailboxCHROMIUM(GLbyte* mailbox) { |
860 gles2::GetGLContext()->GenMailboxCHROMIUM(mailbox); | 860 gles2::GetGLContext()->GenMailboxCHROMIUM(mailbox); |
861 } | 861 } |
862 void GLES2ProduceTextureCHROMIUM(GLenum target, const GLbyte* mailbox) { | 862 void GLES2ProduceTextureCHROMIUM(GLenum target, const GLbyte* mailbox) { |
863 gles2::GetGLContext()->ProduceTextureCHROMIUM(target, mailbox); | 863 gles2::GetGLContext()->ProduceTextureCHROMIUM(target, mailbox); |
864 } | 864 } |
| 865 void GLES2ProduceTextureDirectCHROMIUM(GLuint texture, |
| 866 GLenum target, |
| 867 const GLbyte* mailbox) { |
| 868 gles2::GetGLContext()->ProduceTextureDirectCHROMIUM(texture, target, mailbox); |
| 869 } |
865 void GLES2ConsumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) { | 870 void GLES2ConsumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) { |
866 gles2::GetGLContext()->ConsumeTextureCHROMIUM(target, mailbox); | 871 gles2::GetGLContext()->ConsumeTextureCHROMIUM(target, mailbox); |
867 } | 872 } |
| 873 GLuint GLES2CreateAndConsumeTextureCHROMIUM(GLenum target, |
| 874 const GLbyte* mailbox) { |
| 875 return gles2::GetGLContext()->CreateAndConsumeTextureCHROMIUM(target, |
| 876 mailbox); |
| 877 } |
868 void GLES2BindUniformLocationCHROMIUM(GLuint program, | 878 void GLES2BindUniformLocationCHROMIUM(GLuint program, |
869 GLint location, | 879 GLint location, |
870 const char* name) { | 880 const char* name) { |
871 gles2::GetGLContext()->BindUniformLocationCHROMIUM(program, location, name); | 881 gles2::GetGLContext()->BindUniformLocationCHROMIUM(program, location, name); |
872 } | 882 } |
873 void GLES2BindTexImage2DCHROMIUM(GLenum target, GLint imageId) { | 883 void GLES2BindTexImage2DCHROMIUM(GLenum target, GLint imageId) { |
874 gles2::GetGLContext()->BindTexImage2DCHROMIUM(target, imageId); | 884 gles2::GetGLContext()->BindTexImage2DCHROMIUM(target, imageId); |
875 } | 885 } |
876 void GLES2ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) { | 886 void GLES2ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) { |
877 gles2::GetGLContext()->ReleaseTexImage2DCHROMIUM(target, imageId); | 887 gles2::GetGLContext()->ReleaseTexImage2DCHROMIUM(target, imageId); |
(...skipping 782 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1660 }, | 1670 }, |
1661 { | 1671 { |
1662 "glGenMailboxCHROMIUM", | 1672 "glGenMailboxCHROMIUM", |
1663 reinterpret_cast<GLES2FunctionPointer>(glGenMailboxCHROMIUM), | 1673 reinterpret_cast<GLES2FunctionPointer>(glGenMailboxCHROMIUM), |
1664 }, | 1674 }, |
1665 { | 1675 { |
1666 "glProduceTextureCHROMIUM", | 1676 "glProduceTextureCHROMIUM", |
1667 reinterpret_cast<GLES2FunctionPointer>(glProduceTextureCHROMIUM), | 1677 reinterpret_cast<GLES2FunctionPointer>(glProduceTextureCHROMIUM), |
1668 }, | 1678 }, |
1669 { | 1679 { |
| 1680 "glProduceTextureDirectCHROMIUM", |
| 1681 reinterpret_cast<GLES2FunctionPointer>(glProduceTextureDirectCHROMIUM), |
| 1682 }, |
| 1683 { |
1670 "glConsumeTextureCHROMIUM", | 1684 "glConsumeTextureCHROMIUM", |
1671 reinterpret_cast<GLES2FunctionPointer>(glConsumeTextureCHROMIUM), | 1685 reinterpret_cast<GLES2FunctionPointer>(glConsumeTextureCHROMIUM), |
1672 }, | 1686 }, |
1673 { | 1687 { |
| 1688 "glCreateAndConsumeTextureCHROMIUM", |
| 1689 reinterpret_cast<GLES2FunctionPointer>(glCreateAndConsumeTextureCHROMIUM), |
| 1690 }, |
| 1691 { |
1674 "glBindUniformLocationCHROMIUM", | 1692 "glBindUniformLocationCHROMIUM", |
1675 reinterpret_cast<GLES2FunctionPointer>(glBindUniformLocationCHROMIUM), | 1693 reinterpret_cast<GLES2FunctionPointer>(glBindUniformLocationCHROMIUM), |
1676 }, | 1694 }, |
1677 { | 1695 { |
1678 "glBindTexImage2DCHROMIUM", | 1696 "glBindTexImage2DCHROMIUM", |
1679 reinterpret_cast<GLES2FunctionPointer>(glBindTexImage2DCHROMIUM), | 1697 reinterpret_cast<GLES2FunctionPointer>(glBindTexImage2DCHROMIUM), |
1680 }, | 1698 }, |
1681 { | 1699 { |
1682 "glReleaseTexImage2DCHROMIUM", | 1700 "glReleaseTexImage2DCHROMIUM", |
1683 reinterpret_cast<GLES2FunctionPointer>(glReleaseTexImage2DCHROMIUM), | 1701 reinterpret_cast<GLES2FunctionPointer>(glReleaseTexImage2DCHROMIUM), |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1734 "glScheduleOverlayPlaneCHROMIUM", | 1752 "glScheduleOverlayPlaneCHROMIUM", |
1735 reinterpret_cast<GLES2FunctionPointer>(glScheduleOverlayPlaneCHROMIUM), | 1753 reinterpret_cast<GLES2FunctionPointer>(glScheduleOverlayPlaneCHROMIUM), |
1736 }, | 1754 }, |
1737 { | 1755 { |
1738 NULL, NULL, | 1756 NULL, NULL, |
1739 }, | 1757 }, |
1740 }; | 1758 }; |
1741 | 1759 |
1742 } // namespace gles2 | 1760 } // namespace gles2 |
1743 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 1761 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
OLD | NEW |