Index: ui/gl/init/gl_initializer.h |
diff --git a/ui/gl/init/gl_initializer.h b/ui/gl/init/gl_initializer.h |
index de057f5708a484342cef6343e97b0fbd2a219c81..b50adbfb4d71053760dc27afc2453da5d00c14b0 100644 |
--- a/ui/gl/init/gl_initializer.h |
+++ b/ui/gl/init/gl_initializer.h |
@@ -5,15 +5,26 @@ |
#ifndef UI_GL_INIT_GL_INITIALIZER_H_ |
#define UI_GL_INIT_GL_INITIALIZER_H_ |
+#include "ui/gl/gl_implementation.h" |
+ |
namespace gl { |
namespace init { |
// Performs platform dependent one-off GL initialization, calling into the |
// appropriate GLSurface code to initialize it. To perform one-off GL |
// initialization you should use InitializeGLOneOff() or for tests possibly |
-// InitializeGLOneOffImplementation() instead of this. |
+// InitializeGLOneOffImplementation() instead. |
bool InitializeGLOneOffPlatform(); |
+// Initializes a particular GL implementation. |
+bool InitializeStaticGLBindings(GLImplementation implementation); |
+ |
+// Initializes debug logging wrappers for GL bindings. |
+void InitializeDebugGLBindings(); |
+ |
+// Clears GL bindings for all implementations supported by platform. |
+void ClearGLBindingsPlatform(); |
+ |
} // namespace init |
} // namespace gl |