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

Unified Diff: cc/resources/tile.h

Issue 12865017: Makes tile-creation lazy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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/resources/tile.h
diff --git a/cc/resources/tile.h b/cc/resources/tile.h
index 904eb0ba8409de2bcd3d4627689b5f84379098f8..6382cbd9499681cee6fb01c0d6744e92edd76b00 100644
--- a/cc/resources/tile.h
+++ b/cc/resources/tile.h
@@ -27,6 +27,7 @@ class CC_EXPORT Tile : public base::RefCounted<Tile> {
gfx::Size tile_size,
GLenum format,
gfx::Rect content_rect,
+ gfx::Rect paint_rect,
gfx::Rect opaque_rect,
float contents_scale,
int layer_id);
@@ -59,6 +60,7 @@ class CC_EXPORT Tile : public base::RefCounted<Tile> {
float contents_scale() const { return contents_scale_; }
gfx::Rect content_rect() const { return content_rect_; }
+ gfx::Rect paint_rect() const { return paint_rect_; }
int layer_id() const { return layer_id_; }
@@ -89,6 +91,7 @@ class CC_EXPORT Tile : public base::RefCounted<Tile> {
gfx::Rect tile_size_;
GLenum format_;
gfx::Rect content_rect_;
+ gfx::Rect paint_rect_;
enne (OOO) 2013/03/27 22:15:39 As a follow-up to whunt's offline question about s
float contents_scale_;
gfx::Rect opaque_rect_;

Powered by Google App Engine
This is Rietveld 408576698