diff options
| author | Romain Guy <romainguy@google.com> | 2013-05-17 17:07:47 -0700 |
|---|---|---|
| committer | Romain Guy <romainguy@google.com> | 2013-05-17 17:07:47 -0700 |
| commit | aa29a97f6db94f97555d00486dd453e912d970c6 (patch) | |
| tree | 05c4b8250b22d00b731e939da8cfe3edb452a2e7 /tools/aapt2/java/JavaClassGenerator.cpp | |
| 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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions
