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 #include <string.h> | 5 #include <string.h> |
6 | 6 |
7 #include <iostream> | 7 #include <iostream> |
8 #include <sstream> | 8 #include <sstream> |
9 | 9 |
10 #include "ppapi/c/dev/ppb_console_dev.h" | |
11 #include "ppapi/c/pp_errors.h" | 10 #include "ppapi/c/pp_errors.h" |
12 #include "ppapi/c/ppb_opengles2.h" | 11 #include "ppapi/c/ppb_opengles2.h" |
13 #include "ppapi/cpp/core.h" | 12 #include "ppapi/cpp/core.h" |
14 #include "ppapi/cpp/graphics_3d.h" | 13 #include "ppapi/cpp/graphics_3d.h" |
15 #include "ppapi/cpp/graphics_3d_client.h" | 14 #include "ppapi/cpp/graphics_3d_client.h" |
16 #include "ppapi/cpp/instance.h" | 15 #include "ppapi/cpp/instance.h" |
17 #include "ppapi/cpp/module.h" | 16 #include "ppapi/cpp/module.h" |
18 #include "ppapi/cpp/rect.h" | 17 #include "ppapi/cpp/rect.h" |
19 #include "ppapi/cpp/var.h" | 18 #include "ppapi/cpp/var.h" |
20 #include "ppapi/lib/gl/include/GLES2/gl2.h" | 19 #include "ppapi/lib/gl/include/GLES2/gl2.h" |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 } | 158 } |
160 | 159 |
161 } // anonymous namespace | 160 } // anonymous namespace |
162 | 161 |
163 namespace pp { | 162 namespace pp { |
164 // Factory function for your specialization of the Module object. | 163 // Factory function for your specialization of the Module object. |
165 Module* CreateModule() { | 164 Module* CreateModule() { |
166 return new GLES2DemoModule(); | 165 return new GLES2DemoModule(); |
167 } | 166 } |
168 } // namespace pp | 167 } // namespace pp |
OLD | NEW |