flutter3d_testing 0.5.0 copy "flutter3d_testing: ^0.5.0" to clipboard
flutter3d_testing: ^0.5.0 copied to clipboard

Renders a flutter3d scene with no GPU and compares it against a reference image, so a game gets pixel regression tests on a machine with no display.

0.5.0 #

Breaking. The frame builder takes one object.

  • FrameBuilder is FrameSubject Function(FrameRequest), so telling a builder the size it is drawing at, or which backend it is on, does not break every builder anybody has written.

0.4.0 #

  • No changes of its own; the version moves with the workspace, whose sibling constraints name a single release. The README's closing section now says what the engine around this package is.

0.3.0 #

  • First release. renderFrame draws a scene through the software backend, with no GPU, no driver and no display; expectMatchesGolden holds the result to a reference image, recording one when there is none.
  • The tolerance defaults to zero, because a software rasteriser draws the same scene the same way twice and a test that allows drift has stopped watching it.
0
likes
0
points
400
downloads

Publisher

verified publisherpleion.dev

Weekly Downloads

Renders a flutter3d scene with no GPU and compares it against a reference image, so a game gets pixel regression tests on a machine with no display.

Homepage
Repository (GitHub)
View/report issues

Topics

#testing #golden-tests #rendering #graphics

License

unknown (license)

Dependencies

flutter, flutter3d, flutter3d_cpu, flutter3d_hardware, flutter_test, vector_math

More

Packages that depend on flutter3d_testing