| 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 #include "base/base_paths.h" | 5 #include "base/base_paths.h" |
| 6 #include "base/files/file_path.h" | 6 #include "base/files/file_path.h" |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/mac/foundation_util.h" | 8 #include "base/mac/foundation_util.h" |
| 9 #include "base/native_library.h" | 9 #include "base/native_library.h" |
| 10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 case kGLImplementationMockGL: | 123 case kGLImplementationMockGL: |
| 124 InitializeGLExtensionBindingsGL(context); | 124 InitializeGLExtensionBindingsGL(context); |
| 125 break; | 125 break; |
| 126 default: | 126 default: |
| 127 return false; | 127 return false; |
| 128 } | 128 } |
| 129 | 129 |
| 130 return true; | 130 return true; |
| 131 } | 131 } |
| 132 | 132 |
| 133 void InitializeDebugGLBindings() { | |
| 134 InitializeDebugGLBindingsGL(); | |
| 135 InitializeDebugGLBindingsOSMESA(); | |
| 136 } | |
| 137 | |
| 138 void ClearGLBindings() { | 133 void ClearGLBindings() { |
| 139 ClearGLBindingsGL(); | 134 ClearGLBindingsGL(); |
| 140 ClearGLBindingsOSMESA(); | 135 ClearGLBindingsOSMESA(); |
| 141 SetGLImplementation(kGLImplementationNone); | 136 SetGLImplementation(kGLImplementationNone); |
| 142 | 137 |
| 143 UnloadGLNativeLibraries(); | 138 UnloadGLNativeLibraries(); |
| 144 } | 139 } |
| 145 | 140 |
| 146 bool GetGLWindowSystemBindingInfo(GLWindowSystemBindingInfo* info) { | 141 bool GetGLWindowSystemBindingInfo(GLWindowSystemBindingInfo* info) { |
| 147 return false; | 142 return false; |
| 148 } | 143 } |
| 149 | 144 |
| 150 } // namespace gfx | 145 } // namespace gfx |
| OLD | NEW |