summaryrefslogtreecommitdiffstats
path: root/ui/gl/gl_implementation.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gl/gl_implementation.h')
-rw-r--r--ui/gl/gl_implementation.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/gl/gl_implementation.h b/ui/gl/gl_implementation.h
index f163e07..6f4eaf7 100644
--- a/ui/gl/gl_implementation.h
+++ b/ui/gl/gl_implementation.h
@@ -56,6 +56,9 @@ void InitializeDebugGLBindings();
// null draw bindings default to enabled, so that draw operations do nothing.
void InitializeNullDrawGLBindings();
+// TODO(danakj): Remove this when all test suites are using null-draw.
+GL_EXPORT bool HasInitializedNullDrawGLBindings();
+
// Once initialized, instantiating this turns the stub methods for drawing
// operations off allowing drawing will occur while the object is alive.
class GL_EXPORT DisableNullDrawGLBindings {