commit | baf29e7cf433624687c9d6b3bac180d33add8e0f | [log] [tgz] |
---|---|---|
author | sergeyv <sergeyv@google.com> | Thu Sep 08 11:09:34 2016 -0700 |
committer | sergeyv <sergeyv@google.com> | Thu Sep 08 14:50:50 2016 -0700 |
tree | f9e6bee9061c54cc3a4ab7fdc7dc1b06244a86ec | |
parent | 735b9eca0f52fd27646ac7187bcebc56273bb771 [diff] [blame] |
HWUI: calculate used memory in FontCache for gfxinfo bug:30427106 Change-Id: I653571d6a4e974e975fb0dc03fc2364eecbf2f84
diff --git a/libs/hwui/font/CacheTexture.h b/libs/hwui/font/CacheTexture.h index 4dfb41d..6750a8a 100644 --- a/libs/hwui/font/CacheTexture.h +++ b/libs/hwui/font/CacheTexture.h
@@ -178,6 +178,8 @@ return mCurrentQuad == mMaxQuadCount; } + uint32_t calculateFreeMemory() const; + private: void setDirty(bool dirty);