OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "ppapi/shared_impl/opengles2_impl.h" | 9 #include "ppapi/shared_impl/opengles2_impl.h" |
10 | 10 |
(...skipping 732 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
743 context_id)->VertexAttribPointer( | 743 context_id)->VertexAttribPointer( |
744 indx, size, type, normalized, stride, ptr); | 744 indx, size, type, normalized, stride, ptr); |
745 } | 745 } |
746 | 746 |
747 void Viewport( | 747 void Viewport( |
748 PP_Resource context_id, GLint x, GLint y, GLsizei width, GLsizei height) { | 748 PP_Resource context_id, GLint x, GLint y, GLsizei width, GLsizei height) { |
749 GetGLES(context_id)->Viewport(x, y, width, height); | 749 GetGLES(context_id)->Viewport(x, y, width, height); |
750 } | 750 } |
751 | 751 |
752 | 752 |
753 const struct PPB_OpenGLES2_Dev ppb_opengles2 = { | 753 const struct PPB_OpenGLES2 ppb_opengles2 = { |
754 &ActiveTexture, | 754 &ActiveTexture, |
755 &AttachShader, | 755 &AttachShader, |
756 &BindAttribLocation, | 756 &BindAttribLocation, |
757 &BindBuffer, | 757 &BindBuffer, |
758 &BindFramebuffer, | 758 &BindFramebuffer, |
759 &BindRenderbuffer, | 759 &BindRenderbuffer, |
760 &BindTexture, | 760 &BindTexture, |
761 &BlendColor, | 761 &BlendColor, |
762 &BlendEquation, | 762 &BlendEquation, |
763 &BlendEquationSeparate, | 763 &BlendEquationSeparate, |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
890 &VertexAttrib3f, | 890 &VertexAttrib3f, |
891 &VertexAttrib3fv, | 891 &VertexAttrib3fv, |
892 &VertexAttrib4f, | 892 &VertexAttrib4f, |
893 &VertexAttrib4fv, | 893 &VertexAttrib4fv, |
894 &VertexAttribPointer, | 894 &VertexAttribPointer, |
895 &Viewport | 895 &Viewport |
896 }; | 896 }; |
897 | 897 |
898 } // namespace | 898 } // namespace |
899 | 899 |
900 const PPB_OpenGLES2_Dev* OpenGLES2Impl::GetInterface() { | 900 const PPB_OpenGLES2* OpenGLES2Impl::GetInterface() { |
901 return &ppb_opengles2; | 901 return &ppb_opengles2; |
902 } | 902 } |
903 | 903 |
904 } // namespace ppapi | 904 } // namespace ppapi |
OLD | NEW |