diff options
author | caseq@google.com <caseq@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-27 16:01:29 +0000 |
---|---|---|
committer | caseq@google.com <caseq@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-27 16:01:29 +0000 |
commit | df41c04462f91108f29eb75a02caf7844e131e32 (patch) | |
tree | 16dabbc874217569af162c917c5422e01092d108 /cc/picture_layer.h | |
parent | fc72ceb305d5ef030e7e69cce8223927353cf52e (diff) | |
download | chromium_src-df41c04462f91108f29eb75a02caf7844e131e32.zip chromium_src-df41c04462f91108f29eb75a02caf7844e131e32.tar.gz chromium_src-df41c04462f91108f29eb75a02caf7844e131e32.tar.bz2 |
Emit trace events during layer update and tile rasterization that are processed by DevTools to show time spent in rasterization.
WebKit side processing: https://bugs.webkit.org/show_bug.cgi?id=105851
BUG=none
TEST=none
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=184923
Review URL: https://codereview.chromium.org/12220019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184964 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/picture_layer.h')
-rw-r--r-- | cc/picture_layer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cc/picture_layer.h b/cc/picture_layer.h index a0739d9..ff756bc 100644 --- a/cc/picture_layer.h +++ b/cc/picture_layer.h @@ -6,6 +6,7 @@ #define CC_PICTURE_LAYER_H_ #include "cc/contents_scaling_layer.h" +#include "cc/devtools_instrumentation.h" #include "cc/layer.h" #include "cc/picture_pile.h" #include "cc/occlusion_tracker.h" @@ -42,6 +43,8 @@ class CC_EXPORT PictureLayer : public ContentsScalingLayer { private: ContentLayerClient* client_; scoped_refptr<PicturePile> pile_; + devtools_instrumentation:: + ScopedLayerObjectTracker instrumentation_object_tracker_; // Invalidation to use the next time update is called. Region pending_invalidation_; // Invalidation from the last time update was called. |