OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "ui/gl/init/gl_initializer.h" | 5 #include "ui/gl/init/gl_initializer.h" |
6 | 6 |
7 #include <OpenGL/CGLRenderers.h> | 7 #include <OpenGL/CGLRenderers.h> |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 } | 171 } |
172 | 172 |
173 return false; | 173 return false; |
174 } | 174 } |
175 | 175 |
176 void InitializeDebugGLBindings() { | 176 void InitializeDebugGLBindings() { |
177 InitializeDebugGLBindingsGL(); | 177 InitializeDebugGLBindingsGL(); |
178 InitializeDebugGLBindingsOSMESA(); | 178 InitializeDebugGLBindingsOSMESA(); |
179 } | 179 } |
180 | 180 |
181 void ClearGLBindingsPlatform() { | 181 void ShutdownGLPlatform() { |
182 ClearGLBindingsGL(); | 182 ClearBindingsGL(); |
183 ClearGLBindingsOSMESA(); | 183 ClearBindingsOSMESA(); |
184 } | 184 } |
185 | 185 |
186 } // namespace init | 186 } // namespace init |
187 } // namespace gl | 187 } // namespace gl |
OLD | NEW |