Skip to content

Tags

Tags

v0.52.3

Toggle v0.52.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
release: v0.52.3 — NoAA stroke fix, platform font smoothing, deps upd…

…ate (gogpu#511)

v0.52.2

Toggle v0.52.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
release: v0.52.2 — 7 community bug fixes (@besmpl) + clip transform p…

…arity fix (gogpu#507)

- fix: concurrent global text cache race (gogpu#494)
- fix: path bounds across Reset/Append/Clone (gogpu#497)
- fix: premultiplied alpha double-mult in scene renderer (gogpu#500)
- fix: HiDPI layer/mask dimensions (gogpu#502)
- fix: transformed rectangular clips (gogpu#503)
- fix: recording stroke rectangles under transforms (gogpu#498)
- fix: recording clips were no-ops (gogpu#499)
- fix: recording ClipRoundRect transform parity (gogpu#499+gogpu#503 interaction)

v0.52.1

Toggle v0.52.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: remove orphaned gogpu/ui dep + docs ARCHITECTURE.md (ADR-067)

* chore: update examples to gg v0.52.0, gogpu v0.52.0, gpucontext v0.27.0

* docs: update ARCHITECTURE.md for ADR-065/066/067 (compositor delegation, damage pipeline)

* fix: remove orphaned gogpu/ui dependency from go.mod

tmp/third_party_baseline and tmp/waviness_demo had no own go.mod,
causing go mod tidy to pull gogpu and ui into gg's module scope.
gg is a pure drawing library — must not depend on gogpu or ui.

* docs: add CHANGELOG entry for v0.52.1

v0.52.0

Toggle v0.52.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
refactor: compositor architecture migration (ADR-067)

Move compositor ownership from gg to gogpu:
- Remove preserveContent from GPURenderSession (compositor decides LoadOp)
- Delegate MSAA overlay compositing via SurfaceCompositor interface
- Per-frame compositor via GPURenderTarget.Compositor field
- selectBaseLayer uses target.PreserveContent (not frameRendered)
- shouldPreserveSurface checks compositor.ShouldPreserveContent()
- Legacy fallback preserved for standalone gg without gogpu
- Tests updated for new compositor signal path

Enterprise pattern: drawing library receives compositor context per-frame,
same as Chromium PlaybackToCanvas, Flutter ScopedFrame, GTK4 GSK render.

v0.51.0

Toggle v0.51.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
release: v0.51.0 — damage overlay + TT advance cache (gogpu#491)

* feat: migrate ggcanvas to DamageReporter API (ADR-065 + ADR-066)

- DamageRectSetter → DamageReporter via RegisterDamageSource('gg')
- damage_debug.go → implements DamageOverlayRenderer with text labels
- Per-source colors, anti-aliased borders, reason detail in labels
- 67 ggcanvas tests passing

Part of: gogpu#437

* docs: GOGPU_DEBUG_DAMAGE=1 → =overlay (pre-v1.0 clean cut)

* perf(text): TT advance cache + deps bump + examples update (gogpu#490)

- Per-(ppem, glyphID) advance cache in ttHintCacheEntry avoids
  re-running TT bytecode interpreter for advance-only queries.
  60fps→15fps regression from v0.50.13 advanceResolver fixed.
- deps: gpucontext v0.26.0, wgpu v0.31.0, gogpu v0.51.0
- examples: migrate LoadFontFace to text.NewFontSourceFromFile API
- multi_damage_demo: single-path spinner, FPS counter, proper overlay

* fix(lint): remove unused const, fix staticcheck SA4023 in overlay test

v0.50.16

Toggle v0.50.16's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(text): variable font advance + shear aliased rendering (gogpu#405) (

gogpu#489)

* fix(text): variable font advance + shear aliased rendering (gogpu#405)

Two fixes for variable font regression reported by @tsl0922:

1. drawGlyphsVariable used TT-hinted phantom advances (integer-rounded)
   for positioning while Face.Advance/MeasureString used HVAR (fractional).
   Now uses HVAR via varOrRawAdvance(), matching FreeType ttgload.c:964-977.
   Also fixed faceGlyphAdvance to use advanceResolver for MultiFace/FilteredFace.

2. Aliased text with shear/rotation produced garbled output because
   NoAAFiller cannot handle non-axis-aligned paths. Now forces AA for
   non-axis-aligned outlines in both drawStringCPUAliased and drawStringCPU,
   matching Skia computeAxisAlignmentForHText pattern.

8 new tests covering advance consistency and shear rendering quality.

* fix(test): skip ink-width assertion when font lacks test glyphs

Cantarell VF trimmed has no Latin glyphs — rightmostInk=-1 on CI.
Skip subtest instead of failing with impossible -50px width.

v0.50.15

Toggle v0.50.15's commit message
Merge branch 'main' of https://github.com/gogpu/gg

v0.50.14

Toggle v0.50.14's commit message
Merge branch 'main' of https://github.com/gogpu/gg

v0.50.13

Toggle v0.50.13's commit message
Merge branch 'main' of https://github.com/gogpu/gg

v0.50.12

Toggle v0.50.12's commit message
Merge branch 'main' of https://github.com/gogpu/gg