| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "gpu/config/gpu_switches.h" | 5 #include "gpu/config/gpu_switches.h" |
| 6 | 6 |
| 7 namespace switches { | 7 namespace switches { |
| 8 | 8 |
| 9 // Disable GPU rasterization, i.e. rasterize on the CPU only. |
| 10 // Overrides the kEnableGpuRasterization and kForceGpuRasterization flags. |
| 11 const char kDisableGpuRasterization[] = "disable-gpu-rasterization"; |
| 12 |
| 13 // Allow heuristics to determine when a layer tile should be drawn with the |
| 14 // Skia GPU backend. Only valid with GPU accelerated compositing + |
| 15 // impl-side painting. |
| 16 const char kEnableGpuRasterization[] = "enable-gpu-rasterization"; |
| 17 |
| 9 // Passes active gpu vendor id from browser process to GPU process. | 18 // Passes active gpu vendor id from browser process to GPU process. |
| 10 const char kGpuActiveVendorID[] = "gpu-active-vendor-id"; | 19 const char kGpuActiveVendorID[] = "gpu-active-vendor-id"; |
| 11 | 20 |
| 12 // Passes active gpu device id from browser process to GPU process. | 21 // Passes active gpu device id from browser process to GPU process. |
| 13 const char kGpuActiveDeviceID[] = "gpu-active-device-id"; | 22 const char kGpuActiveDeviceID[] = "gpu-active-device-id"; |
| 14 | 23 |
| 15 // Passes gpu device_id from browser process to GPU process. | 24 // Passes gpu device_id from browser process to GPU process. |
| 16 const char kGpuDeviceID[] = "gpu-device-id"; | 25 const char kGpuDeviceID[] = "gpu-device-id"; |
| 17 | 26 |
| 18 // Pass a set of GpuDriverBugWorkaroundType ids, seperated by ','. | 27 // Pass a set of GpuDriverBugWorkaroundType ids, seperated by ','. |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 | 69 |
| 61 // Override gl renderer from the GpuInfoCollector. | 70 // Override gl renderer from the GpuInfoCollector. |
| 62 const char kGpuTestingGLRenderer[] = "gpu-testing-gl-renderer"; | 71 const char kGpuTestingGLRenderer[] = "gpu-testing-gl-renderer"; |
| 63 | 72 |
| 64 // Override gl version from the GpuInfoCollector. | 73 // Override gl version from the GpuInfoCollector. |
| 65 const char kGpuTestingGLVersion[] = "gpu-testing-gl-version"; | 74 const char kGpuTestingGLVersion[] = "gpu-testing-gl-version"; |
| 66 | 75 |
| 67 // Passes gpu vendor_id from browser process to GPU process. | 76 // Passes gpu vendor_id from browser process to GPU process. |
| 68 const char kGpuVendorID[] = "gpu-vendor-id"; | 77 const char kGpuVendorID[] = "gpu-vendor-id"; |
| 69 | 78 |
| 79 // Ignores GPU blacklist. |
| 80 const char kIgnoreGpuBlacklist[] = "ignore-gpu-blacklist"; |
| 81 |
| 70 } // namespace switches | 82 } // namespace switches |
| OLD | NEW |