aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrBufferAllocPool.cpp
diff options
context:
space:
mode:
authorGravatar Brian Osman <brianosman@google.com>2017-07-26 09:36:09 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-07-26 14:22:19 +0000
commit39c08ac3be30f9956cea7c5e4fd9a1d86e993a65 (patch)
tree0a51e1be04f6f4bbbc30e2082019316a43d4fbbf /src/gpu/GrBufferAllocPool.cpp
parent9ac801c12c48b67b48e5a8ef2876a093b7de73fc (diff)
Automatically prepend "disabled-by-default-" to TRACE categories
Ensures that all Skia events are disabled by default in Chrome, and eliminates redundant typing. Bug: skia: Change-Id: I289c5e5a01084fcf4cccf512da65a4727f4aeca2 Reviewed-on: https://skia-review.googlesource.com/26880 Commit-Queue: Mike Klein <mtklein@chromium.org> Reviewed-by: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'src/gpu/GrBufferAllocPool.cpp')
-rw-r--r--src/gpu/GrBufferAllocPool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrBufferAllocPool.cpp b/src/gpu/GrBufferAllocPool.cpp
index 3096ae5eeb..53e0d8cc7a 100644
--- a/src/gpu/GrBufferAllocPool.cpp
+++ b/src/gpu/GrBufferAllocPool.cpp
@@ -30,7 +30,7 @@ static const size_t MIN_INDEX_BUFFER_SIZE = 1 << 12;
#define UNMAP_BUFFER(block) \
do { \
- TRACE_EVENT_INSTANT1(TRACE_DISABLED_BY_DEFAULT("skia.gpu"), \
+ TRACE_EVENT_INSTANT1("skia.gpu", \
"GrBufferAllocPool Unmapping Buffer", \
TRACE_EVENT_SCOPE_THREAD, \
"percent_unwritten", \