blob: 833ec88c0816ef5a449238793e8a0c14ca6cd8db [file] [log] [blame]
// 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 kDirectCompositionPreferNV12Overlays;
GPU_EXPORT extern const base::Feature kSharedImageManager;
GPU_EXPORT extern const base::Feature kUseDCOverlaysForSoftwareProtectedVideo;
GPU_EXPORT extern const base::Feature kDirectCompositionUseNV12DecodeSwapChain;
GPU_EXPORT extern const base::Feature kVaapiJpegImageDecodeAcceleration;
} // namespace features
#endif // GPU_CONFIG_GPU_FEATURES_H_