commit | 06f5bc70a667a02b14e31d3f53f91d3661e30666 | [log] [tgz] |
---|---|---|
author | Andres Morales <anmorales@google.com> | Tue Dec 15 15:21:31 2015 -0800 |
committer | Andres Morales <anmorales@google.com> | Fri Jan 22 12:58:51 2016 -0800 |
tree | 3de8a009d084a71906aa26506b209fea01ef4471 | |
parent | 0ed21de72134a2b55648104f517e44a2deff17dd [diff] [blame] |
expose hwui frame stats through FrameStatsObserver Change-Id: I88884bafc8e2f6d7f67a36d3609490e83cf8afd5
diff --git a/libs/hwui/FrameInfo.h b/libs/hwui/FrameInfo.h index f8013ab..0baca39 100644 --- a/libs/hwui/FrameInfo.h +++ b/libs/hwui/FrameInfo.h
@@ -118,6 +118,10 @@ set(FrameInfoIndex::Flags) |= static_cast<uint64_t>(frameInfoFlag); } + const int64_t* data() const { + return mFrameInfo; + } + inline int64_t operator[](FrameInfoIndex index) const { return get(index); }