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

Unified Diff: cc/picture_pile_impl.h

Issue 11418250: [cc] Track the rendering & painting cost of impl-side painting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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
« no previous file with comments | « cc/picture_layer_impl.h.orig ('k') | cc/picture_pile_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/picture_pile_impl.h
diff --git a/cc/picture_pile_impl.h b/cc/picture_pile_impl.h
index d188623aa6a4ed322d8db8308b8122b90f92568e..2ab544dea153906dea222940427f8c7603dcd569 100644
--- a/cc/picture_pile_impl.h
+++ b/cc/picture_pile_impl.h
@@ -14,6 +14,7 @@
namespace cc {
class PicturePile;
+struct RenderingStats;
class CC_EXPORT PicturePileImpl : public base::RefCounted<PicturePileImpl> {
public:
@@ -25,7 +26,7 @@ public:
// Raster a subrect of this PicturePileImpl into the given canvas.
// It's only safe to call paint on a cloned version.
// It is assumed that contentsScale has already been applied to this canvas.
- void Raster(SkCanvas* canvas, gfx::Rect rect);
+ void Raster(SkCanvas* canvas, gfx::Rect rect, RenderingStats* stats);
private:
friend class PicturePile;
« no previous file with comments | « cc/picture_layer_impl.h.orig ('k') | cc/picture_pile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698