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

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

Issue 2491993002: ui/gl: Initialize the ANGLE Platform on all configurations (Closed)
Patch Set: ui/gl: Initialize the ANGLE Platform on all configurations Created 4 years, 1 month 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
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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 ClearGLBindingsPlatform() {
189 GLSurfaceEGL::ShutdownOneOff();
189 ClearGLBindingsEGL(); 190 ClearGLBindingsEGL();
190 ClearGLBindingsGL(); 191 ClearGLBindingsGL();
191 ClearGLBindingsGLX(); 192 ClearGLBindingsGLX();
192 ClearGLBindingsOSMESA(); 193 ClearGLBindingsOSMESA();
193 } 194 }
194 195
195 } // namespace init 196 } // namespace init
196 } // namespace gl 197 } // namespace gl
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698