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

Unified Diff: cc/picture_pile_impl.h

Issue 11434033: Track the cost of impl-side painting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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/picture_pile_impl.h
===================================================================
--- cc/picture_pile_impl.h (revision 170195)
+++ cc/picture_pile_impl.h (working copy)
@@ -27,6 +27,8 @@
// It is assumed that contentsScale has already been applied to this canvas.
void Raster(SkCanvas* canvas, gfx::Rect rect);
+ double rasterizeTime();
+
private:
friend class PicturePile;
@@ -34,6 +36,7 @@
~PicturePileImpl();
std::vector<scoped_refptr<Picture> > pile_;
+ double rasterize_time_in_seconds_;
friend class base::RefCounted<PicturePileImpl>;
DISALLOW_COPY_AND_ASSIGN(PicturePileImpl);

Powered by Google App Engine
This is Rietveld 408576698