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

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

Issue 8698008: This change adds the apple software renderer as an option on Chrome/Mac. It's enabled by passing... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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
« ui/gfx/gl/gl_surface_cgl.cc ('K') | « 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 { 7 namespace gfx {
8 8
9 const char kGLImplementationDesktopName[] = "desktop"; 9 const char kGLImplementationDesktopName[] = "desktop";
10 const char kGLImplementationOSMesaName[] = "osmesa"; 10 const char kGLImplementationOSMesaName[] = "osmesa";
11 const char kGLImplementationAppleName[] = "apple";
11 const char kGLImplementationEGLName[] = "egl"; 12 const char kGLImplementationEGLName[] = "egl";
12 const char kGLImplementationSwiftShaderName[] = "swiftshader"; 13 const char kGLImplementationSwiftShaderName[] = "swiftshader";
13 const char kGLImplementationMockName[] = "mock"; 14 const char kGLImplementationMockName[] = "mock";
14 15
15 } // namespace gfx 16 } // namespace gfx
16 17
17 namespace switches { 18 namespace switches {
18 19
19 // Stop the GPU from synchronizing on the vsync before presenting. 20 // Stop the GPU from synchronizing on the vsync before presenting.
20 const char kDisableGpuVsync[] = "disable-gpu-vsync"; 21 const char kDisableGpuVsync[] = "disable-gpu-vsync";
(...skipping 11 matching lines...) Expand all
32 const char kUseGL[] = "use-gl"; 33 const char kUseGL[] = "use-gl";
33 34
34 const char kSwiftShaderPath[] = "swiftshader-path"; 35 const char kSwiftShaderPath[] = "swiftshader-path";
35 36
36 // Inform Chrome that a GPU context will not be lost in power saving mode, 37 // Inform Chrome that a GPU context will not be lost in power saving mode,
37 // screen saving mode, etc. Note that this flag does not ensure that a GPU 38 // screen saving mode, etc. Note that this flag does not ensure that a GPU
38 // context will never be lost in any situations, say, a GPU reset. 39 // context will never be lost in any situations, say, a GPU reset.
39 const char kGpuNoContextLost[] = "gpu-no-context-lost"; 40 const char kGpuNoContextLost[] = "gpu-no-context-lost";
40 41
41 } // namespace switches 42 } // namespace switches
OLDNEW
« ui/gfx/gl/gl_surface_cgl.cc ('K') | « ui/gfx/gl/gl_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698