From d21723704571dba7e69947d92856f22989d53dbf Mon Sep 17 00:00:00 2001 From: Stan Iliev Date: Thu, 9 Feb 2017 16:59:27 -0500 Subject: 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 --- libs/hwui/RenderNode.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'libs/hwui/RenderNode.cpp') 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(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; -- cgit v1.2.3-59-g8ed1b