cc: Switch eviction iterators to consider combined priority.
commit198f1cd771751f113641219e05d6ecf9f22b2bc2
authorvmpstr <vmpstr@chromium.org>
Fri, 13 Feb 2015 01:52:02 +0000 (12 17:52 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 13 Feb 2015 01:52:46 +0000 (13 01:52 +0000)
tree0c00e256f2c78064a98854f6ec043e56a01eeaf1
parent62fc8d9d8e96b06feffea2de35c56edd0d2cee3c
cc: Switch eviction iterators to consider combined priority.

When processing eviction, we should be considering combined priority as
the determining factor in which tile goes next. The reason for this is
that even in situations where a tree priority would imply that a
particular tile is of low priority, we need to be mindful of where it
appears on the other tree as well.

This is captured in the fact that tile manager is using combined
priority to schedule tiles, but the eviction iterator itself does not
reflect this.

BUG=457977
R=vmiura, danakj

Review URL: https://codereview.chromium.org/924613002

Cr-Commit-Position: refs/heads/master@{#316124}
cc/layers/picture_layer_impl_unittest.cc
cc/resources/eviction_tile_priority_queue.cc
cc/resources/eviction_tile_priority_queue.h
cc/resources/tile.h
cc/resources/tile_manager_unittest.cc