| Index: cc/layers/picture_layer_impl.h
|
| diff --git a/cc/layers/picture_layer_impl.h b/cc/layers/picture_layer_impl.h
|
| index 397cb623bbd0e82428799117c980d41dcdea18b0..bd13949c4fe7bfb7b97501ce8a228de7dc601361 100644
|
| --- a/cc/layers/picture_layer_impl.h
|
| +++ b/cc/layers/picture_layer_impl.h
|
| @@ -5,7 +5,7 @@
|
| #ifndef CC_LAYERS_PICTURE_LAYER_IMPL_H_
|
| #define CC_LAYERS_PICTURE_LAYER_IMPL_H_
|
|
|
| -#include <set>
|
| +#include <map>
|
| #include <string>
|
| #include <vector>
|
|
|
| @@ -75,7 +75,11 @@ class CC_EXPORT PictureLayerImpl
|
| TilePriority::PriorityBin GetMaxTilePriorityBin() const override;
|
| WhichTree GetTree() const override;
|
| bool RequiresHighResToDraw() const override;
|
| + gfx::Rect GetEnclosingRectInTargetSpace() const override;
|
|
|
| + void set_gpu_raster_max_texture_size(gfx::Size gpu_raster_max_texture_size) {
|
| + gpu_raster_max_texture_size_ = gpu_raster_max_texture_size;
|
| + }
|
| void UpdateRasterSource(scoped_refptr<RasterSource> raster_source,
|
| Region* new_invalidation,
|
| const PictureLayerTilingSet* pending_set);
|
| @@ -131,7 +135,8 @@ class CC_EXPORT PictureLayerImpl
|
| bool ShouldAdjustRasterScaleDuringScaleAnimations() const;
|
|
|
| void GetDebugBorderProperties(SkColor* color, float* width) const override;
|
| - void GetAllTilesForTracing(std::set<const Tile*>* tiles) const override;
|
| + void GetAllTilesAndPrioritiesForTracing(
|
| + std::map<const Tile*, TilePriority>* tile_map) const override;
|
| void AsValueInto(base::trace_event::TracedValue* dict) const override;
|
|
|
| virtual void UpdateIdealScales();
|
| @@ -171,6 +176,8 @@ class CC_EXPORT PictureLayerImpl
|
| gfx::Rect visible_rect_for_tile_priority_;
|
| gfx::Rect viewport_rect_for_tile_priority_in_content_space_;
|
|
|
| + gfx::Size gpu_raster_max_texture_size_;
|
| +
|
| // List of tilings that were used last time we appended quads. This can be
|
| // used as an optimization not to remove tilings if they are still being
|
| // drawn. Note that accessing this vector should only be done in the context
|
|
|