summaryrefslogtreecommitdiffstats
path: root/libs/hwui/renderthread/RenderProxy.h
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2015-05-05 11:00:53 -0700
committerJohn Reck <jreck@google.com>2015-05-05 12:18:08 -0700
commit7f2e5e3cea6af1f1dff35842aa13d46c47315b91 (patch)
treebafc39554c6185af17bc1c64548289e87ed78d68 /libs/hwui/renderthread/RenderProxy.h
parentc81af1ca7838f79ecc39fe0a9bf269880fa515e5 (diff)
downloadframeworks_base-7f2e5e3cea6af1f1dff35842aa13d46c47315b91.zip
frameworks_base-7f2e5e3cea6af1f1dff35842aa13d46c47315b91.tar.gz
frameworks_base-7f2e5e3cea6af1f1dff35842aa13d46c47315b91.tar.bz2
Dump profile info after running test
Bug: 20824843 Not really a proper "benchmark mode" but it turns out we already have reasonably good profile data, so tweak the test app to spit it out after a run. Change-Id: Iaee9c0d61b5508daf282fe5f95d0b37ee419a8f1
Diffstat (limited to 'libs/hwui/renderthread/RenderProxy.h')
-rw-r--r--libs/hwui/renderthread/RenderProxy.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/hwui/renderthread/RenderProxy.h b/libs/hwui/renderthread/RenderProxy.h
index cc475fa..a1dbc7d 100644
--- a/libs/hwui/renderthread/RenderProxy.h
+++ b/libs/hwui/renderthread/RenderProxy.h
@@ -96,6 +96,8 @@ public:
ANDROID_API void notifyFramePending();
ANDROID_API void dumpProfileInfo(int fd, int dumpFlags);
+ // Not exported, only used for testing
+ void resetProfileInfo();
ANDROID_API static void dumpGraphicsMemory(int fd);
ANDROID_API void setTextureAtlas(const sp<GraphicBuffer>& buffer, int64_t* map, size_t size);