| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef UI_GL_TEST_GL_SURFACE_TEST_SUPPORT_H_ | 5 #ifndef UI_GL_TEST_GL_SURFACE_TEST_SUPPORT_H_ |
| 6 #define UI_GL_TEST_GL_SURFACE_TEST_SUPPORT_H_ | 6 #define UI_GL_TEST_GL_SURFACE_TEST_SUPPORT_H_ |
| 7 | 7 |
| 8 #include "ui/gl/gl_implementation.h" | 8 #include "ui/gl/gl_implementation.h" |
| 9 | 9 |
| 10 namespace gl { | 10 namespace gl { |
| 11 | 11 |
| 12 class GLContext; | 12 class GLContext; |
| 13 | 13 |
| 14 class GLSurfaceTestSupport { | 14 class GLSurfaceTestSupport { |
| 15 public: | 15 public: |
| 16 static void InitializeOneOff(); | 16 static void InitializeOneOff(); |
| 17 static void InitializeOneOffImplementation(GLImplementation impl, | 17 static void InitializeOneOffImplementation(GLImplementation impl, |
| 18 bool fallback_to_osmesa); | 18 bool fallback_to_osmesa); |
| 19 static void InitializeOneOffWithMockBindings(); | 19 static void InitializeOneOffWithMockBindings(); |
| 20 static void InitializeDynamicMockBindings(GLContext* context); | |
| 21 }; | 20 }; |
| 22 | 21 |
| 23 } // namespace gl | 22 } // namespace gl |
| 24 | 23 |
| 25 #endif // UI_GL_TEST_GL_SURFACE_TEST_SUPPORT_H_ | 24 #endif // UI_GL_TEST_GL_SURFACE_TEST_SUPPORT_H_ |
| OLD | NEW |