Issue- >Skia tiled bitmap rendering is too slow when tilemodeX is not same as tileModeY.
Reason-> Skia uses general-purpose pipeline in this case instead of more
optimized faster pipeline. Faster pipeline code was available in older
versions of Skia and used to work fine but we removed faster pipeline code to
consolidate the code. As discussed offline for us in the office,
we have significant scenarios running on software, so maintaining
software performance is very important for us thus I am bringing this
fast path back. To make this work I didn't have to do much,
everything was already available, I just had to modify MatrixProcs
to accept tilemodex and tilemodeY as parameters and define and
configure SkBitmapProcState::MatrixProc GeneralProcs.
I have also limited this change to ARM devices
Change-Id: Ie7ea59701d180c2832edb959e8d44047f4085cbf
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/252677
Commit-Queue: Mike Reed <reed@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
Reviewed-by: Bharat Ahuja <ahujabharat93@gmail.com>
Auto-Submit: Bharat Ahuja <ahujabharat93@gmail.com>
Signed-off-by: Jake Weinstein <jake@aospa.co>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
4 files changed