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

Unified Diff: experimental/AndroidPathRenderer/AndroidPathRenderer.cpp

Issue 196133033: replace old SK_TRACE_EVENT macros with new TRACE_EVENT ones (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 9 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 | gyp/core.gypi » ('j') | src/gpu/GrContext.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/AndroidPathRenderer/AndroidPathRenderer.cpp
diff --git a/experimental/AndroidPathRenderer/AndroidPathRenderer.cpp b/experimental/AndroidPathRenderer/AndroidPathRenderer.cpp
index 6c3224863ee564ece679be0f6f92b945934ec465..5ee88050286b84d894599a84ee332a9bacbce7ad 100644
--- a/experimental/AndroidPathRenderer/AndroidPathRenderer.cpp
+++ b/experimental/AndroidPathRenderer/AndroidPathRenderer.cpp
@@ -19,7 +19,7 @@
#include <sys/types.h>
#include <SkTypes.h>
-#include <SkTrace.h>
+#include <SkTraceEvent.h>
#include <SkMatrix.h>
#include <SkPoint.h>
@@ -522,7 +522,7 @@ static void getStrokeVerticesFromPerimeterAA(const SkTArray<Vertex, true>& perim
void PathRenderer::ConvexPathVertices(const SkPath &path, const SkStrokeRec& stroke, bool isAA,
const SkMatrix* transform, VertexBuffer* vertexBuffer) {
- SK_TRACE_EVENT0("PathRenderer::convexPathVertices");
+ TRACE_EVENT0("skia", "PathRenderer::convexPathVertices");
SkStrokeRec::Style style = stroke.getStyle();
@@ -598,7 +598,7 @@ static void pushToVector(SkTArray<Vertex, true>* vertices, float x, float y) {
bool PathRenderer::ConvexPathPerimeterVertices(const SkPath& path, bool forceClose,
float sqrInvScaleX, float sqrInvScaleY, SkTArray<Vertex, true>* outputVertices) {
- SK_TRACE_EVENT0("PathRenderer::convexPathPerimeterVertices");
+ TRACE_EVENT0("skia", "PathRenderer::convexPathPerimeterVertices");
// TODO: to support joins other than sharp miter, join vertices should be labelled in the
« no previous file with comments | « no previous file | gyp/core.gypi » ('j') | src/gpu/GrContext.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698