Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(296)

Unified Diff: cc/picture_pile_base.h

Issue 12221077: Fixing tile grid size used by cc:Picture to make it respect current tile configuration (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing copy pasta Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/picture_pile_base.h
diff --git a/cc/picture_pile_base.h b/cc/picture_pile_base.h
index 35c1f300cb2b0db2ce54cbd25bc60d2e5908e83b..61e8ce784deb7ef66599715021b14fb6681b2f55 100644
--- a/cc/picture_pile_base.h
+++ b/cc/picture_pile_base.h
@@ -25,6 +25,7 @@ class CC_EXPORT PicturePileBase : public base::RefCounted<PicturePileBase> {
void Resize(gfx::Size size);
gfx::Size size() const { return tiling_.total_size(); }
void SetMinContentsScale(float min_contents_scale);
+ void SetTileGridSize(gfx::Size tile_size, int borderPixels);
void PushPropertiesTo(PicturePileBase* other);
@@ -52,6 +53,7 @@ class CC_EXPORT PicturePileBase : public base::RefCounted<PicturePileBase> {
TilingData tiling_;
Region recorded_region_;
float min_contents_scale_;
+ SkTileGridPicture::TileGridInfo tile_grid_info_;
private:
void SetBufferPixels(int buffer_pixels);
« cc/picture_layer.cc ('K') | « cc/picture_pile.cc ('k') | cc/picture_pile_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698