Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: gpu/config/gpu_finch_features.cc

Issue 2771953002: Switch Low-end Android to DefaultEnableGpuRasterization trial (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | gpu/config/gpu_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 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 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 #include "gpu/config/gpu_finch_features.h" 4 #include "gpu/config/gpu_finch_features.h"
5 5
6 #include "build/build_config.h" 6 #include "build/build_config.h"
7 7
8 namespace features { 8 namespace features {
9 9
10 // Enable GPU Rasterization by default. This can still be overridden by 10 // Enable GPU Rasterization by default. This can still be overridden by
11 // --force-gpu-rasterization or --disable-gpu-rasterization. 11 // --force-gpu-rasterization or --disable-gpu-rasterization.
12 #if defined(OS_ANDROID) || defined(OS_MACOSX) 12 #if defined(OS_MACOSX)
13 // DefaultEnableGpuRasterization has launched on Android and Mac. 13 // DefaultEnableGpuRasterization has launched on Mac.
14 const base::Feature kDefaultEnableGpuRasterization{ 14 const base::Feature kDefaultEnableGpuRasterization{
15 "DefaultEnableGpuRasterization", base::FEATURE_ENABLED_BY_DEFAULT}; 15 "DefaultEnableGpuRasterization", base::FEATURE_ENABLED_BY_DEFAULT};
16 #else 16 #else
17 const base::Feature kDefaultEnableGpuRasterization{ 17 const base::Feature kDefaultEnableGpuRasterization{
18 "DefaultEnableGpuRasterization", base::FEATURE_DISABLED_BY_DEFAULT}; 18 "DefaultEnableGpuRasterization", base::FEATURE_DISABLED_BY_DEFAULT};
19 #endif 19 #endif
20 20
21 } // namespace features 21 } // namespace features
OLDNEW
« no previous file with comments | « no previous file | gpu/config/gpu_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698