Skip to content

build(deps): bump the gomod group across 2 directories with 4 updates - #83

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/bench/gomod-6cd2ce1f4d
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/bench/gomod-6cd2ce1f4d

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 1, 2026

Copy link
Copy Markdown
Contributor

Bumps the gomod group with 3 updates in the /bench directory: github.com/gogpu/gg, github.com/timzifer/figure and golang.org/x/image.
Bumps the gomod group with 1 update in the /harness directory: github.com/klippa-app/go-pdfium.

Updates github.com/gogpu/gg from 0.52.5 to 0.52.8

Release notes

Sourced from github.com/gogpu/gg's releases.

v0.52.8 — wgpu v0.35.6 migration, bounded curve subdivision, no silent draw loss

Changed

  • wgpu v0.35.0 (ADR-070 package move): the GPU path no longer depends on the removed wgpu/core package. The dead gpu.Backend facade, its stub command encoders and the GPUSceneRenderer chain are deleted (about 17.7K lines of legacy wrappers and their tests in internal/gpu, no production caller), and the GPU tests build their HAL devices through wgpu's wgputest seam. Dependencies: wgpu v0.35.6, naga v0.22.7, gputypes v0.9.2, gpucontext v0.32.1. An app that also uses gogpu needs gogpu v0.56.0 or newer with this release — older versions (e.g. v0.54.1) import the wgpu/hal/* packages ADR-070 removed, and go mod tidy cannot resolve them alongside gg v0.52.8.

Fixed

  • Native curve subdivision terminates on float32 fixed points (#541, by @​timzifer): the analytic rasterizer subdivided cubics and quadratics against an absolute 0.1 px deviation test with no depth bound. At large coordinates a float32 midpoint can round back to an input point, leaving a child identical to its parent and the deviation never decreasing — a stack overflow that a clip rectangle did not prevent either, because the out-of-bounds guard ran after the recursive branch. Subdivision now carries a depth through the native helpers and emits the remaining chord as a line past depth 10, as the flattening routines already do.
  • Concurrent Close calls are idempotent: Context.Close and the surface Close methods checked a plain flag and then set it, so two callers could both run the cleanup and double-free GPU resources. The flag is atomic with a compare-and-swap now — exactly one caller runs the body, the rest return nil.
  • The per-context GPU render context is created once: concurrent first use of a Context could create two render contexts and leak one; creation and every read now go through a lock.
  • GPU path draws no longer vanish when no device can be had (#534, by @​timzifer): the four queueing entry points (FillPath, StrokePath, FillShape, StrokeShape) now check device readiness before accepting a draw. On a machine without an adapter they report the CPU fallback instead of queueing into a Flush that would drop the work — previously every filled and stroked path disappeared while text still rendered, and no error surfaced.
  • Standalone GPU initialization on macOS: the device request is no longer Vulkan-only. Metal is now requested too — the platform set wgpu registers by default — so gg without a device provider uses the GPU on macOS instead of silently falling back to the CPU rasterizer. Windows and Linux keep Vulkan.
  • Stencil cover pipeline without a session clip layout: the cover shader always declares the @group(1) clip uniform, but the pipeline layout included the group only when the session had attached its shared clip layout. A built-in no-clip group keeps direct renderer use (the render/readback path) valid; naga v0.22+ rejects the mismatch at MSL compile on Metal.

v0.52.7 — font fallback on the GPU path, reused ggcanvas, MSAA cap

Added

  • Font fallback stays on the GPU text path (#513, #521, thanks @​besmpl) — text drawn with a MultiFace or FilteredFace that mixes fonts used to fall back to CPU rendering, because the GPU paths need glyph IDs from one font. Text is now split into runs by source font before shaping (MultiFace.FontRuns, FilteredFace.FontRuns, text.ShapeRuns), each glyph keeps the face it came from (ShapedGlyph.Face), and single-font runs go to the glyph-mask and MSDF pipelines.
  • SetAcceleratorMaxSampleCount (#547, thanks @​sogonov): caps the MSAA sample count of the GPU accelerator. 1 turns multi-sampling off (strategyNoMSAA, the path software adapters already take), and 0 restores the default. The optional SampleCountAware interface carries it, and SDFAccelerator implements it

... (truncated)

Changelog

Sourced from github.com/gogpu/gg's changelog.

[0.52.8] - 2026-11-27

Changed

  • wgpu v0.35.0 (ADR-070 package move): the GPU path no longer depends on the removed wgpu/core package. The dead gpu.Backend facade, its stub command encoders and the GPUSceneRenderer chain are deleted (about 17.7K lines of legacy wrappers and their tests in internal/gpu, no production caller), and the GPU tests build their HAL devices through wgpu's wgputest seam. Dependencies: wgpu v0.35.6, naga v0.22.7, gputypes v0.9.2, gpucontext v0.32.1. An app that also uses gogpu needs gogpu v0.56.0 or newer with this release — older versions (e.g. v0.54.1) import the wgpu/hal/* packages ADR-070 removed, and go mod tidy cannot resolve them alongside gg v0.52.8.

Fixed

  • Native curve subdivision terminates on float32 fixed points (#541, by @​timzifer): the analytic rasterizer subdivided cubics and quadratics against an absolute 0.1 px deviation test with no depth bound. At large coordinates a float32 midpoint can round back to an input point, leaving a child identical to its parent and the deviation never decreasing — a stack overflow that a clip rectangle did not prevent either, because the out-of-bounds guard ran after the recursive branch. Subdivision now carries a depth through the native helpers and emits the remaining chord as a line past depth 10, as the flattening routines already do.
  • Concurrent Close calls are idempotent: Context.Close and the surface Close methods checked a plain flag and then set it, so two callers could both run the cleanup and double-free GPU resources. The flag is atomic with a compare-and-swap now — exactly one caller runs the body, the rest return nil.
  • The per-context GPU render context is created once: concurrent first use of a Context could create two render contexts and leak one; creation and every read now go through a lock.
  • GPU path draws no longer vanish when no device can be had (#534, by @​timzifer): the four queueing entry points (FillPath, StrokePath, FillShape, StrokeShape) now check device readiness before accepting a draw. On a machine without an adapter they report the CPU fallback instead of queueing into a Flush that would drop the work — previously every filled and stroked path disappeared while text still rendered, and no error surfaced.
  • Standalone GPU initialization on macOS: the device request is no longer Vulkan-only. Metal is now requested too — the platform set wgpu registers by default — so gg without a device provider uses the GPU on macOS instead of silently falling back to the CPU rasterizer. Windows and Linux keep Vulkan.
  • Stencil cover pipeline without a session clip layout: the cover shader always declares the @group(1) clip uniform, but the pipeline layout included the group only when the session had attached its shared clip layout. A built-in no-clip group keeps direct renderer use (the render/readback path) valid; naga v0.22+ rejects the mismatch at MSL compile on Metal.

[0.52.7] - 2026-11-08

Added

  • Font fallback stays on the GPU text path (#513, #521, thanks @​besmpl) — text drawn with a MultiFace or FilteredFace that mixes fonts used to fall back to CPU rendering, because the GPU paths need glyph IDs from one font. Text is now split into runs by source font before shaping (MultiFace.FontRuns, FilteredFace.FontRuns, text.ShapeRuns), each glyph keeps the face it came from (ShapedGlyph.Face), and single-font runs go to the glyph-mask and MSDF pipelines.
  • SetAcceleratorMaxSampleCount (#547, thanks @​sogonov): caps the MSAA sample count of the GPU accelerator. 1 turns multi-sampling off (strategyNoMSAA, the path software adapters already take), and 0 restores the default. The optional

... (truncated)

Commits
  • eef9adb chore(release): v0.52.8
  • e3dd5d1 chore(deps): wgpu v0.35.6, naga v0.22.7, gputypes v0.9.2, gpucontext v0.32.1
  • 22471d0 docs(contributing): maintainers write the CHANGELOG entry; contributors don't...
  • 72f6fe7 docs: drop the stale wgpu/hal mentions and correct the backends-mask wording
  • ad543fc fix: make Close idempotent under concurrency and create the GPU context once
  • a59a9a3 test(gpu): give the queue tests a device the machine cannot take away
  • c5537ea fix(gpu): check for a device before queueing a path draw
  • e26d381 fix(raster): bound native curve subdivision
  • bc68a93 chore(deps): bump actions/setup-go from 7.0.0 to 7.1.0 in the actions group
  • a6939ca docs: rewrite llms.txt to describe what gg does
  • Additional commits viewable in compare view

Updates github.com/timzifer/figure from 0.14.0 to 0.15.2

Commits
  • 5ef622f Merge pull request #75 from timzifer/deps/stilus-gpu-0.8.1
  • cb79b57 build(deps): stilus/gpu v0.8.1 and stilus v0.19.0, and the figures they draw
  • fc40a0f Merge pull request #74 from timzifer/docs/gg-gpu-not-released
  • 078a591 Merge pull request #73 from timzifer/release/window-v0.15.1
  • 3f2547d docs: the GPU tier is not released again before it is removed
  • b83def7 backend/window: require backend/stilus v0.15.1
  • 5d4281f Merge pull request #72 from timzifer/deps/opentype-0.21.1
  • 6d190e3 build(deps): bump go-opentype/opentype from 0.16.0 to 0.21.1 in /backend/stilus
  • 316dec7 Merge pull request #71 from timzifer/release/window-v0.15.0
  • 973f43f backend/window: require backend/stilus v0.15.0
  • Additional commits viewable in compare view

Updates golang.org/x/image from 0.47.0 to 0.48.0

Commits
  • 884d13f go.mod: update golang.org/x dependencies
  • 6ec427f ccitt: add security considerations to documentation
  • a998c07 tiff/lzw: avoid hi code overflow
  • See full diff in compare view

Updates github.com/klippa-app/go-pdfium from 1.21.4 to 1.21.5

Release notes

Sourced from github.com/klippa-app/go-pdfium's releases.

v1.21.5

What's Changed

Full Changelog: klippa-app/go-pdfium@v1.21.4...v1.21.5

Commits
  • 8f2083c Merge pull request #390 from klippa-app/feature/update-wago
  • be303fc Merge pull request #388 from klippa-app/dependabot/go_modules/github.com/samy...
  • 63d2865 Update wago
  • 7fed65d Bump github.com/samyfodil/wazy from 0.7.0 to 0.8.0
  • 87abf58 Merge pull request #389 from klippa-app/feature/update-to-pdfium-8165
  • 4cc472f Bump pdfium to 8165
  • a87a895 Merge pull request #387 from klippa-app/dependabot/go_modules/golang.org/x/te...
  • 837a22d Bump golang.org/x/text from 0.43.0 to 0.44.0
  • a59ef36 Merge remote-tracking branch 'origin/main'
  • efd8c00 Merge pull request #385 from klippa-app/dependabot/go_modules/github.com/onsi...
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the gomod group with 3 updates in the /bench directory: [github.com/gogpu/gg](https://github.com/gogpu/gg), [github.com/timzifer/figure](https://github.com/timzifer/figure) and [golang.org/x/image](https://github.com/golang/image).
Bumps the gomod group with 1 update in the /harness directory: [github.com/klippa-app/go-pdfium](https://github.com/klippa-app/go-pdfium).


Updates `github.com/gogpu/gg` from 0.52.5 to 0.52.8
- [Release notes](https://github.com/gogpu/gg/releases)
- [Changelog](https://github.com/gogpu/gg/blob/main/CHANGELOG.md)
- [Commits](gogpu/gg@v0.52.5...v0.52.8)

Updates `github.com/timzifer/figure` from 0.14.0 to 0.15.2
- [Release notes](https://github.com/timzifer/figure/releases)
- [Commits](timzifer/figure@v0.14.0...v0.15.2)

Updates `golang.org/x/image` from 0.47.0 to 0.48.0
- [Commits](golang/image@v0.47.0...v0.48.0)

Updates `github.com/klippa-app/go-pdfium` from 1.21.4 to 1.21.5
- [Release notes](https://github.com/klippa-app/go-pdfium/releases)
- [Commits](klippa-app/go-pdfium@v1.21.4...v1.21.5)

---
updated-dependencies:
- dependency-name: github.com/gogpu/gg
  dependency-version: 0.52.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: gomod
- dependency-name: github.com/timzifer/figure
  dependency-version: 0.15.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: gomod
- dependency-name: golang.org/x/image
  dependency-version: 0.48.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: gomod
- dependency-name: github.com/klippa-app/go-pdfium
  dependency-version: 1.21.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: gomod
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants