Chromium Code Reviews| Index: cc/layers/picture_layer_impl.h |
| diff --git a/cc/layers/picture_layer_impl.h b/cc/layers/picture_layer_impl.h |
| index d49205137510bd9d5f3bc57e89a785d42de65616..16274b077ab8949671daed571946fff5012ebabb 100644 |
| --- a/cc/layers/picture_layer_impl.h |
| +++ b/cc/layers/picture_layer_impl.h |
| @@ -80,13 +80,15 @@ class CC_EXPORT PictureLayerImpl |
| void AdvanceToNextIterator(); |
| bool IsCorrectType( |
| PictureLayerTiling::TilingEvictionTileIterator* it) const; |
| + void EnsureCurrentIteratorCreated(); |
| std::vector<PictureLayerTiling::TilingEvictionTileIterator> iterators_; |
|
reveman
2014/07/26 00:30:49
is there no compile time limit to the number of it
vmpstr
2014/07/28 15:06:16
I think it might make sense to limit this at some
reveman
2014/07/28 16:19:33
What if we passed that stage information to the Ti
vmpstr
2014/07/28 18:15:08
I feel that it's a bit of a misuse of the iterator
reveman
2014/07/28 19:06:14
I'm rather thinking of this as different collectio
|
| + std::vector<PictureLayerTiling*> tilings_; |
|
reveman
2014/07/26 00:30:49
do we really need this vector? is there some way w
vmpstr
2014/07/28 15:06:16
It's possible, but I think this is a simpler solut
reveman
2014/07/28 16:19:34
I don't like that we're building a reliance on vec
vmpstr
2014/07/28 18:15:08
The only real problem is that we don't know how ma
reveman
2014/07/28 19:06:14
The key as you mentioned is to have a TilingEvicti
vmpstr
2014/07/28 19:27:04
I just meant that if we have a PriorityBin passed
|
| size_t iterator_index_; |
| TilePriority::PriorityBin iteration_stage_; |
| bool required_for_activation_; |
| - |
| PictureLayerImpl* layer_; |
| + TreePriority tree_priority_; |
| }; |
| static scoped_ptr<PictureLayerImpl> Create(LayerTreeImpl* tree_impl, int id) { |