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 397cb623bbd0e82428799117c980d41dcdea18b0..d624e197fe054e39f305be607b82b1f000d09179 100644 |
| --- a/cc/layers/picture_layer_impl.h |
| +++ b/cc/layers/picture_layer_impl.h |
| @@ -76,6 +76,9 @@ class CC_EXPORT PictureLayerImpl |
| WhichTree GetTree() const override; |
| bool RequiresHighResToDraw() 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; |
|
vmpstr
2015/03/19 23:31:51
Do we need a SetNeedsPushProperties with this?
hendrikw
2015/03/19 23:34:33
No, the only time we need a push with this is when
enne (OOO)
2015/03/20 22:18:40
Sorry, so this is intentional that viewport size m
|
| + } |
| void UpdateRasterSource(scoped_refptr<RasterSource> raster_source, |
| Region* new_invalidation, |
| const PictureLayerTilingSet* pending_set); |
| @@ -171,6 +174,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 |