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

Unified Diff: gpu/config/gpu_blacklist.cc

Issue 2737983002: WebGL feature will only enabled when accelerated (Closed)
Patch Set: Added SwiftShader as a GPU feature 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
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);
list->set_supports_feature_type_all(true);
return list;
}

Powered by Google App Engine
This is Rietveld 408576698