What steps will reproduce the problem?
1. Render the attached test.svg using renderToCanvas
What is the expected output? What do you see instead?
For a small file like this, I'd have expected a few ms to render. Instead, it
took 200ms - 300ms. Using renderToPicture, and rendering the picture it was
only 15ms.
I profiled it, and processMaskBitmaps was the major bottleneck. Instead of the
custom processing, I'd guess drawBitmap using a PorterDuffXfermode would work
here, too. E.g. paint.setXfermode(new PorterDuffXfermode(Mode.DST_IN));
Original issue reported on code.google.com by
mar...@greenrobot.deon 17 Aug 2014 at 8:41Attachments: