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

Unified Diff: gpu/config/gpu_blacklist.cc

Issue 2737983002: WebGL feature will only enabled when accelerated (Closed)
Patch Set: WebGL and WebGL2 features will only enabled when accelerated 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..6072ab8723f576d46f0ceb80c51e621e2e2cb628 100644
--- a/gpu/config/gpu_blacklist.cc
+++ b/gpu/config/gpu_blacklist.cc
@@ -22,8 +22,7 @@ GpuBlacklist* GpuBlacklist::Create() {
GPU_FEATURE_TYPE_ACCELERATED_2D_CANVAS);
list->AddSupportedFeature("gpu_compositing",
GPU_FEATURE_TYPE_GPU_COMPOSITING);
- list->AddSupportedFeature("webgl",
- GPU_FEATURE_TYPE_WEBGL);
+ list->AddSupportedFeature("webgl", GPU_FEATURE_TYPE_ACCELERATED_WEBGL);
piman 2017/03/10 20:31:40 We should rename the feature name (as well as in t
sugoi1 2017/03/10 20:42:38 Ok, I had started doing that, but this is used as
list->AddSupportedFeature("flash_3d",
GPU_FEATURE_TYPE_FLASH3D);
list->AddSupportedFeature("flash_stage3d",
@@ -40,8 +39,7 @@ GpuBlacklist* GpuBlacklist::Create() {
GPU_FEATURE_TYPE_GPU_RASTERIZATION);
list->AddSupportedFeature("accelerated_vpx_decode",
GPU_FEATURE_TYPE_ACCELERATED_VPX_DECODE);
- list->AddSupportedFeature("webgl2",
- GPU_FEATURE_TYPE_WEBGL2);
+ list->AddSupportedFeature("webgl2", GPU_FEATURE_TYPE_ACCELERATED_WEBGL2);
list->set_supports_feature_type_all(true);
return list;
}

Powered by Google App Engine
This is Rietveld 408576698