Skip to content

Commit f7ed0e2

Browse files
committed
fix(ios): port 71 missing _bloom_* FFI exports to the iOS native crate
The iOS native crate had drifted behind macOS (and every other platform) by 82 FFI exports — apps using the renderer/postfx/texture/profiler APIs failed to link on iOS with undefined _bloom_* symbols. Port the 71 portable functions from native/macos (renderer settings, render-texture, profiler, lights, postfx, screenshot, env/HDR, etc.), add the image (hdr) dependency needed by bloom_set_env_clear_from_hdr, and import alloc_perry_string. Skips 11 desktop-only scene-pick/projection fns (LAST_PICK/LAST_PROJECT). Release v0.4.5.
1 parent 2de6899 commit f7ed0e2

4 files changed

Lines changed: 665 additions & 63 deletions

File tree

native/ios/Cargo.lock

Lines changed: 63 additions & 61 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

native/ios/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jolt = ["bloom-shared/jolt"]
2020
panic = "abort"
2121

2222
[dependencies]
23+
image = { version = "0.25", default-features = false, features = ["hdr"] }
2324
bloom-shared = { path = "../shared", default-features = false, features = ["mp3"] }
2425
objc2 = "0.6"
2526
objc2-foundation = { version = "0.3", features = ["NSDate", "NSRunLoop", "NSString", "NSThread", "NSObject"] }

0 commit comments

Comments
 (0)