diff options
author | skaslev@chromium.org <skaslev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-15 22:44:02 +0000 |
---|---|---|
committer | skaslev@chromium.org <skaslev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-15 22:44:02 +0000 |
commit | 878705be811db12427023ccdf2dcf7d0ca6b06dc (patch) | |
tree | 795c756bf423665d8c2fe5fa2641296dc070d772 /cc/trees/layer_tree_host_impl.h | |
parent | 7ef4321c549f0d6c33e02090a6714d424adb65bb (diff) | |
download | chromium_src-878705be811db12427023ccdf2dcf7d0ca6b06dc.zip chromium_src-878705be811db12427023ccdf2dcf7d0ca6b06dc.tar.gz chromium_src-878705be811db12427023ccdf2dcf7d0ca6b06dc.tar.bz2 |
Propagate back damaged rects coming from the UI to the renderer.
This patch also fixes top level controls rendering in s/w compositing for Aura on Windows.
BUG=161008,229553
Review URL: https://codereview.chromium.org/14197002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194248 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/trees/layer_tree_host_impl.h')
-rw-r--r-- | cc/trees/layer_tree_host_impl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h index ffdfb5f..6c884f1 100644 --- a/cc/trees/layer_tree_host_impl.h +++ b/cc/trees/layer_tree_host_impl.h @@ -142,6 +142,7 @@ class CC_EXPORT LayerTreeHostImpl : public InputHandlerClient, base::Time wall_clock_time); virtual void UpdateAnimationState(bool start_ready_animations); void UpdateBackgroundAnimateTicking(bool should_background_tick); + void SetViewportDamage(const gfx::Rect& damage_rect); void ManageTiles(); void SetAnticipatedDrawTime(base::TimeTicks time); @@ -461,7 +462,7 @@ class CC_EXPORT LayerTreeHostImpl : public InputHandlerClient, size_t last_sent_memory_visible_and_nearby_bytes_; size_t last_sent_memory_use_bytes_; - bool next_frame_damages_full_device_viewport_; + gfx::Rect viewport_damage_rect_; base::TimeTicks current_frame_time_; |