Skip to content

gui_toolkit 0.98.0

Choose a tag to compare

@sachahjkl sachahjkl released this 07 Nov 22:14
· 919 commits to master since this release
v0.98.0
7e87427

Fixed

  • Instance buffers go back down after a peak: the draw context's instance list and the renderer's instance buffer (D3D11, and WebGPU's tables) are no longer kept at the size of the largest frame ever drawn; after render.SHRINK_FRAMES frames in a row that used less than 1/render.SHRINK_RATIO of them, they shrink to what is drawn (render.shrink_due).
  • Text outside the clip makes no instance: a glyph placed in screen pixels and wholly outside the clip rectangle is no longer drawn (nothing recorded in a picture: it is replayed elsewhere). Text drawn again in strips, as a find in page paints the letters of its matches, made every glyph of the box in every strip: a needle with thousands of matches took 72 MB of instances and 300 MB of buffers in one frame.