| // Copyright 2015 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #include "gpu/config/gpu_switches.h" |
| |
| namespace switches { |
| |
| // Disable workarounds for various GPU driver bugs. |
| const char kDisableGpuDriverBugWorkarounds[] = |
| "disable-gpu-driver-bug-workarounds"; |
| |
| // Disable GPU rasterization, i.e. rasterize on the CPU only. |
| // Overrides the kEnableGpuRasterization and kForceGpuRasterization flags. |
| const char kDisableGpuRasterization[] = "disable-gpu-rasterization"; |
| |
| // Allow heuristics to determine when a layer tile should be drawn with the |
| // Skia GPU backend. Only valid with GPU accelerated compositing + |
| // impl-side painting. |
| const char kEnableGpuRasterization[] = "enable-gpu-rasterization"; |
| |
| // Turns on out of process raster for the renderer whenever gpu raster |
| // would have been used. Enables the chromium_raster_transport extension. |
| const char kEnableOOPRasterization[] = "enable-oop-rasterization"; |
| |
| // Use a dedicated RasterDecoder instead of generic GLES2Decoder. |
| const char kEnableRasterDecoder[] = "enable-raster-decoder"; |
| |
| // Passes encoded GpuPreferences to GPU process. |
| const char kGpuPreferences[] = "gpu-preferences"; |
| |
| // Ignores GPU blacklist. |
| const char kIgnoreGpuBlacklist[] = "ignore-gpu-blacklist"; |
| |
| // Select a different set of GPU blacklist entries with the specificed |
| // test_group ID. |
| const char kGpuBlacklistTestGroup[] = "gpu-blacklist-test-group"; |
| |
| // Select a different set of GPU driver bug list entries with the specificed |
| // test_group ID. |
| const char kGpuDriverBugListTestGroup[] = "gpu-driver-bug-list-test-group"; |
| |
| } // namespace switches |