Skip to content

Releases: bdero/flutter_gpu_shaders

0.5.2

Choose a tag to compare

@bdero bdero released this 11 Aug 23:19
  • Track the impellerc binary as a build input, so bundles rebuild whenever the engine artifacts change.
  • Write an engine stamp beside each bundle, so a shared pub-cache bundle rewritten by another project (or Flutter SDK) triggers a rebuild instead of shipping a wrong-engine bundle.
  • Recover depfile dependency paths containing spaces (impellerc writes them unescaped); a split path declared a nonexistent dependency, which made the hook re-run on every build for SDKs under paths like Application Support.

0.5.1

Choose a tag to compare

@bdero bdero released this 13 Jun 01:50
  • Added a glesLanguageVersion option to buildShaderBundleJson (and shaderBundleImpellercArguments), forwarded to impellerc as --gles-language-version. Setting 300 emits #version 300 es OpenGL ES shaders, where explicit-LOD sampling and derivatives are core rather than extension-gated.
  • findImpellerC now also probes the linux-arm64 and windows-arm64 engine artifact directories; the previous x64-only list failed on Linux arm64 hosts.

0.5.0

Choose a tag to compare

@bdero bdero released this 07 Jun 10:19
  • Fixed dependency tracking that made the build hook re-run on every build. Manifest file entries are now resolved against the package root (matching how impellerc resolves them) instead of the manifest's directory, which had produced doubled, non-existent paths for manifests in a subdirectory.
  • Generated shader sources written under the package's build/ directory are no longer declared as build dependencies; depending on a regenerated output made the hook perpetually out of date. Declare the real sources that produce them instead.
  • Breaking: collectShaderBundleDependencies now requires a packageRoot argument (used to resolve manifest file paths). Most consumers use buildShaderBundleJson, whose signature is unchanged.

flutter_gpu_shaders 0.4.5

Choose a tag to compare

@bdero bdero released this 28 May 11:36
e92ca87

Changes

  • Added optional Dart DataAssets registration for generated shader bundles via ShaderBundleAssetMode.
  • dataAssetsIfAvailable registers the generated .shaderbundle with the Flutter asset bundle when supported and falls back to legacy file output otherwise.
  • buildShaderBundleJson now returns ShaderBundleBuildResult, including legacy and DataAsset asset keys when available.

Published to pub.dev: https://pub.dev/packages/flutter_gpu_shaders/versions/0.4.5