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 #include "base/logging.h" | 5 #include "base/logging.h" |
6 #include "mojo/examples/pepper_container_app/graphics_3d_resource.h" | 6 #include "mojo/examples/pepper_container_app/graphics_3d_resource.h" |
7 #include "mojo/examples/pepper_container_app/thunk.h" | 7 #include "mojo/examples/pepper_container_app/thunk.h" |
8 #include "mojo/public/gles2/gles2.h" | 8 #include "mojo/public/c/gles2/gles2.h" |
9 #include "ppapi/thunk/enter.h" | 9 #include "ppapi/thunk/enter.h" |
10 #include "ppapi/thunk/ppb_graphics_3d_api.h" | 10 #include "ppapi/thunk/ppb_graphics_3d_api.h" |
11 | 11 |
12 namespace mojo { | 12 namespace mojo { |
13 namespace examples { | 13 namespace examples { |
14 | 14 |
15 namespace { | 15 namespace { |
16 | 16 |
17 typedef ppapi::thunk::EnterResource<ppapi::thunk::PPB_Graphics3D_API> Enter3D; | 17 typedef ppapi::thunk::EnterResource<ppapi::thunk::PPB_Graphics3D_API> Enter3D; |
18 | 18 |
(...skipping 1426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1445 &VertexAttrib1f, &VertexAttrib1fv, | 1445 &VertexAttrib1f, &VertexAttrib1fv, |
1446 &VertexAttrib2f, &VertexAttrib2fv, | 1446 &VertexAttrib2f, &VertexAttrib2fv, |
1447 &VertexAttrib3f, &VertexAttrib3fv, | 1447 &VertexAttrib3f, &VertexAttrib3fv, |
1448 &VertexAttrib4f, &VertexAttrib4fv, | 1448 &VertexAttrib4f, &VertexAttrib4fv, |
1449 &VertexAttribPointer, &Viewport}; | 1449 &VertexAttribPointer, &Viewport}; |
1450 return &ppb_opengles2; | 1450 return &ppb_opengles2; |
1451 } | 1451 } |
1452 | 1452 |
1453 } // namespace examples | 1453 } // namespace examples |
1454 } // namespace mojo | 1454 } // namespace mojo |
OLD | NEW |