Skip to content

gui_toolkit 0.196.1

Choose a tag to compare

@sachahjkl sachahjkl released this 11 Nov 23:48
· 1382 commits to master since this release
v0.196.1
8335f20

Changed

  • flate and png.decode are faster: flate.deflate takes a quarter to a third less time and flate.inflate gives 1.3 to 2 times its rate, for the same bytes. png.decode of an 8-bit RGBA picture takes less than half its time. render.readback_poll of a linear target moves opaque pixels 4 at once, as it does for an sRGB target.
  • Reading pixels back is faster: a capture of the frame and render.readback_poll of an sRGB target move opaque pixels 4 at once (about 5 times less time for the capture, about 20 times for an opaque readback). The pixels are the same.
  • png.encode and flate.deflate are faster: .Small writes a 1400 x 925 screenshot in about 30 ms where it took about 95 ms, and flate.deflate takes about half its time on pictures. The filters of a row and the bytes of a match are compared 16 at once (SSE, NEON). A row with bytes of value 128 can take another filter than before: such a file differs by a few bytes, and reads back to the same pixels.