summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webpreferences.h
diff options
context:
space:
mode:
authorvangelis@chromium.org <vangelis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-08 08:50:24 +0000
committervangelis@chromium.org <vangelis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-08 08:50:24 +0000
commite38b0052ba68c2b44e8dbeb5a0cc16ea4be78974 (patch)
treeb6f4c16b72b571e508aefae50842c026e15ca83c /webkit/glue/webpreferences.h
parent73f092fa32cb7cbd88c8b8a206daa09754d253c2 (diff)
downloadchromium_src-e38b0052ba68c2b44e8dbeb5a0cc16ea4be78974.zip
chromium_src-e38b0052ba68c2b44e8dbeb5a0cc16ea4be78974.tar.gz
chromium_src-e38b0052ba68c2b44e8dbeb5a0cc16ea4be78974.tar.bz2
Turn gpu acceleration of video (CSC and scaling) on by default. <video> elements will
now trigger the accelerated compositor even if --enable-accelerated-layers isn't specified. A new flag (--disable-accelerated-video) is added to disable the feature. BUG=68911 Review URL: http://codereview.chromium.org/6160004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70842 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webpreferences.h')
-rw-r--r--webkit/glue/webpreferences.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/glue/webpreferences.h b/webkit/glue/webpreferences.h
index 8ee4ce8..b14d323 100644
--- a/webkit/glue/webpreferences.h
+++ b/webkit/glue/webpreferences.h
@@ -70,6 +70,7 @@ struct WebPreferences {
bool show_composited_layer_borders;
bool accelerated_compositing_enabled;
bool accelerated_layers_enabled;
+ bool accelerated_video_enabled;
bool accelerated_2d_canvas_enabled;
bool memory_info_enabled;