Standalone Impeller SDK artifacts for the impeller.h C API.
Zig bindings and build helpers live in impeller-zig.
zig fetch --save git+https://github.com/impeller-interop/impeller-sdk#v0.2.3Only the archive for the selected target is downloaded.
Repository sdk/:
include/impeller.hlib/<os>/<arch>/...- upstream README and license when available
Release archives:
include/impeller.hlib/...- Zig package metadata
const sdk_dep = b.dependency("impeller_sdk", .{
.target = target,
});
const header = sdk_dep.namedLazyPath("impeller_header");
const include_dir = sdk_dep.namedLazyPath("impeller_include");
const lib_dir = sdk_dep.namedLazyPath("impeller_lib_dir");
const runtime_library = sdk_dep.namedLazyPath("impeller_library");On Windows, impeller_import_library is exported for linking.
The repository sdk/ directory is not included in Zig package fetches.
Stable SDK artifacts are committed to sdk/ and pinned by build.zig.zon.
Beta artifacts are published as Release assets only; the repository is never
updated for beta.
Each successful stable update bumps the patch version in build.zig.zon
automatically. Minor versions are changed by hand.
tests/ compiles tests/native.c against the host SDK and runs it under CTest,
covering version, paint, gradients, filters, paths, and display lists without a
GPU context. CI runs it on every supported platform, with ASan on Linux and
macOS.
python3 tools/fetch_sdk.py --channel stable # download raw Flutter archives
python3 tools/package_sdk.py --channel stable --out dist # build archivesfetch_sdk.py writes to tools/impeller_<sha8>. Pass --sdk sdk and
--zon build.zig.zon to package_sdk.py to refresh the committed tree and
dependency entries.
MIT.
The bundled SDK artifacts use the Flutter license, see
sdk/LICENSE.sdk.md.