summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authorsenorblanco@chromium.org <senorblanco@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-07 14:24:17 +0000
committersenorblanco@chromium.org <senorblanco@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-07 14:24:17 +0000
commitda8ccd25b461077070b410af07b20e03b4fefd36 (patch)
treed0482920238efa54e315e0e5c517be6faa28aab4 /chrome/browser
parent2c5c9d596ad422529c88b47db2b60eff9410cde0 (diff)
downloadchromium_src-da8ccd25b461077070b410af07b20e03b4fefd36.zip
chromium_src-da8ccd25b461077070b410af07b20e03b4fefd36.tar.gz
chromium_src-da8ccd25b461077070b410af07b20e03b4fefd36.tar.bz2
Add --enable-accelerated-filters flag to Chrome. This is the chrome-side change corresponding to http://trac.webkit.org/changeset/102088. Note that most of this is the result of blind devotion to cargo cult, based on code for other flags.
BUG=none TEST=none Review URL: http://codereview.chromium.org/8822025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113388 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/tab_contents/render_view_host_delegate_helper.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/render_view_host_delegate_helper.cc b/chrome/browser/tab_contents/render_view_host_delegate_helper.cc
index 7f3b255..752fcbb 100644
--- a/chrome/browser/tab_contents/render_view_host_delegate_helper.cc
+++ b/chrome/browser/tab_contents/render_view_host_delegate_helper.cc
@@ -460,6 +460,9 @@ WebPreferences RenderViewHostDelegateHelper::GetWebkitPrefs(
web_prefs.accelerated_drawing_enabled =
GpuProcessHost::gpu_enabled() &&
command_line.HasSwitch(switches::kEnableAcceleratedDrawing);
+ web_prefs.accelerated_filters_enabled =
+ GpuProcessHost::gpu_enabled() &&
+ command_line.HasSwitch(switches::kEnableAcceleratedFilters);
web_prefs.accelerated_layers_enabled =
!command_line.HasSwitch(switches::kDisableAcceleratedLayers);
web_prefs.composite_to_texture_enabled =