summaryrefslogtreecommitdiff
path: root/libs/hwui/OpDumper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/hwui/OpDumper.cpp')
-rw-r--r--libs/hwui/OpDumper.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/hwui/OpDumper.cpp b/libs/hwui/OpDumper.cpp
index cab93e8faf6a..ec9ffdeebb4c 100644
--- a/libs/hwui/OpDumper.cpp
+++ b/libs/hwui/OpDumper.cpp
@@ -45,5 +45,9 @@ void OpDumper::dump(const RecordedOp& op, std::ostream& output, int level) {
}
}
+const char* OpDumper::opName(const RecordedOp& op) {
+ return sOpNameLut[op.opId];
+}
+
} // namespace uirenderer
} // namespace android