cc: Rework tiling set eviction iterator.
commit58d6a71707faa1ca205cfcd8de181ef13fe6b7a8
authorvmpstr <vmpstr@chromium.org>
Wed, 8 Apr 2015 21:56:42 +0000 (8 14:56 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 8 Apr 2015 21:57:08 +0000 (8 21:57 +0000)
tree9ee60587ac88078feab5d2e778b0535780a37dbf
parentb05eee2385af9905d04b350b27f89255833fa4b3
cc: Rework tiling set eviction iterator.

This patch changes the way the tiling set eviction iterators work. It mostly
restructures how each phase is processed in order to allow easier changes
in the future.

High level summary of changes:
- Create helper iterators that can process individual phases
- Preprocess the order in which tilings are processed
- Define explicit enums for combinations of phases, instead of an enum + flags

R=enne, danakj

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

Cr-Commit-Position: refs/heads/master@{#324290}
cc/resources/picture_layer_tiling.h
cc/resources/picture_layer_tiling_set.h
cc/resources/picture_layer_tiling_set_unittest.cc
cc/resources/tiling_set_eviction_queue.cc
cc/resources/tiling_set_eviction_queue.h