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

Unified Diff: src/core/SkBigPicture.cpp

Issue 1317103002: Add trace event to SkPicture analysis. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkBigPicture.cpp
diff --git a/src/core/SkBigPicture.cpp b/src/core/SkBigPicture.cpp
index f7d6bd421588172eb45d105f4742ddf4f284af10..02011ee745c558ff0bfd81d6d41c3275e6b9939a 100644
--- a/src/core/SkBigPicture.cpp
+++ b/src/core/SkBigPicture.cpp
@@ -10,6 +10,7 @@
#include "SkPictureCommon.h"
#include "SkRecord.h"
#include "SkRecordDraw.h"
+#include "SkTraceEvent.h"
SkBigPicture::SkBigPicture(const SkRect& cull,
SkRecord* record,
@@ -81,6 +82,7 @@ SkPicture const* const* SkBigPicture::drawablePicts() const {
}
SkBigPicture::Analysis::Analysis(const SkRecord& record) {
+ TRACE_EVENT0("disabled-by-default-skia", "SkBigPicture::Analysis::Analysis()");
SkTextHunter text;
SkBitmapHunter bitmap;
SkPathCounter path;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698