summaryrefslogtreecommitdiff
path: root/libs/hwui/RenderNode.h
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2016-02-22 13:39:33 -0800
committerChris Craik <ccraik@google.com>2016-02-23 18:52:54 +0000
commit91eff22b5d7f8fe551bae01331948858ce932a96 (patch)
tree3a6c850a68142c40bc0c3f1ea7b84a942d1c67e8 /libs/hwui/RenderNode.h
parenteabebc1539b7e8b412da33c9e462665087cb1bfc (diff)
Support op dumping in new pipeline
bug:26565102 Change-Id: I266e420a2f18ba9ad62942b8a0de295dfa3a2a88
Diffstat (limited to 'libs/hwui/RenderNode.h')
-rw-r--r--libs/hwui/RenderNode.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/hwui/RenderNode.h b/libs/hwui/RenderNode.h
index e0376450178f..838192552127 100644
--- a/libs/hwui/RenderNode.h
+++ b/libs/hwui/RenderNode.h
@@ -123,7 +123,11 @@ public:
void defer(DeferStateStruct& deferStruct, const int level);
void replay(ReplayStateStruct& replayStruct, const int level);
+#if HWUI_NEW_OPS
+ ANDROID_API void output(uint32_t level = 0, const char* label = "Root");
+#else
ANDROID_API void output(uint32_t level = 1);
+#endif
ANDROID_API int getDebugSize();
void copyTo(proto::RenderNode* node);