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