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

Side by Side Diff: ui/gl/gl_implementation_android.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.h ('k') | ui/gl/gl_implementation_mac.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/command_line.h" 6 #include "base/command_line.h"
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/logging.h" 8 #include "base/logging.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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 case kGLImplementationMockGL: 114 case kGLImplementationMockGL:
115 InitializeGLExtensionBindingsGL(context); 115 InitializeGLExtensionBindingsGL(context);
116 break; 116 break;
117 default: 117 default:
118 return false; 118 return false;
119 } 119 }
120 120
121 return true; 121 return true;
122 } 122 }
123 123
124 void InitializeDebugGLBindings() {
125 }
126
127 void ClearGLBindings() { 124 void ClearGLBindings() {
128 ClearGLBindingsEGL(); 125 ClearGLBindingsEGL();
129 ClearGLBindingsGL(); 126 ClearGLBindingsGL();
130 SetGLImplementation(kGLImplementationNone); 127 SetGLImplementation(kGLImplementationNone);
131 128
132 UnloadGLNativeLibraries(); 129 UnloadGLNativeLibraries();
133 } 130 }
134 131
135 bool GetGLWindowSystemBindingInfo(GLWindowSystemBindingInfo* info) { 132 bool GetGLWindowSystemBindingInfo(GLWindowSystemBindingInfo* info) {
136 switch (GetGLImplementation()) { 133 switch (GetGLImplementation()) {
137 case kGLImplementationEGLGLES2: 134 case kGLImplementationEGLGLES2:
138 return GetGLWindowSystemBindingInfoEGL(info); 135 return GetGLWindowSystemBindingInfoEGL(info);
139 default: 136 default:
140 return false; 137 return false;
141 } 138 }
142 return false; 139 return false;
143 } 140 }
144 141
145 } // namespace gfx 142 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gl/gl_implementation.h ('k') | ui/gl/gl_implementation_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698