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

Unified Diff: ui/gl/gl_bindings.h

Issue 145293007: ui: No more TestCompositor. Use NullDraw contexts in unit tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: testsnulldraw: Created 6 years, 11 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
Index: ui/gl/gl_bindings.h
diff --git a/ui/gl/gl_bindings.h b/ui/gl/gl_bindings.h
index 510596a17bb748cf75ca4040b693f7ef16cb9eef..e0cfadae95560c130b72ffb6b4a16d4a0fcbb48d 100644
--- a/ui/gl/gl_bindings.h
+++ b/ui/gl/gl_bindings.h
@@ -231,12 +231,14 @@ struct GL_EXPORT DriverGL {
void InitializeCustomDynamicBindings(GLContext* context);
void InitializeDebugBindings();
void InitializeNullDrawBindings();
+ bool SetNullDrawBindingsEnabled(bool enabled);
void ClearBindings();
ProcsGL fn;
ProcsGL orig_fn;
ProcsGL debug_fn;
ExtensionsGL ext;
+ bool null_draw_bindings_enabled;
private:
void InitializeDynamicBindings(GLContext* context);

Powered by Google App Engine
This is Rietveld 408576698