flutter3d_impeller 0.4.2
flutter3d_impeller: ^0.4.2 copied to clipboard
The flutter_gpu backend for flutter3d: one implementation of flutter3d_hardware, and the only place in the stack that names a graphics API.
0.4.2 #
- The package actually ships its shaders this time. 0.4.1 claimed this
fix and repeated the failure: its
.pubignorereplaced only the package directory's gitignore, while*.shaderbundleis excluded by the repository ROOT's — which still applied from above. The explicit!*.shaderbundlenegation is the whole difference, and this release was checked by reading the dry-run's file list before uploading, which is the step 0.4.1 skipped.
0.4.1 #
- The package ships its shaders. 0.4.0 declared
assets/shaders/flutter3d.shaderbundleand did not contain it: the bundle is generated and gitignored, and pub packages by the gitignore — so every hosted consumer failed at build with "No file or variants found for asset". A.pubignorenow decides what the archive carries, and the bundle rides along, built fresh at publish. Found the first time anything resolved this backend from pub.dev alone.
0.4.0 #
presentowns its image. It returnsGpuFrameImage, a widget that creates theui.Imagein its state, disposes the previous one when the frame changes and the last one indispose— which ends the one undisposed image per presented frame.readPixelsdisposes its image too.- A workaround for flutter_gpu's
HostBuffer, whose overflow branch appends a block per boundary crossing and never reuses the tail, so a frame writing over a megabyte of transients parked a megabyte for ever.BlockCursorcounts crossings andbeginFramerecreates a slot's buffer at 32, at the reset point whose own comment is the safety argument; the clause names the upstream file and dies with the SDK upgrade. - Texture creation validates pixel sizes before allocating rather than after.
0.3.0 #
tool/conformance.shruns the conformance suite against a live GPU and returns an exit code. Until it existed, the only thing checking this backend was somebody remembering to look at a list.
0.2.0 #
- A host buffer ring sized by the frames in flight, because submission is asynchronous and resetting a bump allocator the GPU is still reading flickers rather than crashes.
- The build script prints the compiled binding table, so the engine's hand-written permutation metadata cannot drift from what the compiler kept.
0.1.0 #
flutter3d_hardwareoverflutter_gpu: the backend a desktop build draws through, and the only place in the stack that names a graphics API.- A shader bundle built from
flutter3d_shadersbytool/build_shaders.sh.