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

Unified Diff: ui/gl/init/gl_initializer.h

Issue 2094513002: Move static GL binding initialization to //ui/gl/init. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Working and cleaned up. Created 4 years, 6 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/init/gl_initializer.h
diff --git a/ui/gl/init/gl_initializer.h b/ui/gl/init/gl_initializer.h
index de057f5708a484342cef6343e97b0fbd2a219c81..bfb46751fea0aa155624b1026fb6799ce67a75e3 100644
--- a/ui/gl/init/gl_initializer.h
+++ b/ui/gl/init/gl_initializer.h
@@ -5,6 +5,8 @@
#ifndef UI_GL_INIT_GL_INITIALIZER_H_
#define UI_GL_INIT_GL_INITIALIZER_H_
+#include "ui/gl/gl_implementation.h"
+
namespace gl {
namespace init {
@@ -14,6 +16,15 @@ namespace init {
// InitializeGLOneOffImplementation() instead of this.
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

Powered by Google App Engine
This is Rietveld 408576698