OLD | NEW |
---|---|
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "gpu/config/gpu_blacklist.h" | 5 #include "gpu/config/gpu_blacklist.h" |
6 | 6 |
7 #include "gpu/config/gpu_feature_type.h" | 7 #include "gpu/config/gpu_feature_type.h" |
8 | 8 |
9 namespace gpu { | 9 namespace gpu { |
10 | 10 |
(...skipping 24 matching lines...) Expand all Loading... | |
35 list->AddSupportedFeature("accelerated_video_encode", | 35 list->AddSupportedFeature("accelerated_video_encode", |
36 GPU_FEATURE_TYPE_ACCELERATED_VIDEO_ENCODE); | 36 GPU_FEATURE_TYPE_ACCELERATED_VIDEO_ENCODE); |
37 list->AddSupportedFeature("panel_fitting", | 37 list->AddSupportedFeature("panel_fitting", |
38 GPU_FEATURE_TYPE_PANEL_FITTING); | 38 GPU_FEATURE_TYPE_PANEL_FITTING); |
39 list->AddSupportedFeature("gpu_rasterization", | 39 list->AddSupportedFeature("gpu_rasterization", |
40 GPU_FEATURE_TYPE_GPU_RASTERIZATION); | 40 GPU_FEATURE_TYPE_GPU_RASTERIZATION); |
41 list->AddSupportedFeature("accelerated_vpx_decode", | 41 list->AddSupportedFeature("accelerated_vpx_decode", |
42 GPU_FEATURE_TYPE_ACCELERATED_VPX_DECODE); | 42 GPU_FEATURE_TYPE_ACCELERATED_VPX_DECODE); |
43 list->AddSupportedFeature("webgl2", | 43 list->AddSupportedFeature("webgl2", |
44 GPU_FEATURE_TYPE_WEBGL2); | 44 GPU_FEATURE_TYPE_WEBGL2); |
45 list->AddSupportedFeature("swiftshader", GPU_FEATURE_TYPE_SWIFTSHADER); | |
jbauman
2017/03/09 22:08:39
Won't this cause swiftshader to be blacklisted if
sugoi1
2017/03/10 02:09:09
Yes. Does this happen when a card gets blacklisted
| |
45 list->set_supports_feature_type_all(true); | 46 list->set_supports_feature_type_all(true); |
46 return list; | 47 return list; |
47 } | 48 } |
48 | 49 |
49 } // namespace gpu | 50 } // namespace gpu |
OLD | NEW |