diff options
author | skyostil@chromium.org <skyostil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-26 19:47:21 +0000 |
---|---|---|
committer | skyostil@chromium.org <skyostil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-26 19:47:21 +0000 |
commit | fb15d1ec66213a5026997b3408c7a6f4ce8ac3c4 (patch) | |
tree | 1fe3de02cb362b751ba304f63ecffd9222b7f9b2 /cc | |
parent | 2f739b570a2fee0b8169389648f44a4d58361c74 (diff) | |
download | chromium_src-fb15d1ec66213a5026997b3408c7a6f4ce8ac3c4.zip chromium_src-fb15d1ec66213a5026997b3408c7a6f4ce8ac3c4.tar.gz chromium_src-fb15d1ec66213a5026997b3408c7a6f4ce8ac3c4.tar.bz2 |
Add vsync notification command line switch
This switch will make the renderer subscribe to a vsync notification from the browser instead of using a timer approximate the vsync pulse.
BUG=149227
Review URL: https://chromiumcodereview.appspot.com/11414308
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190740 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc')
-rw-r--r-- | cc/trees/layer_tree_settings.cc | 1 | ||||
-rw-r--r-- | cc/trees/layer_tree_settings.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/cc/trees/layer_tree_settings.cc b/cc/trees/layer_tree_settings.cc index 7759aaac..6b069ab 100644 --- a/cc/trees/layer_tree_settings.cc +++ b/cc/trees/layer_tree_settings.cc @@ -17,6 +17,7 @@ LayerTreeSettings::LayerTreeSettings() compositor_frame_message(false), impl_side_painting(false), render_vsync_enabled(true), + render_vsync_notification_enabled(false), per_tile_painting_enabled(false), partial_swap_enabled(false), cache_render_pass_contents(true), diff --git a/cc/trees/layer_tree_settings.h b/cc/trees/layer_tree_settings.h index 62006ea..6ce749e 100644 --- a/cc/trees/layer_tree_settings.h +++ b/cc/trees/layer_tree_settings.h @@ -22,6 +22,7 @@ class CC_EXPORT LayerTreeSettings { bool compositor_frame_message; bool impl_side_painting; bool render_vsync_enabled; + bool render_vsync_notification_enabled; bool per_tile_painting_enabled; bool partial_swap_enabled; bool cache_render_pass_contents; |