Skip to content

v0.14.1 — DrawImage without a per-pixel allocation

Choose a tag to compare

@tannevaled tannevaled released this 18 Oct 14:08
ec52df6

Page.DrawImage copies an *image.RGBA's samples directly instead of reading every pixel through At (#46): a 1280×720 page goes from 72.8 ms and 921,772 allocations to 29.4 ms and 171 allocations, with byte-identical output.

Also carries the dependency updates merged since v0.14.0 (#42, #44, #45).