Skip to content

Releases: PerryTS/webgpu

v0.2.0 — on-screen GPUSurface

24 Jun 11:52

Choose a tag to compare

On-screen GPUSurface (window swapchain)

Render a WebGPU swapchain into a perry-ui window — the on-screen surface that was previously out of scope. Verified end-to-end on macOS (renders a live triangle).

New surface API: requestSurface · surfaceFromNativeView · surfaceGetViewPtr · surfaceGetPreferredFormat · surfaceConfigure · surfaceGetCurrentTexture · surfacePresent · surfaceUnconfigure · surfaceDrop

Canonical flow: wrap a perry-ui BloomView via surfaceFromNativeView, then the spec render loop plus one explicit surfacePresent. See examples/triangle-macos.

Packaging: the ergonomic camelCase API now links + routes under Perry — requires a Perry build with ergonomic-export routing (PerryTS/perry#5621) and the json descriptor param (PerryTS/perry#5626). Manifest now declares per-target crate/lib, an exports.perry entry, json descriptor params, and ios/android targets.

Platforms: macOS verified end-to-end; iOS/Windows/Android compile against their platform handles (await on-device validation); Linux pending a display-handle entry point.

Full details: #1.

v0.1.1 — release-flow validation

08 May 09:18

Choose a tag to compare

First release shipped via the GitHub Actions + npm trusted-publisher path. No code changes from 0.1.0 — version bump only, to validate the auto-publish workflow.