Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(257)

Side by Side Diff: ui/gl/test/gl_surface_test_support.h

Issue 1390143002: Revert of Re-land: ui: Add GLImage unit test framework. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/gl/test/gl_image_test_template.h ('k') | ui/gl/test/gl_surface_test_support.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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"
9
10 namespace gfx { 8 namespace gfx {
11 9
12 class GLContext; 10 class GLContext;
13 11
14 class GLSurfaceTestSupport { 12 class GLSurfaceTestSupport {
15 public: 13 public:
16 static void InitializeOneOff(); 14 static void InitializeOneOff();
17 static void InitializeOneOffImplementation(GLImplementation impl,
18 bool fallback_to_osmesa);
19 static void InitializeOneOffWithMockBindings(); 15 static void InitializeOneOffWithMockBindings();
20 static void InitializeDynamicMockBindings(GLContext* context); 16 static void InitializeDynamicMockBindings(GLContext* context);
21 }; 17 };
22 18
23 } // namespace gfx 19 } // namespace gfx
24 20
25 #endif // UI_GL_TEST_GL_SURFACE_TEST_SUPPORT_H_ 21 #endif // UI_GL_TEST_GL_SURFACE_TEST_SUPPORT_H_
OLDNEW
« no previous file with comments | « ui/gl/test/gl_image_test_template.h ('k') | ui/gl/test/gl_surface_test_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698