Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(538)

Side by Side Diff: ui/gl/init/gl_initializer_x11.cc

Issue 2543313002: ui/gl: rename ClearGLBindings to ShutdownGL (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/gl/init/gl_initializer_win.cc ('k') | ui/gl/test/gl_image_test_support.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « ui/gl/init/gl_initializer_win.cc ('k') | ui/gl/test/gl_image_test_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698