Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(633)

Unified Diff: gpu/config/gpu_blacklist.cc

Issue 2737983002: WebGL feature will only enabled when accelerated (Closed)
Patch Set: Restored kDisableSoftwareRasterizer for disabling SwiftShader Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/gpu/gpu_data_manager_impl_private_unittest.cc ('k') | gpu/config/gpu_blacklist_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/config/gpu_blacklist.cc
diff --git a/gpu/config/gpu_blacklist.cc b/gpu/config/gpu_blacklist.cc
index 883cdd1d806bc17a5d6bb0146655869ce42fd5ed..08e4149918e454c78c4cc541272a59683c4b27cd 100644
--- a/gpu/config/gpu_blacklist.cc
+++ b/gpu/config/gpu_blacklist.cc
@@ -42,6 +42,7 @@ GpuBlacklist* GpuBlacklist::Create() {
GPU_FEATURE_TYPE_ACCELERATED_VPX_DECODE);
list->AddSupportedFeature("webgl2",
GPU_FEATURE_TYPE_WEBGL2);
+ 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
list->set_supports_feature_type_all(true);
return list;
}
« no previous file with comments | « content/browser/gpu/gpu_data_manager_impl_private_unittest.cc ('k') | gpu/config/gpu_blacklist_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698