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
Loading
Please register or sign in to comment