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

Unified Diff: cc/tile.h

Issue 11704002: cc: Generate tilings at other scales for impl-side painting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Create tilings during pinch Created 7 years, 11 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
« cc/picture_layer_tiling_set.cc ('K') | « cc/picture_layer_tiling_set_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tile.h
diff --git a/cc/tile.h b/cc/tile.h
index 51c61b7bf0beb3a53b9ed90845ed040257e194fa..7d41e6a8cb9b2f83ea88a76af82e0982f0694c8a 100644
--- a/cc/tile.h
+++ b/cc/tile.h
@@ -51,6 +51,9 @@ class CC_EXPORT Tile : public base::RefCounted<Tile> {
bool contents_swizzled() const { return managed_state_.contents_swizzled; }
+ float contents_scale() const { return contents_scale_; }
+ gfx::Rect content_rect() const { return content_rect_; }
+
private:
// Methods called by by tile manager.
friend class TileManager;
@@ -58,7 +61,6 @@ class CC_EXPORT Tile : public base::RefCounted<Tile> {
ManagedTileState& managed_state() { return managed_state_; }
const ManagedTileState& managed_state() const { return managed_state_; }
size_t bytes_consumed_if_allocated() const;
- float contents_scale() const { return contents_scale_; }
// Normal private methods.
friend class base::RefCounted<Tile>;
« cc/picture_layer_tiling_set.cc ('K') | « cc/picture_layer_tiling_set_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698