| 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_LAYERS_PICTURE_LAYER_IMPL_H_ | 5 #ifndef CC_LAYERS_PICTURE_LAYER_IMPL_H_ |
| 6 #define CC_LAYERS_PICTURE_LAYER_IMPL_H_ | 6 #define CC_LAYERS_PICTURE_LAYER_IMPL_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 const gfx::Rect& content_rect) override; | 66 const gfx::Rect& content_rect) override; |
| 67 gfx::Size CalculateTileSize(const gfx::Size& content_bounds) const override; | 67 gfx::Size CalculateTileSize(const gfx::Size& content_bounds) const override; |
| 68 const Region* GetPendingInvalidation() override; | 68 const Region* GetPendingInvalidation() override; |
| 69 const PictureLayerTiling* GetPendingOrActiveTwinTiling( | 69 const PictureLayerTiling* GetPendingOrActiveTwinTiling( |
| 70 const PictureLayerTiling* tiling) const override; | 70 const PictureLayerTiling* tiling) const override; |
| 71 PictureLayerTiling* GetRecycledTwinTiling( | 71 PictureLayerTiling* GetRecycledTwinTiling( |
| 72 const PictureLayerTiling* tiling) override; | 72 const PictureLayerTiling* tiling) override; |
| 73 TilePriority::PriorityBin GetMaxTilePriorityBin() const override; | 73 TilePriority::PriorityBin GetMaxTilePriorityBin() const override; |
| 74 WhichTree GetTree() const override; | 74 WhichTree GetTree() const override; |
| 75 bool RequiresHighResToDraw() const override; | 75 bool RequiresHighResToDraw() const override; |
| 76 void TilingLiveRectChanged() override; | |
| 77 | 76 |
| 78 void UpdateRasterSource(scoped_refptr<RasterSource> raster_source, | 77 void UpdateRasterSource(scoped_refptr<RasterSource> raster_source, |
| 79 Region* new_invalidation, | 78 Region* new_invalidation, |
| 80 const PictureLayerTilingSet* pending_set); | 79 const PictureLayerTilingSet* pending_set); |
| 81 | 80 |
| 82 // Mask-related functions. | 81 // Mask-related functions. |
| 83 void GetContentsResourceId(ResourceProvider::ResourceId* resource_id, | 82 void GetContentsResourceId(ResourceProvider::ResourceId* resource_id, |
| 84 gfx::Size* resource_size) const override; | 83 gfx::Size* resource_size) const override; |
| 85 | 84 |
| 86 void SetNearestNeighbor(bool nearest_neighbor); | 85 void SetNearestNeighbor(bool nearest_neighbor); |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 // frame that has a valid viewport for prioritizing tiles. | 174 // frame that has a valid viewport for prioritizing tiles. |
| 176 gfx::Rect visible_rect_for_tile_priority_; | 175 gfx::Rect visible_rect_for_tile_priority_; |
| 177 gfx::Rect viewport_rect_for_tile_priority_in_content_space_; | 176 gfx::Rect viewport_rect_for_tile_priority_in_content_space_; |
| 178 | 177 |
| 179 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl); | 178 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl); |
| 180 }; | 179 }; |
| 181 | 180 |
| 182 } // namespace cc | 181 } // namespace cc |
| 183 | 182 |
| 184 #endif // CC_LAYERS_PICTURE_LAYER_IMPL_H_ | 183 #endif // CC_LAYERS_PICTURE_LAYER_IMPL_H_ |
| OLD | NEW |