OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // DO NOT EDIT! | 7 // DO NOT EDIT! |
8 | 8 |
9 #include "native_client/src/shared/ppapi_proxy/plugin_ppb_graphics_3d.h" | 9 #include "native_client/src/shared/ppapi_proxy/plugin_ppb_graphics_3d.h" |
10 | 10 |
(...skipping 845 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
856 &VertexAttrib2fv, | 856 &VertexAttrib2fv, |
857 &VertexAttrib3f, | 857 &VertexAttrib3f, |
858 &VertexAttrib3fv, | 858 &VertexAttrib3fv, |
859 &VertexAttrib4f, | 859 &VertexAttrib4f, |
860 &VertexAttrib4fv, | 860 &VertexAttrib4fv, |
861 &VertexAttribPointer, | 861 &VertexAttribPointer, |
862 &Viewport | 862 &Viewport |
863 }; | 863 }; |
864 return &ppb_opengles; | 864 return &ppb_opengles; |
865 } | 865 } |
866 const PPB_OpenGLES2InstancedArrays_Dev* PluginGraphics3D::GetOpenGLESInstancedAr
raysInterface() { // NOLINT | 866 const PPB_OpenGLES2InstancedArrays* PluginGraphics3D::GetOpenGLESInstancedArrays
Interface() { // NOLINT |
867 const static struct PPB_OpenGLES2InstancedArrays_Dev ppb_opengles = { | 867 const static struct PPB_OpenGLES2InstancedArrays ppb_opengles = { |
868 &DrawArraysInstancedANGLE, | 868 &DrawArraysInstancedANGLE, |
869 &DrawElementsInstancedANGLE, | 869 &DrawElementsInstancedANGLE, |
870 &VertexAttribDivisorANGLE | 870 &VertexAttribDivisorANGLE |
871 }; | 871 }; |
872 return &ppb_opengles; | 872 return &ppb_opengles; |
873 } | 873 } |
874 const PPB_OpenGLES2FramebufferBlit_Dev* PluginGraphics3D::GetOpenGLESFramebuffer
BlitInterface() { // NOLINT | 874 const PPB_OpenGLES2FramebufferBlit* PluginGraphics3D::GetOpenGLESFramebufferBlit
Interface() { // NOLINT |
875 const static struct PPB_OpenGLES2FramebufferBlit_Dev ppb_opengles = { | 875 const static struct PPB_OpenGLES2FramebufferBlit ppb_opengles = { |
876 &BlitFramebufferEXT | 876 &BlitFramebufferEXT |
877 }; | 877 }; |
878 return &ppb_opengles; | 878 return &ppb_opengles; |
879 } | 879 } |
880 const PPB_OpenGLES2FramebufferMultisample_Dev* PluginGraphics3D::GetOpenGLESFram
ebufferMultisampleInterface() { // NOLINT | 880 const PPB_OpenGLES2FramebufferMultisample* PluginGraphics3D::GetOpenGLESFramebuf
ferMultisampleInterface() { // NOLINT |
881 const static struct PPB_OpenGLES2FramebufferMultisample_Dev ppb_opengles = { | 881 const static struct PPB_OpenGLES2FramebufferMultisample ppb_opengles = { |
882 &RenderbufferStorageMultisampleEXT | 882 &RenderbufferStorageMultisampleEXT |
883 }; | 883 }; |
884 return &ppb_opengles; | 884 return &ppb_opengles; |
885 } | 885 } |
886 const PPB_OpenGLES2ChromiumEnableFeature_Dev* PluginGraphics3D::GetOpenGLESChrom
iumEnableFeatureInterface() { // NOLINT | 886 const PPB_OpenGLES2ChromiumEnableFeature* PluginGraphics3D::GetOpenGLESChromiumE
nableFeatureInterface() { // NOLINT |
887 const static struct PPB_OpenGLES2ChromiumEnableFeature_Dev ppb_opengles = { | 887 const static struct PPB_OpenGLES2ChromiumEnableFeature ppb_opengles = { |
888 &EnableFeatureCHROMIUM | 888 &EnableFeatureCHROMIUM |
889 }; | 889 }; |
890 return &ppb_opengles; | 890 return &ppb_opengles; |
891 } | 891 } |
892 const PPB_OpenGLES2ChromiumMapSub_Dev* PluginGraphics3D::GetOpenGLESChromiumMapS
ubInterface() { // NOLINT | 892 const PPB_OpenGLES2ChromiumMapSub* PluginGraphics3D::GetOpenGLESChromiumMapSubIn
terface() { // NOLINT |
893 const static struct PPB_OpenGLES2ChromiumMapSub_Dev ppb_opengles = { | 893 const static struct PPB_OpenGLES2ChromiumMapSub ppb_opengles = { |
894 &MapBufferSubDataCHROMIUM, | 894 &MapBufferSubDataCHROMIUM, |
895 &UnmapBufferSubDataCHROMIUM, | 895 &UnmapBufferSubDataCHROMIUM, |
896 &MapTexSubImage2DCHROMIUM, | 896 &MapTexSubImage2DCHROMIUM, |
897 &UnmapTexSubImage2DCHROMIUM | 897 &UnmapTexSubImage2DCHROMIUM |
898 }; | 898 }; |
899 return &ppb_opengles; | 899 return &ppb_opengles; |
900 } | 900 } |
901 const PPB_OpenGLES2Query_Dev* PluginGraphics3D::GetOpenGLESQueryInterface() { | 901 const PPB_OpenGLES2Query* PluginGraphics3D::GetOpenGLESQueryInterface() { |
902 const static struct PPB_OpenGLES2Query_Dev ppb_opengles = { | 902 const static struct PPB_OpenGLES2Query ppb_opengles = { |
903 &GenQueriesEXT, | 903 &GenQueriesEXT, |
904 &DeleteQueriesEXT, | 904 &DeleteQueriesEXT, |
905 &IsQueryEXT, | 905 &IsQueryEXT, |
906 &BeginQueryEXT, | 906 &BeginQueryEXT, |
907 &EndQueryEXT, | 907 &EndQueryEXT, |
908 &GetQueryivEXT, | 908 &GetQueryivEXT, |
909 &GetQueryObjectuivEXT | 909 &GetQueryObjectuivEXT |
910 }; | 910 }; |
911 return &ppb_opengles; | 911 return &ppb_opengles; |
912 } | 912 } |
OLD | NEW |