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

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

Issue 321913002: Removed un-used commandline switches. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 #include "base/basictypes.h" 6 #include "base/basictypes.h"
7 7
8 namespace gfx { 8 namespace gfx {
9 9
10 const char kGLImplementationDesktopName[] = "desktop"; 10 const char kGLImplementationDesktopName[] = "desktop";
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 const char kSwiftShaderPath[] = "swiftshader-path"; 42 const char kSwiftShaderPath[] = "swiftshader-path";
43 43
44 // Inform Chrome that a GPU context will not be lost in power saving mode, 44 // Inform Chrome that a GPU context will not be lost in power saving mode,
45 // screen saving mode, etc. Note that this flag does not ensure that a GPU 45 // screen saving mode, etc. Note that this flag does not ensure that a GPU
46 // context will never be lost in any situations, say, a GPU reset. 46 // context will never be lost in any situations, say, a GPU reset.
47 const char kGpuNoContextLost[] = "gpu-no-context-lost"; 47 const char kGpuNoContextLost[] = "gpu-no-context-lost";
48 48
49 // Indicates whether the dual GPU switching is supported or not. 49 // Indicates whether the dual GPU switching is supported or not.
50 const char kSupportsDualGpus[] = "supports-dual-gpus"; 50 const char kSupportsDualGpus[] = "supports-dual-gpus";
51 51
52 // Overwrite the default GPU automatic switching behavior to force on
53 // integrated GPU or discrete GPU.
54 const char kGpuSwitching[] = "gpu-switching";
55
56 const char kGpuSwitchingOptionNameForceIntegrated[] = "force_integrated";
57 const char kGpuSwitchingOptionNameForceDiscrete[] = "force_discrete";
58
59 // Flag used for Linux tests: for desktop GL bindings, try to load this GL 52 // Flag used for Linux tests: for desktop GL bindings, try to load this GL
60 // library first, but fall back to regular library if loading fails. 53 // library first, but fall back to regular library if loading fails.
61 const char kTestGLLib[] = "test-gl-lib"; 54 const char kTestGLLib[] = "test-gl-lib";
62 55
63 // Use hardware gpu, if available, for tests. 56 // Use hardware gpu, if available, for tests.
64 const char kUseGpuInTests[] = "use-gpu-in-tests"; 57 const char kUseGpuInTests[] = "use-gpu-in-tests";
65 58
66 // Disables GL drawing operations which produce pixel output. With this 59 // Disables GL drawing operations which produce pixel output. With this
67 // the GL output will not be correct but tests will run faster. 60 // the GL output will not be correct but tests will run faster.
68 const char kDisableGLDrawingForTests[] = "disable-gl-drawing-for-tests"; 61 const char kDisableGLDrawingForTests[] = "disable-gl-drawing-for-tests";
(...skipping 12 matching lines...) Expand all
81 kEnableGPUServiceTracing, 74 kEnableGPUServiceTracing,
82 kGpuNoContextLost, 75 kGpuNoContextLost,
83 kDisableGLDrawingForTests, 76 kDisableGLDrawingForTests,
84 kOverrideUseGLWithOSMesaForTests, 77 kOverrideUseGLWithOSMesaForTests,
85 }; 78 };
86 const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches = 79 const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches =
87 arraysize(kGLSwitchesCopiedFromGpuProcessHost); 80 arraysize(kGLSwitchesCopiedFromGpuProcessHost);
88 81
89 } // namespace switches 82 } // namespace switches
90 83
OLDNEW
« native_client_sdk/doc_generated/devguide/coding/3D-graphics.html ('K') | « ui/gl/gl_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698