OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "ppapi/tests/test_graphics_3d.h" |
| 6 |
| 7 #include "ppapi/c/dev/ppb_graphics_3d_dev.h" |
| 8 #include "ppapi/c/dev/ppb_opengles_dev.h" |
| 9 #include "ppapi/cpp/module.h" |
| 10 |
| 11 REGISTER_TEST_CASE(Graphics3D); |
| 12 |
| 13 bool TestGraphics3D::Init() { |
| 14 graphics_3d_ = reinterpret_cast<const PPB_Graphics3D_Dev*>( |
| 15 pp::Module::Get()->GetBrowserInterface(PPB_GRAPHICS_3D_DEV_INTERFACE)); |
| 16 opengl_es2_ = reinterpret_cast<const PPB_OpenGLES2_Dev*>( |
| 17 pp::Module::Get()->GetBrowserInterface(PPB_OPENGLES2_DEV_INTERFACE)); |
| 18 return graphics_3d_ && opengl_es2_ && InitTestingInterface(); |
| 19 } |
| 20 |
| 21 void TestGraphics3D::RunTest() { |
| 22 } |
| 23 |
OLD | NEW |