Fix trace event categories in src/gpu ("skia"->"skia.gpu")
Change-Id: I74b041d3f820d423601bd06805edec001a0d980e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/225256
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Auto-Submit: Brian Salomon <bsalomon@google.com>
diff --git a/src/gpu/GrRenderTargetOpList.cpp b/src/gpu/GrRenderTargetOpList.cpp
index 84eb13b..f45cd18 100644
--- a/src/gpu/GrRenderTargetOpList.cpp
+++ b/src/gpu/GrRenderTargetOpList.cpp
@@ -405,14 +405,14 @@
SkASSERT(fTarget->peekRenderTarget());
SkASSERT(this->isClosed());
#ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
- TRACE_EVENT0("skia", TRACE_FUNC);
+ TRACE_EVENT0("skia.gpu", TRACE_FUNC);
#endif
// Loop over the ops that haven't yet been prepared.
for (const auto& chain : fOpChains) {
if (chain.head()) {
#ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
- TRACE_EVENT0("skia", chain.head()->name());
+ TRACE_EVENT0("skia.gpu", chain.head()->name());
#endif
GrOpFlushState::OpArgs opArgs = {
chain.head(),
@@ -470,7 +470,7 @@
}
SkASSERT(fTarget->peekRenderTarget());
- TRACE_EVENT0("skia", TRACE_FUNC);
+ TRACE_EVENT0("skia.gpu", TRACE_FUNC);
// TODO: at the very least, we want the stencil store op to always be discard (at this
// level). In Vulkan, sub-command buffers would still need to load & store the stencil buffer.
@@ -497,7 +497,7 @@
continue;
}
#ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
- TRACE_EVENT0("skia", chain.head()->name());
+ TRACE_EVENT0("skia.gpu", chain.head()->name());
#endif
GrOpFlushState::OpArgs opArgs {