summaryrefslogtreecommitdiff
path: root/chromium/gpu/config/gpu_finch_features.cc
blob: df150acf7a5dcc561c04449445ab84168a2f4aec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright 2017 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_finch_features.h"

#include "build/build_config.h"

namespace features {

// Enable GPU Rasterization by default. This can still be overridden by
// --force-gpu-rasterization or --disable-gpu-rasterization.
#if defined(OS_MACOSX) || defined(OS_WIN)
// DefaultEnableGpuRasterization has launched on Mac and Windows.
const base::Feature kDefaultEnableGpuRasterization{
    "DefaultEnableGpuRasterization", base::FEATURE_ENABLED_BY_DEFAULT};
#else
const base::Feature kDefaultEnableGpuRasterization{
    "DefaultEnableGpuRasterization", base::FEATURE_DISABLED_BY_DEFAULT};
#endif

// Enables the GPU scheduler. This can still be overridden by
// --enable-gpu-scheduler or --disable-gpu-scheduler.
const base::Feature kGpuScheduler{"GpuScheduler",
                                  base::FEATURE_DISABLED_BY_DEFAULT};

}  // namespace features