| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this | 1 // Copyright (c) 2009 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 "app/app_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 // 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. | |
| 14 const char kLang[] = "lang"; | |
| 15 | |
| 16 // Select which implementation of GL the GPU process should use. Options are: | 12 // Select which implementation of GL the GPU process should use. Options are: |
| 17 // desktop: whatever desktop OpenGL the user has installed (Linux and Mac | 13 // desktop: whatever desktop OpenGL the user has installed (Linux and Mac |
| 18 // default). | 14 // default). |
| 19 // egl: whatever EGL / GLES2 the user has installed (Windows default - actually | 15 // egl: whatever EGL / GLES2 the user has installed (Windows default - actually |
| 20 // ANGLE). | 16 // ANGLE). |
| 21 // osmesa: The OSMesa software renderer. | 17 // osmesa: The OSMesa software renderer. |
| 22 const char kUseGL[] = "use-gl"; | 18 const char kUseGL[] = "use-gl"; |
| 23 | 19 |
| 24 } // namespace switches | 20 } // namespace switches |
| OLD | NEW |