summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorGilles Debunne <debunne@google.com>2012-03-13 11:26:05 -0700
committerGilles Debunne <debunne@google.com>2012-03-13 15:58:33 -0700
commit60e3b3fa60a672583fe6294139feb940845efc9b (patch)
tree714ceb21482c5982067924a66c9bd6d8a77357d3 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parent6810a2442b7c38a3f5d04aa91cef9c0cc5f92cb9 (diff)
Use SpanSet to accelerate Layout.drawBackground
The main performance improvement should come from the fact that we entirely skip the loop (which calls getLineStart, getLineTop and getLineDescent on each line) in the frequent case where there are no LineBackgroundSpans. Change-Id: Ie2d3168521e88d43f1a4236da2b3e8447606df1e
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions