diff options
author | Alan Viverette <alanv@google.com> | 2014-09-13 19:30:11 -0700 |
---|---|---|
committer | Alan Viverette <alanv@google.com> | 2014-09-13 19:30:11 -0700 |
commit | 8b5b25b4487e22eb8a7dae32ee32f420210321a0 (patch) | |
tree | b90a35b55d929cf96f36a1c15bcbb8103d590dbb /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 61642ce8c3c604a5b4d101a1b5460069b82666b9 (diff) |
Reduce instructions required to obtain and recycle TypedArray
Eliminates several field and method accesses by making the TypedArray
pool local to a single Resources object. Removes an unnecessary
synchronization.
ReadXmlAttrs averaged 0.069 ms/op before, 0.064 ms/op after.
BUG: 17484798
Change-Id: If790a5ba6596b47a04f117c8912974798a592052
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions