Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / gpu / config / gpu_blacklist.cc
bloba359123538dd0c9c47501daf2eae7415ecef5454
1 // Copyright (c) 2013 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.
5 #include "gpu/config/gpu_blacklist.h"
7 #include "gpu/config/gpu_feature_type.h"
9 namespace gpu {
11 GpuBlacklist::GpuBlacklist()
12 : GpuControlList() {
15 GpuBlacklist::~GpuBlacklist() {
18 // static
19 GpuBlacklist* GpuBlacklist::Create() {
20 GpuBlacklist* list = new GpuBlacklist();
21 list->AddSupportedFeature("accelerated_2d_canvas",
22 GPU_FEATURE_TYPE_ACCELERATED_2D_CANVAS);
23 list->AddSupportedFeature("gpu_compositing",
24 GPU_FEATURE_TYPE_GPU_COMPOSITING);
25 list->AddSupportedFeature("webgl",
26 GPU_FEATURE_TYPE_WEBGL);
27 list->AddSupportedFeature("flash_3d",
28 GPU_FEATURE_TYPE_FLASH3D);
29 list->AddSupportedFeature("flash_stage3d",
30 GPU_FEATURE_TYPE_FLASH_STAGE3D);
31 list->AddSupportedFeature("flash_stage3d_baseline",
32 GPU_FEATURE_TYPE_FLASH_STAGE3D_BASELINE);
33 list->AddSupportedFeature("accelerated_video_decode",
34 GPU_FEATURE_TYPE_ACCELERATED_VIDEO_DECODE);
35 list->AddSupportedFeature("accelerated_video_encode",
36 GPU_FEATURE_TYPE_ACCELERATED_VIDEO_ENCODE);
37 list->AddSupportedFeature("panel_fitting",
38 GPU_FEATURE_TYPE_PANEL_FITTING);
39 list->AddSupportedFeature("gpu_rasterization",
40 GPU_FEATURE_TYPE_GPU_RASTERIZATION);
41 list->set_supports_feature_type_all(true);
42 return list;
45 } // namespace gpu