Skip to content
Commit c5a3efd2 authored by Dohyun Lee's avatar Dohyun Lee
Browse files

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: default avatarDohyun Lee <leedhyun11@gmail.com>
parent 168f2e55
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment