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

Unified Diff: cc/tile_draw_quad.h

Issue 12642010: Implement on demand quad rasterization for PicturePiles. (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/tile_draw_quad.h
diff --git a/cc/tile_draw_quad.h b/cc/tile_draw_quad.h
index ff04b4bcbb60f2b651f5161ace97950961e35a1e..6c09ccd0a96eb3775c7fc79d6ec978fb5c5f2499 100644
--- a/cc/tile_draw_quad.h
+++ b/cc/tile_draw_quad.h
@@ -41,11 +41,16 @@ class CC_EXPORT TileDrawQuad : public DrawQuad {
gfx::Size texture_size;
bool swizzle_contents;
+ virtual bool IsPictureQuad() const;
+
virtual void IterateResources(const ResourceIteratorCallback& callback)
OVERRIDE;
static const TileDrawQuad* MaterialCast(const DrawQuad*);
- private:
+
+ protected:
+ virtual DrawQuad::Material material() const;
+
TileDrawQuad();
};

Powered by Google App Engine
This is Rietveld 408576698