summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorSeigo Nonaka <nona@google.com>2018-10-19 19:10:02 -0700
committerSeigo Nonaka <nona@google.com>2018-10-26 10:31:33 -0700
commitf307adc83eaa33a9fdf5e58f4134c4ff3a500deb (patch)
tree26e6b85c0b46462f742c8236b8015ad3fd15191c /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parentffe3226069984e6c8e3f7bf08941d74c2afd3fdc (diff)
Do not pass context to minikin in case of Canvas.drawText
Canvas.drawText don't use context info, just draw the given slice of text. By this change the performance for the long text gets back. android.text.CanvasDrawTextTest drawText_LongText_SmallWindow : 94,526 us -> 11,268 us Bug: 111638688 Test: atest CanvasDrawTextTest Change-Id: I69f8cbf4ff361d213f5d041148dbcc41ebd16c84
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions