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 1724 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1735 &VertexAttrib3fv, | 1735 &VertexAttrib3fv, |
1736 &VertexAttrib4f, | 1736 &VertexAttrib4f, |
1737 &VertexAttrib4fv, | 1737 &VertexAttrib4fv, |
1738 &VertexAttribPointer, | 1738 &VertexAttribPointer, |
1739 &Viewport}; | 1739 &Viewport}; |
1740 return &ppb_opengles2; | 1740 return &ppb_opengles2; |
1741 } | 1741 } |
1742 const PPB_OpenGLES2InstancedArrays* | 1742 const PPB_OpenGLES2InstancedArrays* |
1743 PPB_OpenGLES2_Shared::GetInstancedArraysInterface() { | 1743 PPB_OpenGLES2_Shared::GetInstancedArraysInterface() { |
1744 static const struct PPB_OpenGLES2InstancedArrays ppb_opengles2 = { | 1744 static const struct PPB_OpenGLES2InstancedArrays ppb_opengles2 = { |
1745 &DrawArraysInstancedANGLE, | 1745 &DrawArraysInstancedANGLE, &DrawElementsInstancedANGLE, |
1746 &DrawElementsInstancedANGLE, | |
1747 &VertexAttribDivisorANGLE}; | 1746 &VertexAttribDivisorANGLE}; |
1748 return &ppb_opengles2; | 1747 return &ppb_opengles2; |
1749 } | 1748 } |
1750 const PPB_OpenGLES2FramebufferBlit* | 1749 const PPB_OpenGLES2FramebufferBlit* |
1751 PPB_OpenGLES2_Shared::GetFramebufferBlitInterface() { | 1750 PPB_OpenGLES2_Shared::GetFramebufferBlitInterface() { |
1752 static const struct PPB_OpenGLES2FramebufferBlit ppb_opengles2 = { | 1751 static const struct PPB_OpenGLES2FramebufferBlit ppb_opengles2 = { |
1753 &BlitFramebufferEXT}; | 1752 &BlitFramebufferEXT}; |
1754 return &ppb_opengles2; | 1753 return &ppb_opengles2; |
1755 } | 1754 } |
1756 const PPB_OpenGLES2FramebufferMultisample* | 1755 const PPB_OpenGLES2FramebufferMultisample* |
1757 PPB_OpenGLES2_Shared::GetFramebufferMultisampleInterface() { | 1756 PPB_OpenGLES2_Shared::GetFramebufferMultisampleInterface() { |
1758 static const struct PPB_OpenGLES2FramebufferMultisample ppb_opengles2 = { | 1757 static const struct PPB_OpenGLES2FramebufferMultisample ppb_opengles2 = { |
1759 &RenderbufferStorageMultisampleEXT}; | 1758 &RenderbufferStorageMultisampleEXT}; |
1760 return &ppb_opengles2; | 1759 return &ppb_opengles2; |
1761 } | 1760 } |
1762 const PPB_OpenGLES2ChromiumEnableFeature* | 1761 const PPB_OpenGLES2ChromiumEnableFeature* |
1763 PPB_OpenGLES2_Shared::GetChromiumEnableFeatureInterface() { | 1762 PPB_OpenGLES2_Shared::GetChromiumEnableFeatureInterface() { |
1764 static const struct PPB_OpenGLES2ChromiumEnableFeature ppb_opengles2 = { | 1763 static const struct PPB_OpenGLES2ChromiumEnableFeature ppb_opengles2 = { |
1765 &EnableFeatureCHROMIUM}; | 1764 &EnableFeatureCHROMIUM}; |
1766 return &ppb_opengles2; | 1765 return &ppb_opengles2; |
1767 } | 1766 } |
1768 const PPB_OpenGLES2ChromiumMapSub* | 1767 const PPB_OpenGLES2ChromiumMapSub* |
1769 PPB_OpenGLES2_Shared::GetChromiumMapSubInterface() { | 1768 PPB_OpenGLES2_Shared::GetChromiumMapSubInterface() { |
1770 static const struct PPB_OpenGLES2ChromiumMapSub ppb_opengles2 = { | 1769 static const struct PPB_OpenGLES2ChromiumMapSub ppb_opengles2 = { |
1771 &MapBufferSubDataCHROMIUM, | 1770 &MapBufferSubDataCHROMIUM, &UnmapBufferSubDataCHROMIUM, |
1772 &UnmapBufferSubDataCHROMIUM, | 1771 &MapTexSubImage2DCHROMIUM, &UnmapTexSubImage2DCHROMIUM}; |
1773 &MapTexSubImage2DCHROMIUM, | |
1774 &UnmapTexSubImage2DCHROMIUM}; | |
1775 return &ppb_opengles2; | 1772 return &ppb_opengles2; |
1776 } | 1773 } |
1777 const PPB_OpenGLES2Query* PPB_OpenGLES2_Shared::GetQueryInterface() { | 1774 const PPB_OpenGLES2Query* PPB_OpenGLES2_Shared::GetQueryInterface() { |
1778 static const struct PPB_OpenGLES2Query ppb_opengles2 = { | 1775 static const struct PPB_OpenGLES2Query ppb_opengles2 = { |
1779 &GenQueriesEXT, | 1776 &GenQueriesEXT, &DeleteQueriesEXT, &IsQueryEXT, &BeginQueryEXT, |
1780 &DeleteQueriesEXT, | 1777 &EndQueryEXT, &GetQueryivEXT, &GetQueryObjectuivEXT}; |
1781 &IsQueryEXT, | |
1782 &BeginQueryEXT, | |
1783 &EndQueryEXT, | |
1784 &GetQueryivEXT, | |
1785 &GetQueryObjectuivEXT}; | |
1786 return &ppb_opengles2; | 1778 return &ppb_opengles2; |
1787 } | 1779 } |
1788 const PPB_OpenGLES2VertexArrayObject* | 1780 const PPB_OpenGLES2VertexArrayObject* |
1789 PPB_OpenGLES2_Shared::GetVertexArrayObjectInterface() { | 1781 PPB_OpenGLES2_Shared::GetVertexArrayObjectInterface() { |
1790 static const struct PPB_OpenGLES2VertexArrayObject ppb_opengles2 = { | 1782 static const struct PPB_OpenGLES2VertexArrayObject ppb_opengles2 = { |
1791 &GenVertexArraysOES, | 1783 &GenVertexArraysOES, &DeleteVertexArraysOES, &IsVertexArrayOES, |
1792 &DeleteVertexArraysOES, | |
1793 &IsVertexArrayOES, | |
1794 &BindVertexArrayOES}; | 1784 &BindVertexArrayOES}; |
1795 return &ppb_opengles2; | 1785 return &ppb_opengles2; |
1796 } | 1786 } |
1797 const PPB_OpenGLES2DrawBuffers_Dev* | 1787 const PPB_OpenGLES2DrawBuffers_Dev* |
1798 PPB_OpenGLES2_Shared::GetDrawBuffersInterface() { | 1788 PPB_OpenGLES2_Shared::GetDrawBuffersInterface() { |
1799 static const struct PPB_OpenGLES2DrawBuffers_Dev ppb_opengles2 = { | 1789 static const struct PPB_OpenGLES2DrawBuffers_Dev ppb_opengles2 = { |
1800 &DrawBuffersEXT}; | 1790 &DrawBuffersEXT}; |
1801 return &ppb_opengles2; | 1791 return &ppb_opengles2; |
1802 } | 1792 } |
1803 } // namespace ppapi | 1793 } // namespace ppapi |
OLD | NEW |