diff options
author | Dohyun Lee <leedhyun11@gmail.com> | 2016-01-21 13:46:21 +0900 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2016-01-23 23:45:19 -0800 |
commit | a7e2f64feb3ec5869ca501737a2ade0d0855336b (patch) | |
tree | 4e39f984259ee6710d6384d8e5bcae8c7250d44a /libs/androidfw/Asset.cpp | |
parent | 64deb448b8ac50587bc90e3506e639e4e1a066ed (diff) | |
download | frameworks_base-a7e2f64feb3ec5869ca501737a2ade0d0855336b.zip frameworks_base-a7e2f64feb3ec5869ca501737a2ade0d0855336b.tar.gz frameworks_base-a7e2f64feb3ec5869ca501737a2ade0d0855336b.tar.bz2 |
libhwui: fix texture memory leak
When there is not enough space and we cannot delete any
Texture in TextureCache to secure space, a new Texture is
created over and over again for the same SkBitmap and
there is the case that it is not deleted.
This patch avoids such cases.
Change-Id: Ic5353995e6d0716c31fe3bb49c60ec1a71574643
Signed-off-by: Dohyun Lee <leedhyun11@gmail.com>
Diffstat (limited to 'libs/androidfw/Asset.cpp')
0 files changed, 0 insertions, 0 deletions