diff options
author | Vladimir Levin <vmpstr@chromium.org> | 2014-09-09 11:38:36 -0700 |
---|---|---|
committer | Vladimir Levin <vmpstr@chromium.org> | 2014-09-09 18:46:21 +0000 |
commit | e9d3d0540b881468a8de05a05c682b4d2e520d58 (patch) | |
tree | b097710f742b8aa17dce56bd299dd05af902d51a /cc/base/scoped_ptr_algorithm.h | |
parent | bd227b55ed73b3328665307e1f9e2419bbc95996 (diff) | |
download | chromium_src-e9d3d0540b881468a8de05a05c682b4d2e520d58.zip chromium_src-e9d3d0540b881468a8de05a05c682b4d2e520d58.tar.gz chromium_src-e9d3d0540b881468a8de05a05c682b4d2e520d58.tar.bz2 |
cc: Remove tiles from recycle tree that were deleted on active.
This patch removes tiles from the recycle tree that were deleted from
the active tree as a result of a shifting live tiles rect. It is
important to do this, since if the active tree then would recreate
the deleted tile (ie, live tiles rect shift back), we have to ensure
that this tile will be shared when the next pending tree is created.
If we don't do it, we can run into a situation in which we will
continuously raster the same tile.
The patch does the following:
- Adds a way to get a recycled tree twin tiling.
- During LiveTilesRect tile deletion, deletes tiles from the same
location from the recycle twin (if one exists).
TBR=danakj, enne@chromium.org
BUG=403094
Review URL: https://codereview.chromium.org/502453003
Cr-Commit-Position: refs/heads/master@{#291949}
(cherry picked from commit 7fceb77977afd9af22215eb9cd28ab667567668e)
Conflicts:
cc/debug/rasterize_and_record_benchmark_impl.cc
Review URL: https://codereview.chromium.org/542203006
Cr-Commit-Position: refs/branch-heads/2125@{#279}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
Diffstat (limited to 'cc/base/scoped_ptr_algorithm.h')
0 files changed, 0 insertions, 0 deletions