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

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

Issue 7517012: Turn on UIPI for the GPU sandbox. (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 gfx {
8
9 const char kGLImplementationDesktopName[] = "desktop";
10 const char kGLImplementationOSMesaName[] = "osmesa";
11 const char kGLImplementationEGLName[] = "egl";
12 const char kGLImplementationMockName[] = "mock";
13
14 } // namespace gfx
15
7 namespace switches { 16 namespace switches {
8 17
9 // Stop the GPU from synchronizing on the vsync before presenting. 18 // Stop the GPU from synchronizing on the vsync before presenting.
10 const char kDisableGpuVsync[] = "disable-gpu-vsync"; 19 const char kDisableGpuVsync[] = "disable-gpu-vsync";
11 20
12 // Select which implementation of GL the GPU process should use. Options are: 21 // Select which implementation of GL the GPU process should use. Options are:
13 // desktop: whatever desktop OpenGL the user has installed (Linux and Mac 22 // desktop: whatever desktop OpenGL the user has installed (Linux and Mac
14 // default). 23 // default).
15 // egl: whatever EGL / GLES2 the user has installed (Windows default - actually 24 // egl: whatever EGL / GLES2 the user has installed (Windows default - actually
16 // ANGLE). 25 // ANGLE).
17 // osmesa: The OSMesa software renderer. 26 // osmesa: The OSMesa software renderer.
18 const char kUseGL[] = "use-gl"; 27 const char kUseGL[] = "use-gl";
19 28
20 // Turns on GPU logging (debug build only). 29 // Turns on GPU logging (debug build only).
21 const char kEnableGPUServiceLogging[] = "enable-gpu-service-logging"; 30 const char kEnableGPUServiceLogging[] = "enable-gpu-service-logging";
22 const char kEnableGPUClientLogging[] = "enable-gpu-client-logging"; 31 const char kEnableGPUClientLogging[] = "enable-gpu-client-logging";
23 32
24 } // namespace switches 33 } // 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