commit | aa29a97f6db94f97555d00486dd453e912d970c6 | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Fri May 17 17:07:47 2013 -0700 |
committer | Romain Guy <romainguy@google.com> | Fri May 17 17:07:47 2013 -0700 |
tree | 05c4b8250b22d00b731e939da8cfe3edb452a2e7 | |
parent | 56cf63f8ecc16da4e9a317fd89ea505d4737f8c8 [diff] |
Clear display lists when a View becomes GONE/INVISIBLE We force an invalidate whenever a View becomes VISIBLE so there is no need to keep the display list object while the view is either GONE or INVISIBLE. In particular this clears the lists of references kept by GLES20DisplayList, which helps the GC free large objects such as Bitmaps. Change-Id: Ifde0cb40baa1f35e5e6439d3bf8eab3c4c1270f0