forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gpu_finch_features.h
55 lines (36 loc) · 1.65 KB
/
gpu_finch_features.h
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// 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.
// This file defines all the public base::FeatureList features for the gpu
// module.
#ifndef GPU_CONFIG_GPU_FEATURES_H_
#define GPU_CONFIG_GPU_FEATURES_H_
#include "base/feature_list.h"
#include "build/build_config.h"
#include "gpu/gpu_export.h"
namespace features {
// All features in alphabetical order. The features should be documented
// alongside the definition of their values in the .cc file.
#if defined(OS_ANDROID)
GPU_EXPORT extern const base::Feature kAImageReaderMediaPlayer;
GPU_EXPORT extern const base::Feature kAndroidSurfaceControl;
#endif // defined(OS_ANDROID)
GPU_EXPORT extern const base::Feature kDefaultEnableGpuRasterization;
GPU_EXPORT extern const base::Feature kDefaultEnableOopRasterization;
GPU_EXPORT extern const base::Feature kDefaultPassthroughCommandDecoder;
GPU_EXPORT extern const base::Feature kDirectCompositionUnderlays;
GPU_EXPORT extern const base::Feature kGpuUseDisplayThreadPriority;
GPU_EXPORT extern const base::Feature
kGpuWatchdogNoTerminationAwaitingAcknowledge;
GPU_EXPORT extern const base::Feature kGpuWatchdogV2;
#if defined(OS_MACOSX)
GPU_EXPORT extern const base::Feature kMetal;
#endif
GPU_EXPORT extern const base::Feature kSharedImageManager;
GPU_EXPORT extern const base::Feature kUseDCOverlaysForSoftwareProtectedVideo;
GPU_EXPORT extern const base::Feature kVaapiJpegImageDecodeAcceleration;
#if defined(OS_ANDROID)
GPU_EXPORT bool IsAndroidSurfaceControlEnabled();
#endif
} // namespace features
#endif // GPU_CONFIG_GPU_FEATURES_H_