On the example page,
Setting ctx.scale(factor, factor) where factor is (for highdpi) 2 or 4, makes the FPS drop from 60 to 25 for line drawing. This is in a canvas that has the same pixel width/height.
Maybe there's something we can do about Skia's line/antialiasing algorithm and this case.
This is probably a dupe of 223694.
Lines <= 1 px in width get the "hairline" treatment in Skia, but >1px must be considered stroked lines, checked for self-intersections, etc.
Comment 1 by senorblanco@chromium.org
, Apr 25 2017