You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 [email protected] on 17 Aug 2014 at 8:41
Original issue reported on code.google.com by
[email protected]
on 17 Aug 2014 at 8:41Attachments:
The text was updated successfully, but these errors were encountered: