OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 #include "gpu/config/gpu_finch_features.h" |
| 5 |
| 6 #include "build/build_config.h" |
| 7 |
| 8 namespace features { |
| 9 |
| 10 // Enable GPU Rasterization by default. This can still be overridden by |
| 11 // --force-gpu-rasterization or --disable-gpu-rasterization. |
| 12 #if defined(OS_ANDROID) || defined(OS_MACOSX) |
| 13 // DefaultEnableGpuRasterization has launched on Android and Mac. |
| 14 const base::Feature kDefaultEnableGpuRasterization{ |
| 15 "DefaultEnableGpuRasterization", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 16 #else |
| 17 const base::Feature kDefaultEnableGpuRasterization{ |
| 18 "DefaultEnableGpuRasterization", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 19 #endif |
| 20 |
| 21 } // namespace features |
OLD | NEW |