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

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

Issue 2654993004: Move GPU blacklist calculation to GPU proc (Closed)
Patch Set: Feedback + add rest of logic back in Created 3 years, 10 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
OLDNEW
(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_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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698