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

Unified Diff: ui/gl/gl_implementation.h

Issue 135213003: Ensure GL initialization only happens once, and provide common init path (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: initgl: 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_implementation.h
diff --git a/ui/gl/gl_implementation.h b/ui/gl/gl_implementation.h
index 045101c1d54dc61e342ef60089edc8f5b74e04c9..7dc736a4dbe8c6bad926c22e1fc6bdb5c61c3fdf 100644
--- a/ui/gl/gl_implementation.h
+++ b/ui/gl/gl_implementation.h
@@ -42,12 +42,12 @@ typedef void* (*GLGetProcAddressProc)(const char* name);
#endif
// Initialize a particular GL implementation.
-GL_EXPORT bool InitializeStaticGLBindings(GLImplementation implementation);
+bool InitializeStaticGLBindings(GLImplementation implementation);
// Initialize function bindings that depend on the context for a GL
// implementation.
-GL_EXPORT bool InitializeDynamicGLBindings(GLImplementation implementation,
- GLContext* context);
+bool InitializeDynamicGLBindings(GLImplementation implementation,
+ GLContext* context);
// Initialize Debug logging wrappers for GL bindings.
void InitializeDebugGLBindings();
@@ -55,7 +55,7 @@ void InitializeDebugGLBindings();
// Initialize stub methods for drawing operations in the GL bindings.
void InitializeNullDrawGLBindings();
-GL_EXPORT void ClearGLBindings();
+void ClearGLBindings();
// Set the current GL implementation.
GL_EXPORT void SetGLImplementation(GLImplementation implementation);

Powered by Google App Engine
This is Rietveld 408576698