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

Unified Diff: content/browser/gpu/compositor_util.cc

Issue 239973005: Remove GPU_FEATURE_TYPE_3D_CSS and --disable-accelerated-layers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 8 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 | « no previous file | content/browser/gpu/gpu_data_manager_impl_private.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/compositor_util.cc
diff --git a/content/browser/gpu/compositor_util.cc b/content/browser/gpu/compositor_util.cc
index a9c3318c86b611e63b712756df9046a5c960d565..88e0d22bc59f3bd4eb5a3618ba0330361613f438 100644
--- a/content/browser/gpu/compositor_util.cc
+++ b/content/browser/gpu/compositor_util.cc
@@ -50,21 +50,6 @@ const GpuFeatureInfo GetGpuFeatureInfo(size_t index, bool* eof) {
true
},
{
- "3d_css",
- manager->IsFeatureBlacklisted(gpu::GPU_FEATURE_TYPE_3D_CSS),
- command_line.HasSwitch(switches::kDisableAcceleratedLayers),
- "Accelerated layers have been disabled at the command line.",
- false
- },
- {
- "css_animation",
- manager->IsFeatureBlacklisted(gpu::GPU_FEATURE_TYPE_3D_CSS),
- command_line.HasSwitch(cc::switches::kDisableThreadedAnimation) ||
- command_line.HasSwitch(switches::kDisableAcceleratedLayers),
- "Accelerated CSS animation has been disabled at the command line.",
- true
- },
- {
"webgl",
manager->IsFeatureBlacklisted(gpu::GPU_FEATURE_TYPE_WEBGL),
command_line.HasSwitch(switches::kDisableExperimentalWebGL),
@@ -254,9 +239,7 @@ base::Value* GetFeatureStatus() {
std::string status;
if (gpu_feature_info.disabled) {
status = "disabled";
- if (gpu_feature_info.name == "css_animation") {
- status += "_software_animated";
- } else if (gpu_feature_info.name == "raster") {
+ if (gpu_feature_info.name == "raster") {
if (IsImplSidePaintingEnabled())
status += "_software_multithreaded";
else
@@ -281,12 +264,7 @@ base::Value* GetFeatureStatus() {
if (gpu_feature_info.name == "webgl" &&
manager->IsFeatureBlacklisted(gpu::GPU_FEATURE_TYPE_GPU_COMPOSITING))
status += "_readback";
- if (gpu_feature_info.name == "css_animation") {
- if (IsThreadedCompositingEnabled())
- status = "accelerated_threaded";
- else
- status = "accelerated";
- } else if (gpu_feature_info.name == "raster") {
+ if (gpu_feature_info.name == "raster") {
if (IsForceGpuRasterizationEnabled())
status += "_force";
}
« no previous file with comments | « no previous file | content/browser/gpu/gpu_data_manager_impl_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698