OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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. DO NOT EDIT! | 5 // This file is auto-generated. DO NOT EDIT! |
6 | 6 |
7 #include "webkit/glue/plugins/pepper_graphics_3d.h" | 7 #include "webkit/glue/plugins/pepper_graphics_3d.h" |
8 | 8 |
9 #include "gpu/command_buffer/client/gles2_implementation.h" | 9 #include "gpu/command_buffer/client/gles2_implementation.h" |
10 #include "third_party/ppapi/c/dev/ppb_opengles_dev.h" | 10 #include "ppapi/c/dev/ppb_opengles_dev.h" |
11 | 11 |
12 namespace pepper { | 12 namespace pepper { |
13 | 13 |
14 namespace { | 14 namespace { |
15 | 15 |
16 void ActiveTexture(GLenum texture) { | 16 void ActiveTexture(GLenum texture) { |
17 Graphics3D::GetCurrent()->impl()->ActiveTexture(texture); | 17 Graphics3D::GetCurrent()->impl()->ActiveTexture(texture); |
18 } | 18 } |
19 void AttachShader(GLuint program, GLuint shader) { | 19 void AttachShader(GLuint program, GLuint shader) { |
20 Graphics3D::GetCurrent()->impl()->AttachShader(program, shader); | 20 Graphics3D::GetCurrent()->impl()->AttachShader(program, shader); |
(...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
707 }; | 707 }; |
708 | 708 |
709 } // namespace | 709 } // namespace |
710 | 710 |
711 const PPB_OpenGLES_Dev* Graphics3D::GetOpenGLESInterface() { | 711 const PPB_OpenGLES_Dev* Graphics3D::GetOpenGLESInterface() { |
712 return &ppb_opengles; | 712 return &ppb_opengles; |
713 } | 713 } |
714 | 714 |
715 } // namespace pepper | 715 } // namespace pepper |
716 | 716 |
OLD | NEW |