gopdsdk v0.6.0 - Advanced Graphics, Video, and Diagnostics
gopdsdk v0.6.0
This release completes P6 with advanced graphics composition, display and
sprite redraw controls, optional PDV video playback, and bounded external-game
diagnostics.
Highlights
- Added
playdate.BitmapCompositorfor rotated and scaled bitmap drawing. - Added callback-scoped stencil composition with validated ownership and
graphics-state restoration. - Added optional physical-display presentation controls.
- Added global dirty-region policy and per-sprite redraw invalidation.
- Added explicitly owned PDV video players with metadata, frame stepping,
looping, and screen or offscreen targets. - Added the allocation-free
playdate/diagnosticscollector for frame-time
distributions, live-heap growth, and owned native-resource counts. - Added deterministic composition, sprite-redraw, and video acceptance scenes.
- Embedded project-owned Simulator and device bridge sources as package assets.
- Preserved the existing
playdate.Contextcontract through optional
capability interfaces.
Acceptance and verification
The P6 feature set passed:
- Native Go tests and generated Simulator/device ABI regression tests.
- Official Playdate SDK 3.1.1 packaging and Windows Simulator acceptance.
- Conservative hard-float device builds.
- USB deployment and physical Playdate acceptance.
- Comparative full-redraw and dirty-region checks.
- Bounded-memory and native-resource regression checks.
- Physical-device soak and post-run device-log inspection.
- External
gopdsdkgamediagnostics runs in the Simulator and on hardware.
The verified toolchain remains:
- Go 1.26.5
- Playdate SDK 3.1.1
- TinyGo 0.41.1 with LLVM 20.1.1
- Arm GNU Toolchain 15.3.1
macOS and Linux native Go CI is covered. Official SDK, Simulator, device-build,
USB, and physical-hardware execution on those hosts remains unverified.
Upgrade
Existing v0.5 applications can update without changing their base
playdate.Context usage:
go get github.com/Djunichi/gopdsdk@v0.6.0