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

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

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 #ifndef UI_GL_GL_SWITCHES_H_ 5 #ifndef UI_GL_GL_SWITCHES_H_
6 #define UI_GL_GL_SWITCHES_H_ 6 #define UI_GL_GL_SWITCHES_H_
7 7
8 // Defines all the command-line switches used by ui/gl. 8 // Defines all the command-line switches used by ui/gl.
9 9
10 #include "ui/gl/gl_export.h" 10 #include "ui/gl/gl_export.h"
(...skipping 13 matching lines...) Expand all
24 namespace switches { 24 namespace switches {
25 25
26 GL_EXPORT extern const char kDisableD3D11[]; 26 GL_EXPORT extern const char kDisableD3D11[];
27 GL_EXPORT extern const char kDisableGpuVsync[]; 27 GL_EXPORT extern const char kDisableGpuVsync[];
28 GL_EXPORT extern const char kEnableGPUServiceLogging[]; 28 GL_EXPORT extern const char kEnableGPUServiceLogging[];
29 GL_EXPORT extern const char kEnableGPUClientLogging[]; 29 GL_EXPORT extern const char kEnableGPUClientLogging[];
30 GL_EXPORT extern const char kEnableGPUServiceTracing[]; 30 GL_EXPORT extern const char kEnableGPUServiceTracing[];
31 GL_EXPORT extern const char kGpuNoContextLost[]; 31 GL_EXPORT extern const char kGpuNoContextLost[];
32 32
33 GL_EXPORT extern const char kSupportsDualGpus[]; 33 GL_EXPORT extern const char kSupportsDualGpus[];
34 GL_EXPORT extern const char kGpuSwitching[];
35
36 // The GPU switching names that can be passed to --gpu-switching.
37 GL_EXPORT extern const char kGpuSwitchingOptionNameForceIntegrated[];
38 GL_EXPORT extern const char kGpuSwitchingOptionNameForceDiscrete[];
39 // The last one (automatic) is not used as commandline switch option.
40 GL_EXPORT extern const char kGpuSwitchingOptionNameAutomatic[];
41 34
42 GL_EXPORT extern const char kUseGL[]; 35 GL_EXPORT extern const char kUseGL[];
43 GL_EXPORT extern const char kSwiftShaderPath[]; 36 GL_EXPORT extern const char kSwiftShaderPath[];
44 GL_EXPORT extern const char kTestGLLib[]; 37 GL_EXPORT extern const char kTestGLLib[];
45 GL_EXPORT extern const char kUseGpuInTests[]; 38 GL_EXPORT extern const char kUseGpuInTests[];
46 39
47 // These flags are used by the test harness code, not passed in by users. 40 // These flags are used by the test harness code, not passed in by users.
48 GL_EXPORT extern const char kDisableGLDrawingForTests[]; 41 GL_EXPORT extern const char kDisableGLDrawingForTests[];
49 GL_EXPORT extern const char kOverrideUseGLWithOSMesaForTests[]; 42 GL_EXPORT extern const char kOverrideUseGLWithOSMesaForTests[];
50 43
51 GL_EXPORT extern const char* kGLSwitchesCopiedFromGpuProcessHost[]; 44 GL_EXPORT extern const char* kGLSwitchesCopiedFromGpuProcessHost[];
52 GL_EXPORT extern const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches; 45 GL_EXPORT extern const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches;
53 46
54 } // namespace switches 47 } // namespace switches
55 48
56 #endif // UI_GL_GL_SWITCHES_H_ 49 #endif // UI_GL_GL_SWITCHES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698