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

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

Issue 194303002: Blacklist GLX indirect rendering (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix android Created 6 years, 9 months 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') | no next file » | 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 "ui/gl/gl_implementation.h" 5 #include "ui/gl/gl_implementation.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 9
10 #include "base/at_exit.h" 10 #include "base/at_exit.h"
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 } 154 }
155 155
156 DisableNullDrawGLBindings::DisableNullDrawGLBindings() { 156 DisableNullDrawGLBindings::DisableNullDrawGLBindings() {
157 initial_enabled_ = SetNullDrawGLBindingsEnabledGL(false); 157 initial_enabled_ = SetNullDrawGLBindingsEnabledGL(false);
158 } 158 }
159 159
160 DisableNullDrawGLBindings::~DisableNullDrawGLBindings() { 160 DisableNullDrawGLBindings::~DisableNullDrawGLBindings() {
161 SetNullDrawGLBindingsEnabledGL(initial_enabled_); 161 SetNullDrawGLBindingsEnabledGL(initial_enabled_);
162 } 162 }
163 163
164 GLWindowSystemBindingInfo::GLWindowSystemBindingInfo()
165 : direct_rendering(true) {}
166
164 } // namespace gfx 167 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gl/gl_implementation.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698