OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CC_PICTURE_LAYER_H_ | 5 #ifndef CC_PICTURE_LAYER_H_ |
6 #define CC_PICTURE_LAYER_H_ | 6 #define CC_PICTURE_LAYER_H_ |
7 | 7 |
8 #include "cc/layer.h" | 8 #include "cc/layer.h" |
9 #include "cc/picture_pile.h" | 9 #include "cc/picture_pile.h" |
10 #include "cc/occlusion_tracker.h" | 10 #include "cc/occlusion_tracker.h" |
(...skipping 18 matching lines...) Expand all Loading... |
29 virtual void update(ResourceUpdateQueue&, const OcclusionTracker*, | 29 virtual void update(ResourceUpdateQueue&, const OcclusionTracker*, |
30 RenderingStats&) OVERRIDE; | 30 RenderingStats&) OVERRIDE; |
31 | 31 |
32 protected: | 32 protected: |
33 explicit PictureLayer(ContentLayerClient*); | 33 explicit PictureLayer(ContentLayerClient*); |
34 virtual ~PictureLayer(); | 34 virtual ~PictureLayer(); |
35 | 35 |
36 private: | 36 private: |
37 ContentLayerClient* client_; | 37 ContentLayerClient* client_; |
38 PicturePile pile_; | 38 PicturePile pile_; |
| 39 Region invalidation_; |
39 }; | 40 }; |
40 | 41 |
41 } // namespace cc | 42 } // namespace cc |
42 | 43 |
43 #endif // CC_PICTURE_LAYER_H_ | 44 #endif // CC_PICTURE_LAYER_H_ |
OLD | NEW |