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

Unified Diff: ui/gl/test/gl_surface_test_support.h

Issue 1354483004: Re-land: ui: Add GLImage unit test framework. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/test/gl_surface_test_support.h
diff --git a/ui/gl/test/gl_surface_test_support.h b/ui/gl/test/gl_surface_test_support.h
index 6e53c697a593c9cf67326b3c37caaddc2803a5a0..eb70ef05992c8d18ccf5dc5d2ed184de627f1d89 100644
--- a/ui/gl/test/gl_surface_test_support.h
+++ b/ui/gl/test/gl_surface_test_support.h
@@ -5,6 +5,8 @@
#ifndef UI_GL_TEST_GL_SURFACE_TEST_SUPPORT_H_
#define UI_GL_TEST_GL_SURFACE_TEST_SUPPORT_H_
+#include "ui/gl/gl_implementation.h"
+
namespace gfx {
class GLContext;
@@ -12,6 +14,8 @@ class GLContext;
class GLSurfaceTestSupport {
public:
static void InitializeOneOff();
+ static void InitializeOneOffImplementation(GLImplementation impl,
+ bool fallback_to_osmesa);
static void InitializeOneOffWithMockBindings();
static void InitializeDynamicMockBindings(GLContext* context);
};
« 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