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

Side by Side Diff: ui/gl/gl_implementation_mac.cc

Issue 90333003: Remove --enable-gpu-service-logging and --enable-gpu-client-logging (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 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 | Annotate | Revision Log
« no previous file with comments | « ui/gl/gl_implementation_android.cc ('k') | ui/gl/gl_implementation_ozone.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "base/base_paths.h" 5 #include "base/base_paths.h"
6 #include "base/files/file_path.h" 6 #include "base/files/file_path.h"
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/mac/foundation_util.h" 8 #include "base/mac/foundation_util.h"
9 #include "base/native_library.h" 9 #include "base/native_library.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 case kGLImplementationMockGL: 123 case kGLImplementationMockGL:
124 InitializeGLExtensionBindingsGL(context); 124 InitializeGLExtensionBindingsGL(context);
125 break; 125 break;
126 default: 126 default:
127 return false; 127 return false;
128 } 128 }
129 129
130 return true; 130 return true;
131 } 131 }
132 132
133 void InitializeDebugGLBindings() {
134 InitializeDebugGLBindingsGL();
135 InitializeDebugGLBindingsOSMESA();
136 }
137
138 void ClearGLBindings() { 133 void ClearGLBindings() {
139 ClearGLBindingsGL(); 134 ClearGLBindingsGL();
140 ClearGLBindingsOSMESA(); 135 ClearGLBindingsOSMESA();
141 SetGLImplementation(kGLImplementationNone); 136 SetGLImplementation(kGLImplementationNone);
142 137
143 UnloadGLNativeLibraries(); 138 UnloadGLNativeLibraries();
144 } 139 }
145 140
146 bool GetGLWindowSystemBindingInfo(GLWindowSystemBindingInfo* info) { 141 bool GetGLWindowSystemBindingInfo(GLWindowSystemBindingInfo* info) {
147 return false; 142 return false;
148 } 143 }
149 144
150 } // namespace gfx 145 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gl/gl_implementation_android.cc ('k') | ui/gl/gl_implementation_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698