OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/gl/gl_switches.h" | 5 #include "ui/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"; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 const char kGpuNoContextLost[] = "gpu-no-context-lost"; | 45 const char kGpuNoContextLost[] = "gpu-no-context-lost"; |
46 | 46 |
47 // Add a delay in milliseconds to the gpu swap buffer completion signal. | 47 // Add a delay in milliseconds to the gpu swap buffer completion signal. |
48 // Simulates a slow GPU. | 48 // Simulates a slow GPU. |
49 const char kGpuSwapDelay[] = "gpu-swap-delay"; | 49 const char kGpuSwapDelay[] = "gpu-swap-delay"; |
50 | 50 |
51 // Flag used for Linux tests: for desktop GL bindings, try to load this GL | 51 // Flag used for Linux tests: for desktop GL bindings, try to load this GL |
52 // library first, but fall back to regular library if loading fails. | 52 // library first, but fall back to regular library if loading fails. |
53 const char kTestGLLib[] = "test-gl-lib"; | 53 const char kTestGLLib[] = "test-gl-lib"; |
54 | 54 |
| 55 // Flags used to pass GPU info from browser process to GPU process. |
| 56 const char kGpuVendorID[] = "gpu-vendor-id"; |
| 57 const char kGpuDeviceID[] = "gpu-device-id"; |
| 58 const char kGpuDriverVersion[] = "gpu-driver-version"; |
| 59 |
55 } // namespace switches | 60 } // namespace switches |
OLD | NEW |