summaryrefslogtreecommitdiffstats
path: root/libs/hwui/DisplayListRenderer.h
diff options
context:
space:
mode:
authorChet Haase <chet@google.com>2011-04-22 16:18:45 -0700
committerChet Haase <chet@google.com>2011-05-05 07:35:40 -0700
commited30fd8e9a2d65ee5c8520de55b0089c219f390c (patch)
tree26ba777cc019d3adcba613427a2bb2feabf9a54f /libs/hwui/DisplayListRenderer.h
parent098b781699981a550500d2e30b4c844af63eb187 (diff)
downloadframeworks_base-ed30fd8e9a2d65ee5c8520de55b0089c219f390c.zip
frameworks_base-ed30fd8e9a2d65ee5c8520de55b0089c219f390c.tar.gz
frameworks_base-ed30fd8e9a2d65ee5c8520de55b0089c219f390c.tar.bz2
Add ability for hierarchyviewer to output displaylist info
Clicking on a node in hierarchyviewer1 and hierarchyviewer2 and then clicking the new "Dump DisplayList" button will cause the display list for the selected node (including its children) to be output into logcat. Change-Id: Iad05f5f6cca0f8b465dccd962b501dc18fe6e053
Diffstat (limited to 'libs/hwui/DisplayListRenderer.h')
-rw-r--r--libs/hwui/DisplayListRenderer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/hwui/DisplayListRenderer.h b/libs/hwui/DisplayListRenderer.h
index b782103..dcf2cf2 100644
--- a/libs/hwui/DisplayListRenderer.h
+++ b/libs/hwui/DisplayListRenderer.h
@@ -107,6 +107,8 @@ public:
bool replay(OpenGLRenderer& renderer, Rect& dirty, uint32_t level = 0);
+ void output(OpenGLRenderer& renderer, uint32_t level = 0);
+
static void outputLogBuffer(int fd);
private: