| Index: cc/picture_layer_tiling.h
|
| diff --git a/cc/picture_layer_tiling.h b/cc/picture_layer_tiling.h
|
| index b6c7b7d7ec85a4e7b1e29a3421cbcef6152e8b38..878adce4ec5ee7f570ac48337f36f106fd2ebf23 100644
|
| --- a/cc/picture_layer_tiling.h
|
| +++ b/cc/picture_layer_tiling.h
|
| @@ -12,6 +12,7 @@
|
| #include "cc/hash_pair.h"
|
| #include "cc/region.h"
|
| #include "cc/tile.h"
|
| +#include "cc/tile_priority.h"
|
| #include "cc/tiling_data.h"
|
| #include "ui/gfx/rect.h"
|
|
|
| @@ -38,6 +39,7 @@ class CC_EXPORT PictureLayerTiling {
|
| void Invalidate(const Region& layer_invalidation);
|
|
|
| void SetClient(PictureLayerTilingClient* client);
|
| + void set_resolution(TileResolution resolution) { resolution_ = resolution; }
|
|
|
| gfx::Rect ContentRect() const;
|
| float contents_scale() const { return contents_scale_; }
|
| @@ -89,8 +91,8 @@ class CC_EXPORT PictureLayerTiling {
|
| void UpdateTilePriorities(
|
| WhichTree tree,
|
| const gfx::Size& device_viewport,
|
| - float layer_content_scale_x,
|
| - float layer_content_scale_y,
|
| + float last_contents_scale,
|
| + float current_contents_scale,
|
| const gfx::Transform& last_screen_transform,
|
| const gfx::Transform& current_screen_transform,
|
| double time_delta);
|
| @@ -108,6 +110,7 @@ class CC_EXPORT PictureLayerTiling {
|
| gfx::Size layer_bounds_;
|
| TileMap tiles_;
|
| TilingData tiling_data_;
|
| + TileResolution resolution_;
|
|
|
| friend class Iterator;
|
| };
|
|
|