cc: Bump up pending tree now tiles order for smoothness mode.
commit0ad654fa43a6c361c901f027b6c5aa3adf3dfbca
authorvmpstr <vmpstr@chromium.org>
Mon, 13 Oct 2014 23:03:46 +0000 (13 16:03 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 13 Oct 2014 23:05:14 +0000 (13 23:05 +0000)
tree86e2e2d9c09e35226af4cc0b639f4aeed2de020f
parentf44ffcbebf37154f23917d058c1bb6fa295887e3
cc: Bump up pending tree now tiles order for smoothness mode.

In smoothness takes priority mode, we should ensure to return tiles
that are required for activation sooner than eventually bin. The reason
for this is that we don't want to starve activation and the prepainting
required for smoothness should already be covered by the soon bin.

Additionally, we have to ensure not to mark these tiles as violating
memory policy, since required for activation tiles need special
treatment (unfortunately). The reason for this is that activation is
currently tied to updating our recordings and smoothness mode would
otherwise starve activation even if we're past the recording region.

BUG=422819
R=reveman

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

Cr-Commit-Position: refs/heads/master@{#299386}
cc/resources/raster_tile_priority_queue.cc
cc/resources/tile_manager.cc
cc/resources/tile_manager_unittest.cc