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

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

Issue 10959061: Revert 158076 - Implement blacklist's force GPU capability in dual GPU machines. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 2 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_switches.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_switches.h" 5 #include "ui/gl/gl_switches.h"
6 6
7 namespace gfx { 7 namespace gfx {
8 8
9 const char kGLImplementationDesktopName[] = "desktop"; 9 const char kGLImplementationDesktopName[] = "desktop";
10 const char kGLImplementationOSMesaName[] = "osmesa"; 10 const char kGLImplementationOSMesaName[] = "osmesa";
(...skipping 25 matching lines...) Expand all
36 36
37 // Inform Chrome that a GPU context will not be lost in power saving mode, 37 // Inform Chrome that a GPU context will not be lost in power saving mode,
38 // screen saving mode, etc. Note that this flag does not ensure that a GPU 38 // screen saving mode, etc. Note that this flag does not ensure that a GPU
39 // context will never be lost in any situations, say, a GPU reset. 39 // context will never be lost in any situations, say, a GPU reset.
40 const char kGpuNoContextLost[] = "gpu-no-context-lost"; 40 const char kGpuNoContextLost[] = "gpu-no-context-lost";
41 41
42 // Add a delay in milliseconds to the gpu swap buffer completion signal. 42 // Add a delay in milliseconds to the gpu swap buffer completion signal.
43 // Simulates a slow GPU. 43 // Simulates a slow GPU.
44 const char kGpuSwapDelay[] = "gpu-swap-delay"; 44 const char kGpuSwapDelay[] = "gpu-swap-delay";
45 45
46 // Overwrite the default GPU automatic switching behavior to force on
47 // integrated GPU or discrete GPU.
48 const char kGpuSwitching[] = "gpu-switching";
49
50 const char kGpuSwitchingOptionNameForceIntegrated[] = "force_integrated";
51 const char kGpuSwitchingOptionNameForceDiscrete[] = "force_discrete";
52 const char kGpuSwitchingOptionNameAutomatic[] = "automatic";
53
54 // Flag used for Linux tests: for desktop GL bindings, try to load this GL 46 // Flag used for Linux tests: for desktop GL bindings, try to load this GL
55 // library first, but fall back to regular library if loading fails. 47 // library first, but fall back to regular library if loading fails.
56 const char kTestGLLib[] = "test-gl-lib"; 48 const char kTestGLLib[] = "test-gl-lib";
57 49
58 } // namespace switches 50 } // namespace switches
59
OLDNEW
« no previous file with comments | « ui/gl/gl_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698