diff options
author | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-25 20:02:19 +0000 |
---|---|---|
committer | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-25 20:02:19 +0000 |
commit | 2a4c873de5d4f642347990bc6f6a169ee66ce22b (patch) | |
tree | d25d2a8025e8428c0c347cc73637e77c4412f77a /gpu | |
parent | ac46d03cae8d98e911b88ccd91531650f0f16489 (diff) | |
download | chromium_src-2a4c873de5d4f642347990bc6f6a169ee66ce22b.zip chromium_src-2a4c873de5d4f642347990bc6f6a169ee66ce22b.tar.gz chromium_src-2a4c873de5d4f642347990bc6f6a169ee66ce22b.tar.bz2 |
Remove GPU_FEATURE_TYPE_3D_CSS and --disable-accelerated-layers
We ignore GPU_FEATURE_TYPE_3D_CSS, so remove it.
Nothing sets --disable-accelerated-layers, and it doesn't correspond to
a production path, so remove it.
This lets us clean up some WebPreferences fields which are always set to
true.
Also remove WebPreferences::accelerated_compositing_for_plugins_enabled
which is always true.
BUG=362164,365847
R=bbudge@chromium.org, danakj@chromium.org, tsepez@chromium.org
Review URL: https://codereview.chromium.org/239973005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266226 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu')
-rw-r--r-- | gpu/config/gpu_blacklist.cc | 2 | ||||
-rw-r--r-- | gpu/config/gpu_blacklist_unittest.cc | 4 | ||||
-rw-r--r-- | gpu/config/gpu_feature_type.h | 1 |
3 files changed, 0 insertions, 7 deletions
diff --git a/gpu/config/gpu_blacklist.cc b/gpu/config/gpu_blacklist.cc index 8a67c63..932bec1 100644 --- a/gpu/config/gpu_blacklist.cc +++ b/gpu/config/gpu_blacklist.cc @@ -34,8 +34,6 @@ GpuBlacklist* GpuBlacklist::Create() { GPU_FEATURE_TYPE_ACCELERATED_VIDEO_DECODE); list->AddSupportedFeature("accelerated_video_encode", GPU_FEATURE_TYPE_ACCELERATED_VIDEO_ENCODE); - list->AddSupportedFeature("3d_css", - GPU_FEATURE_TYPE_3D_CSS); list->AddSupportedFeature("accelerated_video", GPU_FEATURE_TYPE_ACCELERATED_VIDEO); list->AddSupportedFeature("panel_fitting", diff --git a/gpu/config/gpu_blacklist_unittest.cc b/gpu/config/gpu_blacklist_unittest.cc index 539f2e6..26a5b2a 100644 --- a/gpu/config/gpu_blacklist_unittest.cc +++ b/gpu/config/gpu_blacklist_unittest.cc @@ -120,10 +120,6 @@ GPU_BLACKLIST_FEATURE_TEST(AcceleratedVideoEncode, "accelerated_video_encode", GPU_FEATURE_TYPE_ACCELERATED_VIDEO_ENCODE) -GPU_BLACKLIST_FEATURE_TEST(Css3D, - "3d_css", - GPU_FEATURE_TYPE_3D_CSS) - GPU_BLACKLIST_FEATURE_TEST(AcceleratedVideo, "accelerated_video", GPU_FEATURE_TYPE_ACCELERATED_VIDEO) diff --git a/gpu/config/gpu_feature_type.h b/gpu/config/gpu_feature_type.h index f023ecb..2574f857 100644 --- a/gpu/config/gpu_feature_type.h +++ b/gpu/config/gpu_feature_type.h @@ -18,7 +18,6 @@ enum GpuFeatureType { GPU_FEATURE_TYPE_FLASH_STAGE3D, GPU_FEATURE_TYPE_ACCELERATED_VIDEO_DECODE, GPU_FEATURE_TYPE_ACCELERATED_VIDEO_ENCODE, - GPU_FEATURE_TYPE_3D_CSS, GPU_FEATURE_TYPE_ACCELERATED_VIDEO, GPU_FEATURE_TYPE_PANEL_FITTING, GPU_FEATURE_TYPE_FLASH_STAGE3D_BASELINE, |