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

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: Rolling skia to 7896 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
« no previous file with comments | « cc/picture_pile.cc ('k') | cc/picture_pile_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/picture_pile_base.h
diff --git a/cc/picture_pile_base.h b/cc/picture_pile_base.h
index ea8745c7bb11305a901dba6ed2d06393f39351ac..aea947765280bb428e6bd69c890f0d9e2ce19843 100644
--- a/cc/picture_pile_base.h
+++ b/cc/picture_pile_base.h
@@ -37,6 +37,8 @@ class CC_EXPORT PicturePileBase : public base::RefCounted<PicturePileBase> {
bool HasRecordingAt(int x, int y);
bool CanRaster(float contents_scale, gfx::Rect content_rect);
+ void SetTileGridSize(const gfx::Size& tile_grid_size);
+
protected:
virtual ~PicturePileBase();
@@ -53,6 +55,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);
« no previous file with comments | « 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