Index: ui/gl/init/gl_initializer.h |
diff --git a/ui/gl/init/gl_initializer.h b/ui/gl/init/gl_initializer.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..de057f5708a484342cef6343e97b0fbd2a219c81 |
--- /dev/null |
+++ b/ui/gl/init/gl_initializer.h |
@@ -0,0 +1,20 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef UI_GL_INIT_GL_INITIALIZER_H_ |
+#define UI_GL_INIT_GL_INITIALIZER_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. |
+bool InitializeGLOneOffPlatform(); |
+ |
+} // namespace init |
+} // namespace gl |
+ |
+#endif // UI_GL_INIT_GL_INITIALIZER_H_ |