commit | f3187b7df158d2de36955ddcc666ba4b8544a2ce | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Fri Jun 07 12:17:11 2013 -0700 |
committer | Romain Guy <romainguy@google.com> | Fri Jun 07 12:17:11 2013 -0700 |
tree | 2fb08b77de183ae78bdd5814f4252c6ab25fedad | |
parent | e50848bfba085e6836a5526dfa64261d1ee46e64 [diff] |
Remove unnecessary Rect, better reuse of NinePatch objects Cloning drawables (which happens a lot) was creating copies of NinePatch objects, which would cause the hardware renderer to generate more meshes than necessary. Also avoid keeping a String we don't need (it was interned but still.) Last but not least, remove 1 RectF per NinePatch in the system. Change-Id: If4dbfa0c30892c9b00d68875e334fd5c2bde8b94