diff options
author | Stan Iliev <stani@google.com> | 2017-02-09 16:59:27 -0500 |
---|---|---|
committer | Stan Iliev <stani@google.com> | 2017-02-09 17:09:03 -0500 |
commit | d21723704571dba7e69947d92856f22989d53dbf (patch) | |
tree | ca2992919e43c91960380e61ef5d96dff7b83070 /libs/hwui/RenderNode.cpp | |
parent | 570661486882ab2690b62176e83c23a4b2d6a796 (diff) |
Implement "dump displaylist" button for skia pipelines
Implement "dump displaylist" button in hierarchyviewer for skia
pipelines.
Test: ran hierarchyviewer for all pipelines.
bug: 34819877
Change-Id: Ifeb578260f636cb67268f9f9259e7318bf7de453
Diffstat (limited to 'libs/hwui/RenderNode.cpp')
-rw-r--r-- | libs/hwui/RenderNode.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/libs/hwui/RenderNode.cpp b/libs/hwui/RenderNode.cpp index f1c8232760e1..55eeb7fa2073 100644 --- a/libs/hwui/RenderNode.cpp +++ b/libs/hwui/RenderNode.cpp @@ -19,7 +19,6 @@ #include "BakedOpRenderer.h" #include "DamageAccumulator.h" #include "Debug.h" -#include "OpDumper.h" #include "RecordedOp.h" #include "TreeInfo.h" #include "utils/FatVector.h" @@ -99,15 +98,7 @@ void RenderNode::output(std::ostream& output, uint32_t level) { properties().debugOutputProperties(output, level + 1); if (mDisplayList) { - for (auto&& op : mDisplayList->getOps()) { - OpDumper::dump(*op, output, level + 1); - if (op->opId == RecordedOpId::RenderNodeOp) { - auto rnOp = reinterpret_cast<const RenderNodeOp*>(op); - rnOp->renderNode->output(output, level + 1); - } else { - output << std::endl; - } - } + mDisplayList->output(output, level); } output << std::string(level * 2, ' ') << "/RenderNode(" << getName() << " " << this << ")"; output << std::endl; |