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

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

Issue 10909221: Implement blacklist's force GPU capability in dual GPU machines. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 3 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
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 30 matching lines...) Expand all
41 41
42 // Inform Chrome that a GPU context will not be lost in power saving mode, 42 // Inform Chrome that a GPU context will not be lost in power saving mode,
43 // screen saving mode, etc. Note that this flag does not ensure that a GPU 43 // screen saving mode, etc. Note that this flag does not ensure that a GPU
44 // context will never be lost in any situations, say, a GPU reset. 44 // context will never be lost in any situations, say, a GPU reset.
45 const char kGpuNoContextLost[] = "gpu-no-context-lost"; 45 const char kGpuNoContextLost[] = "gpu-no-context-lost";
46 46
47 // Add a delay in milliseconds to the gpu swap buffer completion signal. 47 // Add a delay in milliseconds to the gpu swap buffer completion signal.
48 // Simulates a slow GPU. 48 // Simulates a slow GPU.
49 const char kGpuSwapDelay[] = "gpu-swap-delay"; 49 const char kGpuSwapDelay[] = "gpu-swap-delay";
50 50
51 // Overwrite the default GPU automatic switching behavior to force on
52 // integrated GPU or discrete GPU.
53 const char kGpuSwitching[] = "gpu-switching";
54
51 // Flag used for Linux tests: for desktop GL bindings, try to load this GL 55 // Flag used for Linux tests: for desktop GL bindings, try to load this GL
52 // library first, but fall back to regular library if loading fails. 56 // library first, but fall back to regular library if loading fails.
53 const char kTestGLLib[] = "test-gl-lib"; 57 const char kTestGLLib[] = "test-gl-lib";
54 58
55 } // namespace switches 59 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698