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 "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/path_service.h" | 9 #include "base/path_service.h" |
10 #include "base/threading/thread_restrictions.h" | 10 #include "base/threading/thread_restrictions.h" |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 return false; | 178 return false; |
179 } | 179 } |
180 | 180 |
181 void InitializeDebugGLBindings() { | 181 void InitializeDebugGLBindings() { |
182 InitializeDebugGLBindingsEGL(); | 182 InitializeDebugGLBindingsEGL(); |
183 InitializeDebugGLBindingsGL(); | 183 InitializeDebugGLBindingsGL(); |
184 InitializeDebugGLBindingsGLX(); | 184 InitializeDebugGLBindingsGLX(); |
185 InitializeDebugGLBindingsOSMESA(); | 185 InitializeDebugGLBindingsOSMESA(); |
186 } | 186 } |
187 | 187 |
188 void ClearGLBindingsPlatform() { | 188 void ShutdownGLPlatform() { |
189 ClearGLBindingsEGL(); | 189 ClearBindingsEGL(); |
190 ClearGLBindingsGL(); | 190 ClearBindingsGL(); |
191 ClearGLBindingsGLX(); | 191 ClearBindingsGLX(); |
192 ClearGLBindingsOSMESA(); | 192 ClearBindingsOSMESA(); |
193 } | 193 } |
194 | 194 |
195 } // namespace init | 195 } // namespace init |
196 } // namespace gl | 196 } // namespace gl |
OLD | NEW |