diff options
author | Andres Morales <anmorales@google.com> | 2015-12-15 15:21:31 -0800 |
---|---|---|
committer | Andres Morales <anmorales@google.com> | 2016-01-22 12:58:51 -0800 |
commit | 06f5bc70a667a02b14e31d3f53f91d3661e30666 (patch) | |
tree | 3de8a009d084a71906aa26506b209fea01ef4471 /libs/hwui/FrameInfo.h | |
parent | 0ed21de72134a2b55648104f517e44a2deff17dd (diff) |
expose hwui frame stats through FrameStatsObserver
Change-Id: I88884bafc8e2f6d7f67a36d3609490e83cf8afd5
Diffstat (limited to 'libs/hwui/FrameInfo.h')
-rw-r--r-- | libs/hwui/FrameInfo.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/hwui/FrameInfo.h b/libs/hwui/FrameInfo.h index f8013ab6b6c4..0baca391be79 100644 --- a/libs/hwui/FrameInfo.h +++ b/libs/hwui/FrameInfo.h @@ -118,6 +118,10 @@ public: 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); } |