| OLD | NEW | 
|---|
| (Empty) |  | 
|  | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 
|  | 2 // Use of this source code is governed by a BSD-style license that can be | 
|  | 3 // found in the LICENSE file. | 
|  | 4 | 
|  | 5 #ifndef UI_GL_GL_API_IMPLEMENTATION_H_ | 
|  | 6 #define UI_GL_GL_API_IMPLEMENTATION_H_ | 
|  | 7 | 
|  | 8 #include "base/compiler_specific.h" | 
|  | 9 #include "gl_bindings.h" | 
|  | 10 | 
|  | 11 namespace gfx { | 
|  | 12 | 
|  | 13 class GLContext; | 
|  | 14 | 
|  | 15 void InitializeGLBindingsGL(); | 
|  | 16 void InitializeGLExtensionBindingsGL(GLContext* context); | 
|  | 17 void InitializeDebugGLBindingsGL(); | 
|  | 18 void ClearGLBindingsGL(); | 
|  | 19 | 
|  | 20 class RealGLApi : public GLApi { | 
|  | 21  public: | 
|  | 22   RealGLApi(); | 
|  | 23   void Initialize(DriverGL* driver); | 
|  | 24 | 
|  | 25   // Include the auto-generated part of this class. We split this because | 
|  | 26   // it means we can easily edit the non-auto generated parts right here in | 
|  | 27   // this file instead of having to edit some template or the code generator. | 
|  | 28   #include "gl_bindings_api_autogen_gl.h" | 
|  | 29 | 
|  | 30  private: | 
|  | 31   DriverGL* driver_; | 
|  | 32 }; | 
|  | 33 | 
|  | 34 }  // namespace gfx | 
|  | 35 | 
|  | 36 #endif  // UI_GL_GL_API_IMPLEMENTATION_H_ | 
|  | 37 | 
|  | 38 | 
|  | 39 | 
| OLD | NEW | 
|---|