summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2013-06-07 12:17:11 -0700
committerRomain Guy <romainguy@google.com>2013-06-07 12:17:11 -0700
commitf3187b7df158d2de36955ddcc666ba4b8544a2ce (patch)
tree2fb08b77de183ae78bdd5814f4252c6ab25fedad /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parente50848bfba085e6836a5526dfa64261d1ee46e64 (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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions