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/base_paths.h" | 7 #include "base/base_paths.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 | 89 |
90 return false; | 90 return false; |
91 } | 91 } |
92 | 92 |
93 void InitializeDebugGLBindings() { | 93 void InitializeDebugGLBindings() { |
94 InitializeDebugGLBindingsEGL(); | 94 InitializeDebugGLBindingsEGL(); |
95 InitializeDebugGLBindingsGL(); | 95 InitializeDebugGLBindingsGL(); |
96 InitializeDebugGLBindingsOSMESA(); | 96 InitializeDebugGLBindingsOSMESA(); |
97 } | 97 } |
98 | 98 |
99 void ClearGLBindingsPlatform() { | 99 void ShutdownGLPlatform() { |
100 ClearGLBindingsEGL(); | 100 ClearBindingsEGL(); |
101 ClearGLBindingsGL(); | 101 ClearBindingsGL(); |
102 ClearGLBindingsOSMESA(); | 102 ClearBindingsOSMESA(); |
103 } | 103 } |
104 | 104 |
105 } // namespace init | 105 } // namespace init |
106 } // namespace gl | 106 } // namespace gl |
OLD | NEW |