| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef UI_GL_GL_GL_API_IMPLEMENTATION_H_ | 5 #ifndef UI_GL_GL_GL_API_IMPLEMENTATION_H_ |
| 6 #define UI_GL_GL_GL_API_IMPLEMENTATION_H_ | 6 #define UI_GL_GL_GL_API_IMPLEMENTATION_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "ui/gl/gl_bindings.h" | 11 #include "ui/gl/gl_bindings.h" |
| 12 #include "ui/gl/gl_export.h" | 12 #include "ui/gl/gl_export.h" |
| 13 | 13 |
| 14 namespace base { | 14 namespace base { |
| 15 class CommandLine; | 15 class CommandLine; |
| 16 } | 16 } |
| 17 namespace gpu { | 17 |
| 18 namespace gles2 { | |
| 19 class GLES2Decoder; | |
| 20 } | |
| 21 } | |
| 22 namespace gl { | 18 namespace gl { |
| 23 | 19 |
| 24 class GLContext; | 20 class GLContext; |
| 25 class GLSurface; | |
| 26 struct GLVersionInfo; | 21 struct GLVersionInfo; |
| 27 | 22 |
| 28 GL_EXPORT void InitializeStaticGLBindingsGL(); | 23 GL_EXPORT void InitializeStaticGLBindingsGL(); |
| 29 void InitializeDynamicGLBindingsGL(GLContext* context); | 24 void InitializeDynamicGLBindingsGL(GLContext* context); |
| 30 GL_EXPORT void InitializeDebugGLBindingsGL(); | 25 GL_EXPORT void InitializeDebugGLBindingsGL(); |
| 31 void InitializeNullDrawGLBindingsGL(); | 26 void InitializeNullDrawGLBindingsGL(); |
| 32 // TODO(danakj): Remove this when all test suites are using null-draw. | 27 // TODO(danakj): Remove this when all test suites are using null-draw. |
| 33 bool HasInitializedNullDrawGLBindingsGL(); | 28 bool HasInitializedNullDrawGLBindingsGL(); |
| 34 bool SetNullDrawGLBindingsEnabledGL(bool enabled); | 29 bool SetNullDrawGLBindingsEnabledGL(bool enabled); |
| 35 GL_EXPORT void ClearGLBindingsGL(); | 30 GL_EXPORT void ClearGLBindingsGL(); |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 | 100 |
| 106 // Include the auto-generated part of this class. We split this because | 101 // Include the auto-generated part of this class. We split this because |
| 107 // it means we can easily edit the non-auto generated parts right here in | 102 // it means we can easily edit the non-auto generated parts right here in |
| 108 // this file instead of having to edit some template or the code generator. | 103 // this file instead of having to edit some template or the code generator. |
| 109 #include "gl_bindings_api_autogen_gl.h" | 104 #include "gl_bindings_api_autogen_gl.h" |
| 110 }; | 105 }; |
| 111 | 106 |
| 112 } // namespace gl | 107 } // namespace gl |
| 113 | 108 |
| 114 #endif // UI_GL_GL_GL_API_IMPLEMENTATION_H_ | 109 #endif // UI_GL_GL_GL_API_IMPLEMENTATION_H_ |
| OLD | NEW |