Chromium Code Reviews| Index: ui/gl/gl_bindings.h |
| diff --git a/ui/gl/gl_bindings.h b/ui/gl/gl_bindings.h |
| index debb0748046bdc3ae4ce1d375b671869a708c164..26f8fd7347177a3a4ce103e8f28f4914bb1ffafe 100644 |
| --- a/ui/gl/gl_bindings.h |
| +++ b/ui/gl/gl_bindings.h |
| @@ -225,11 +225,10 @@ typedef uint64 EGLuint64CHROMIUM; |
| namespace gfx { |
| struct GL_EXPORT DriverGL { |
| - void Initialize(); |
| - void InitializeExtensions(GLContext* context); |
| + void InitializeStaticBindings(); |
| + void InitializeDynamic(GLContext* context); |
|
no sievers
2013/12/05 20:51:57
nit: InitializeDynamicBindings()
oetuaho
2013/12/09 17:17:07
This is intentional - the InitializeDynamicBinding
|
| void InitializeDebugBindings(); |
| void ClearBindings(); |
| - void UpdateDebugExtensionBindings(); |
| ProcsGL fn; |
| ProcsGL orig_fn; |
| @@ -237,16 +236,14 @@ struct GL_EXPORT DriverGL { |
| ExtensionsGL ext; |
| private: |
| - void InitializeBindings(); |
| - void InitializeExtensionBindings(GLContext* context); |
| + void InitializeDynamicBindings(GLContext* context); |
| }; |
| struct GL_EXPORT DriverOSMESA { |
| - void InitializeBindings(); |
| - void InitializeExtensionBindings(GLContext* context); |
| + void InitializeStaticBindings(); |
| + void InitializeDynamicBindings(GLContext* context); |
| void InitializeDebugBindings(); |
| void ClearBindings(); |
| - void UpdateDebugExtensionBindings(); |
| ProcsOSMESA fn; |
| ProcsOSMESA debug_fn; |
| @@ -255,11 +252,10 @@ struct GL_EXPORT DriverOSMESA { |
| #if defined(OS_WIN) |
| struct GL_EXPORT DriverWGL { |
| - void InitializeBindings(); |
| - void InitializeExtensionBindings(GLContext* context); |
| + void InitializeStaticBindings(); |
| + void InitializeDynamicBindings(GLContext* context); |
| void InitializeDebugBindings(); |
| void ClearBindings(); |
| - void UpdateDebugExtensionBindings(); |
| ProcsWGL fn; |
| ProcsWGL debug_fn; |
| @@ -269,11 +265,10 @@ struct GL_EXPORT DriverWGL { |
| #if defined(OS_WIN) || defined(USE_X11) || defined(OS_ANDROID) || defined(USE_OZONE) |
| struct GL_EXPORT DriverEGL { |
| - void InitializeBindings(); |
| - void InitializeExtensionBindings(GLContext* context); |
| + void InitializeStaticBindings(); |
| + void InitializeDynamicBindings(GLContext* context); |
| void InitializeDebugBindings(); |
| void ClearBindings(); |
| - void UpdateDebugExtensionBindings(); |
| ProcsEGL fn; |
| ProcsEGL debug_fn; |
| @@ -283,11 +278,10 @@ struct GL_EXPORT DriverEGL { |
| #if defined(USE_X11) |
| struct GL_EXPORT DriverGLX { |
| - void InitializeBindings(); |
| - void InitializeExtensionBindings(GLContext* context); |
| + void InitializeStaticBindings(); |
| + void InitializeDynamicBindings(GLContext* context); |
| void InitializeDebugBindings(); |
| void ClearBindings(); |
| - void UpdateDebugExtensionBindings(); |
| ProcsGLX fn; |
| ProcsGLX debug_fn; |