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

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

Issue 7530008: Add --gpu-no-context-lost commandline switch. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 4 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/gfx/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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/gfx/gl/gl_switches.h" 5 #include "ui/gfx/gl/gl_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // Stop the GPU from synchronizing on the vsync before presenting. 9 // Stop the GPU from synchronizing on the vsync before presenting.
10 const char kDisableGpuVsync[] = "disable-gpu-vsync"; 10 const char kDisableGpuVsync[] = "disable-gpu-vsync";
11 11
12 // Turns on GPU logging (debug build only).
13 const char kEnableGPUServiceLogging[] = "enable-gpu-service-logging";
14 const char kEnableGPUClientLogging[] = "enable-gpu-client-logging";
15
12 // Select which implementation of GL the GPU process should use. Options are: 16 // Select which implementation of GL the GPU process should use. Options are:
13 // desktop: whatever desktop OpenGL the user has installed (Linux and Mac 17 // desktop: whatever desktop OpenGL the user has installed (Linux and Mac
14 // default). 18 // default).
15 // egl: whatever EGL / GLES2 the user has installed (Windows default - actually 19 // egl: whatever EGL / GLES2 the user has installed (Windows default - actually
16 // ANGLE). 20 // ANGLE).
17 // osmesa: The OSMesa software renderer. 21 // osmesa: The OSMesa software renderer.
18 const char kUseGL[] = "use-gl"; 22 const char kUseGL[] = "use-gl";
19 23
20 // Turns on GPU logging (debug build only). 24 // Inform Chrome that a GPU context will not be lost in power saving mode,
21 const char kEnableGPUServiceLogging[] = "enable-gpu-service-logging"; 25 // screen saving mode, etc. Note that this flag does not ensure that a GPU
22 const char kEnableGPUClientLogging[] = "enable-gpu-client-logging"; 26 // context will never be lost in any situations, say, a GPU reset.
27 const char kGpuNoContextLost[] = "gpu-no-context-lost";
23 28
24 } // namespace switches 29 } // namespace switches
OLDNEW
« no previous file with comments | « ui/gfx/gl/gl_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698