Repository navigation
release: v0.1.55 - #246
Merged
Merged
release: v0.1.55#246
Conversation
gallery, hello, signals and taskmanager had their own go.mod with replace github.com/gogpu/ui => ../.. and pins rotted at ui v0.1.37, so they never built against the versions users get from tagged releases. The other five examples already live in the main module. Folding these four in adds no requirement (they import only gogpu and gg/gpu, which the module already requires), lets CI build every example on each change, and makes each example use the dependency versions of the ui release it ships in. Also: go mod tidy marks golang.org/x/image indirect (no direct import), and .gitignore gains the private .pm/ directory.
…the desktop tests gg v0.52.3 -> v0.52.6, gogpu v0.53.0 -> v0.54.1, wgpu v0.31.4 -> v0.34.9, gpucontext v0.28.0 -> v0.31.3, gputypes v0.5.2 -> v0.8.2, naga v0.18.0 -> v0.21.4 (fixes GHSA-887q-cf99-367r), goffi v0.6.3 -> v0.6.8, x/image v0.45.0, x/text v0.41.0. gg v0.52.6 is the first gg release that builds against the HAL API of wgpu v0.34, so gogpu@latest and gg@latest build together again (#239). The desktop software e2e tests follow that API: software.NewBackend, gputypes.Viewport/ScissorRect/DrawArgs, and DownlevelCapabilities/Features on the test DeviceProvider. readbackTexture now pads rows to the 256-byte copy alignment WebGPU requires and returns the pixels tightly packed, so its callers are unchanged; before, the copy failed validation and the readback tests skipped.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Patch release: contributor fixes, the full dependency update, and examples that build against the released versions.
Fixes #239
Added
widget.TextCaretPositioner, an optional Canvas interface for caret offsets taken from the shaped string (fix(textfield): place the caret from the shaped glyph run #236, by @samyfodil).Fixed
examples/gallery,hello,signalsandtaskmanagerare part of the main module, so CI builds them and they use the versions of the release they ship in (@latest does not compile #239).Changed
gogpu@latestandgg@latestbuild together again.desktopsoftware e2e tests use the wgpu v0.34 HAL API. Their readback pads rows to WebGPU's 256-byte copy alignment, so the readback tests run instead of skipping.uiand rungo mod tidyinstead of upgrading gogpu and gg separately.Checked locally with
GOWORK=offon the released dependencies: