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

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
« no previous file with comments | « cc/picture.cc ('k') | cc/picture_pile_impl.cc » ('j') | cc/tile_manager.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/picture_pile_impl.h
===================================================================
--- cc/picture_pile_impl.h (revision 170195)
+++ cc/picture_pile_impl.h (working copy)
@@ -14,6 +14,7 @@
namespace cc {
class PicturePile;
+struct RenderingStats;
class CC_EXPORT PicturePileImpl : public base::RefCounted<PicturePileImpl> {
public:
@@ -25,7 +26,7 @@
// 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.cc ('k') | cc/picture_pile_impl.cc » ('j') | cc/tile_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698