github go-gui-org/go-gui v0.86.0

latest releases: v0.98.0, v0.97.0, v0.96.0...
one month ago

Changed

  • Metal draws reuse their vertex scratch (#955). Each quad, glyph, and
    transform passed to C was a local array that escaped to the heap on every
    draw. They now live on the window and backend, so the draw paths allocate
    nothing per call.
  • go-glyph v1.26.2 (#956). Draw and measure calls cache layouts without
    hit-test data, about half the bytes a layout build allocated.
  • A minimized or covered window draws no animation frames (#943) — while any
    animation ran, the window built and presented a frame every 16 ms even when
    nobody could see it. Now, while macOS reports the window occluded (minimized,
    fully covered, on another Space, or the screen locked) or Windows reports it
    minimized, animations keep their clocks but ask for no frames. App callbacks
    queued by animations still run on time. On show the window draws one full
    frame, so spinners continue at their current phase: they are not cancelled and
    do not restart. A backend reports the state with gui.DispatchWindowOccluded.
    Wayland and X11 do not report it yet.

What's Changed

Other changes

  • gui: stop animation frames for occluded windows (#943) by @mike-ward in #952
  • perf(metal): reuse vertex scratch for per-draw cgo calls by @mike-ward in #955
  • deps: bump go-glyph to v1.26.2 by @mike-ward in #956
  • changelog: add v0.86.0 (occluded windows skip frames, Metal draw scratch, go-glyph v1.26.2) by @mike-ward in #957

Full Changelog: v0.85.0...v0.86.0

Don't miss a new go-gui release

NewReleases is sending notifications on new releases.