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

Unified Diff: cc/tiling_data.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: 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/tiling_data.cc » ('j') | cc/tiling_data.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiling_data.h
diff --git a/cc/tiling_data.h b/cc/tiling_data.h
index 9dbacfbee06227cc5a79a185928dca58ac50be48..9725ebc7530f40a8be59f409ae4ab5aa6fc97e53 100644
--- a/cc/tiling_data.h
+++ b/cc/tiling_data.h
@@ -34,6 +34,7 @@ class CC_EXPORT TilingData {
gfx::Size max_texture_size() const { return max_texture_size_; }
void SetMaxTextureSize(gfx::Size max_texture_size);
+ gfx::Size InnerTileSize() const { return inner_tile_size_; }
int border_texels() const { return border_texels_; }
void SetHasBorderTexels(bool has_border_texels);
@@ -130,6 +131,7 @@ class CC_EXPORT TilingData {
void RecomputeNumTiles();
gfx::Size max_texture_size_;
+ gfx::Size inner_tile_size_;
gfx::Size total_size_;
int border_texels_;
« no previous file with comments | « cc/picture_pile.cc ('k') | cc/tiling_data.cc » ('j') | cc/tiling_data.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698