Release Info
A smaller release but we made some big upgrades in terms of WGPU and moving on from JDK 21 with a new minimum of JDK 22. This may break a few things since we no longer need --enable-preview but hopefully this should be as simple as removing that JVM argument.
Changes
- BREAKING: Update minimum JDK from 21 to 22.
--enable-previewis no longer needed. - Update
wgpufrom0.19.4.1to22.1.0.5. - BREAKING:
rect.interescts(left, top, right, bottom)has been reorder to a more natural way:
rect.intersects(left, bottom, right, top) - Fix
rect.intersects(rect2)to pass in correct coordinates. - Fix indices & vertices being overwritten, when they shouldn't be, when ensuring buffer size inside
Meshand
IndexedMesh. - Fix
JsByteSequenceStreamfrom attempting to flip the passed inBufferin order to read. It now assumes the buffer
is in a ready-to-ready state. - Add new stats to
EngineStats:setPipelinecalls per framesetBindGroupcalls per frameset*Buffercalls per frame
- Fix
IndexedMeshGeometry.clearIndicesnot resetting the total tracked indices back to 0.
Commit Details
What's Changed
- update
wgpufrom0.19.4.1to22.1.0.5by @LeHaine in #289 - js: fix JsByteSequenceStream flipping a buffer on init by @LeHaine in #290
- fix bug with certain indices & vertices being overwritten when ensuring buffer size inside Mesh & IndexedMesh by @LeHaine in #291
- stats: update EngineStats to include setPipeline, setBindGroup, and set*Buffer calls tracking by @LeHaine in #292
- update rect.intersects() & reorder params to a more natural way (x,y,x2,y2) by @LeHaine in #293
- fix IndexedMeshGeometry clearIndices not actually clearing the total number tracked indices back to 0 by @LeHaine in #294
Full Changelog: v0.10.2...v0.11.0