flutter3d_webgl 0.4.1 copy "flutter3d_webgl: ^0.4.1" to clipboard
flutter3d_webgl: ^0.4.1 copied to clipboard

Platformweb

A WebGL2 backend for flutter3d: the second implementation of flutter3d_hardware, and the one that tells us whether the HAL is a seam or a description of Impeller.

0.4.1 #

  • Phones render. The MSAA sample count is now proven at create() rather than assumed: desktop GL happily multisamples a half-float renderbuffer and mobile GLES very often refuses, and the refusal was not an answer at create time but a GL_INVALID_OPERATION out of renderbufferStorageMultisample on every frame — a white screen on every phone. Proven by a real one-pixel allocation checked with getError, not by asking: the Android emulator's GL translator advertises the capability and then errors on the allocation anyway. Where the driver refuses, the renderer takes its ordinary single-sample path and the picture arrives, aliased and alive.

0.4.0 #

  • Shaders and programs are deleted at last. The library gained dispose — every cached stage and every linked program — wired into the device's own, and counted by debugTrackedResourceCount; a failed compile or link deletes its object before throwing instead of leaking one per retry.
  • Disposing the device loses the GL context and removes the canvas from the DOM (the platform-view registry still pins the element; it has no unregister). The encoder cleans up its framebuffer and every transient and uniform buffer on any failure path, and a second submit is a StateError rather than resolve blits against a deleted framebuffer. _blitToCanvas no longer leaks a framebuffer per frame when the frame is unreadable.

0.3.0 #

  • Regenerated against the current sources, including the environment sampling and the composite look.

0.2.0 #

  • The GLSL is generated from flutter3d_shaders and CI fails on the diff, after a stale table turned out to be drawing last month's sky in the browser while nothing could see it.
  • A pass sets its viewport and scissor to the attachment it draws into rather than to the size of the canvas.

0.1.0 #

  • A WebGL2 backend: the second implementation of flutter3d_hardware, and the one that says whether the HAL is a seam or a description of Impeller.
0
likes
160
points
123
downloads

Documentation

API reference

Publisher

verified publisherpleion.dev

Weekly Downloads

A WebGL2 backend for flutter3d: the second implementation of flutter3d_hardware, and the one that tells us whether the HAL is a seam or a description of Impeller.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#webgl #graphics #gpu #rendering #web

License

MIT (license)

Dependencies

flutter, flutter3d_hardware, vector_math, web

More

Packages that depend on flutter3d_webgl