diff options
author | 2018-06-19 16:00:31 -0400 | |
---|---|---|
committer | 2018-06-21 18:12:47 +0000 | |
commit | a6c75fda12644ab7727767e7d61b059e72113a82 (patch) | |
tree | a38e56dc8f33329451be99d7784dd8835e376eae /src | |
parent | 6f96c0255862057298556452b6c65cab1a5f1469 (diff) |
make includes available for flutter
temporarily copy SkBase64.h until flutter can
move to using the one in include/util
Copy TRACE_EVENT_PHASE_* into its own file
in include/util; the only part of SkTraceEventCommon.h
that flutter needs.
R=reed@google.com,chinmaygarde@google.com
Bug: skia:7741
Change-Id: I8671edbf1d6b6b868bde98aa9ad04abcb85a43a0
Reviewed-on: https://skia-review.googlesource.com/135870
Reviewed-by: Chinmay Garde <chinmaygarde@google.com>
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Cary Clark <caryclark@skia.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/core/SkTraceEventCommon.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/core/SkTraceEventCommon.h b/src/core/SkTraceEventCommon.h index 32cad3749f..960e42910a 100644 --- a/src/core/SkTraceEventCommon.h +++ b/src/core/SkTraceEventCommon.h @@ -4,6 +4,8 @@ #ifndef SkTraceEventCommon_DEFINED #define SkTraceEventCommon_DEFINED +#include "SkTraceEventPhase.h" + // Trace events are for tracking application performance and resource usage. // Macros are provided to track: // Duration of scoped regions @@ -247,18 +249,6 @@ struct SkAndroidFrameworkTraceUtil { #endif -// Phase indicates the nature of an event entry. E.g. part of a begin/end pair. -#define TRACE_EVENT_PHASE_BEGIN ('B') -#define TRACE_EVENT_PHASE_END ('E') -#define TRACE_EVENT_PHASE_COMPLETE ('X') -#define TRACE_EVENT_PHASE_INSTANT ('I') -#define TRACE_EVENT_PHASE_ASYNC_BEGIN ('S') -#define TRACE_EVENT_PHASE_ASYNC_END ('F') -#define TRACE_EVENT_PHASE_COUNTER ('C') -#define TRACE_EVENT_PHASE_CREATE_OBJECT ('N') -#define TRACE_EVENT_PHASE_SNAPSHOT_OBJECT ('O') -#define TRACE_EVENT_PHASE_DELETE_OBJECT ('D') - // Flags for changing the behavior of TRACE_EVENT_API_ADD_TRACE_EVENT. #define TRACE_EVENT_FLAG_NONE (static_cast<unsigned int>(0)) #define TRACE_EVENT_FLAG_COPY (static_cast<unsigned int>(1 << 0)) |