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

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

Issue 19925003: WIP - command line experiment Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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') | ui/message_center/message_center_switches.h » ('j') | 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 #include "base/basictypes.h" 6
7 #if !defined(ENABLE_FAST_COMMAND_LINE_SWITCHES)
7 8
8 namespace gfx { 9 namespace gfx {
9 10
10 const char kGLImplementationDesktopName[] = "desktop"; 11 const char kGLImplementationDesktopName[] = "desktop";
11 const char kGLImplementationOSMesaName[] = "osmesa"; 12 const char kGLImplementationOSMesaName[] = "osmesa";
12 const char kGLImplementationAppleName[] = "apple"; 13 const char kGLImplementationAppleName[] = "apple";
13 const char kGLImplementationEGLName[] = "egl"; 14 const char kGLImplementationEGLName[] = "egl";
14 const char kGLImplementationSwiftShaderName[] = "swiftshader"; 15 const char kGLImplementationSwiftShaderName[] = "swiftshader";
15 const char kGLImplementationMockName[] = "mock"; 16 const char kGLImplementationMockName[] = "mock";
16 17
17 } // namespace gfx 18 } // namespace gfx
18 19
20 #endif // !defined(ENABLE_FAST_COMMAND_LINE_SWITCHES)
21
19 namespace switches { 22 namespace switches {
20 23
21 // Enables use of D3D11 if it would otherwise be disabled by the blacklist. 24 // Enables use of D3D11 if it would otherwise be disabled by the blacklist.
22 const char kEnableD3D11[] = "enable-d3d11"; 25 const char kEnableD3D11[] = "enable-d3d11";
23 26
24 // Disables use of D3D11. 27 // Disables use of D3D11.
25 const char kDisableD3D11[] = "disable-d3d11"; 28 const char kDisableD3D11[] = "disable-d3d11";
26 29
27 // Stop the GPU from synchronizing on the vsync before presenting. 30 // Stop the GPU from synchronizing on the vsync before presenting.
28 const char kDisableGpuVsync[] = "disable-gpu-vsync"; 31 const char kDisableGpuVsync[] = "disable-gpu-vsync";
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 kEnableGPUServiceLogging, 81 kEnableGPUServiceLogging,
79 kEnableGPUServiceTracing, 82 kEnableGPUServiceTracing,
80 kGpuNoContextLost, 83 kGpuNoContextLost,
81 kGpuSwitching, 84 kGpuSwitching,
82 }; 85 };
83 const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches = 86 const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches =
84 arraysize(kGLSwitchesCopiedFromGpuProcessHost); 87 arraysize(kGLSwitchesCopiedFromGpuProcessHost);
85 88
86 } // namespace switches 89 } // namespace switches
87 90
OLDNEW
« no previous file with comments | « ui/gl/gl_switches.h ('k') | ui/message_center/message_center_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698