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 "webkit/plugins/ppapi/ppb_opengles_impl.h" | 9 #include "webkit/plugins/ppapi/ppb_opengles_impl.h" |
10 | 10 |
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
741 GetGLES( | 741 GetGLES( |
742 context_id)->VertexAttribPointer( | 742 context_id)->VertexAttribPointer( |
743 indx, size, type, normalized, stride, ptr); | 743 indx, size, type, normalized, stride, ptr); |
744 } | 744 } |
745 | 745 |
746 void Viewport( | 746 void Viewport( |
747 PP_Resource context_id, GLint x, GLint y, GLsizei width, GLsizei height) { | 747 PP_Resource context_id, GLint x, GLint y, GLsizei width, GLsizei height) { |
748 GetGLES(context_id)->Viewport(x, y, width, height); | 748 GetGLES(context_id)->Viewport(x, y, width, height); |
749 } | 749 } |
750 | 750 |
751 void SetLatchCHROMIUM(PP_Resource context_id, GLuint latch_id) { | |
752 GetGLES(context_id)->SetLatchCHROMIUM(latch_id); | |
753 } | |
754 | |
755 void WaitLatchCHROMIUM(PP_Resource context_id, GLuint latch_id) { | |
756 GetGLES(context_id)->WaitLatchCHROMIUM(latch_id); | |
757 } | |
758 | |
759 | 751 |
760 const struct PPB_OpenGLES2_Dev ppb_opengles2 = { | 752 const struct PPB_OpenGLES2_Dev ppb_opengles2 = { |
761 &ActiveTexture, | 753 &ActiveTexture, |
762 &AttachShader, | 754 &AttachShader, |
763 &BindAttribLocation, | 755 &BindAttribLocation, |
764 &BindBuffer, | 756 &BindBuffer, |
765 &BindFramebuffer, | 757 &BindFramebuffer, |
766 &BindRenderbuffer, | 758 &BindRenderbuffer, |
767 &BindTexture, | 759 &BindTexture, |
768 &BlendColor, | 760 &BlendColor, |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
904 | 896 |
905 } // namespace | 897 } // namespace |
906 | 898 |
907 const PPB_OpenGLES2_Dev* PPB_OpenGLES_Impl::GetInterface() { | 899 const PPB_OpenGLES2_Dev* PPB_OpenGLES_Impl::GetInterface() { |
908 return &ppb_opengles2; | 900 return &ppb_opengles2; |
909 } | 901 } |
910 | 902 |
911 } // namespace ppapi | 903 } // namespace ppapi |
912 } // namespace webkit | 904 } // namespace webkit |
913 | 905 |
OLD | NEW |