Index: ui/gfx/gl/gl_context.h |
diff --git a/ui/gfx/gl/gl_context.h b/ui/gfx/gl/gl_context.h |
index 30464853996febace762b10c1c799ffa3aec20ec..67fe57e4ebcb6fff4c79a6673bbb4c2d054941e8 100644 |
--- a/ui/gfx/gl/gl_context.h |
+++ b/ui/gfx/gl/gl_context.h |
@@ -77,6 +77,11 @@ class GL_EXPORT GLContext : public base::RefCounted<GLContext> { |
virtual ~GLContext(); |
static void SetCurrent(GLContext* context, GLSurface* surface); |
+ // Initialize function pointers to extension functions in the GL |
+ // implementation. Should be called immediately after this context is made |
+ // current. |
+ bool InitializeExtensionBindings(); |
+ |
private: |
scoped_refptr<GLShareGroup> share_group_; |
friend class base::RefCounted<GLContext>; |