OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this |
2 // source code is governed by a BSD-style license that can be found in the | 2 // source code is governed by a BSD-style license that can be found in the |
3 // LICENSE file. | 3 // LICENSE file. |
4 | 4 |
5 #include "app/app_switches.h" | 5 #include "ui/base/ui_base_switches.h" |
6 | 6 |
7 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // Stop the GPU from synchronizing on the vsync before presenting. | |
10 const char kDisableGpuVsync[] = "disable-gpu-vsync"; | |
11 | |
12 // The language file that we want to try to open. Of the form | 9 // The language file that we want to try to open. Of the form |
13 // language[-country] where language is the 2 letter code from ISO-639. | 10 // language[-country] where language is the 2 letter code from ISO-639. |
14 const char kLang[] = "lang"; | 11 const char kLang[] = "lang"; |
15 | 12 |
16 // Select which implementation of GL the GPU process should use. Options are: | |
17 // desktop: whatever desktop OpenGL the user has installed (Linux and Mac | |
18 // default). | |
19 // egl: whatever EGL / GLES2 the user has installed (Windows default - actually | |
20 // ANGLE). | |
21 // osmesa: The OSMesa software renderer. | |
22 const char kUseGL[] = "use-gl"; | |
23 | |
24 } // namespace switches | 13 } // namespace switches |
OLD | NEW |