57 Commits

Author SHA1 Message Date
Mario Zechner
dbc2e164f0 [flutter] Fix retention of drawable in SpineWidgetState, beginnings of debug renderer. 2022-11-24 07:46:27 +01:00
Mario Zechner
0b84fdbb32 [flutter] Fix batching, invoke bounds provider once before controller initalization, finish SkinsAndAnimationBounds 2022-11-24 07:02:09 +01:00
Mario Zechner
73b9b2af04 [flutter] Repro mesh generator for crash on Android Mail GPU. 2022-11-23 13:22:36 +01:00
Mario Zechner
4e8ca9c46f [flutter] Batching of render commands. 2022-11-23 11:47:52 +01:00
Mario Zechner
bd7ec75749 [flutter] Updated WASM binaries. 2022-11-23 10:23:01 +01:00
Mario Zechner
28312004e3 [flutter] Reduce allocations by using a block/bump allocator for rendering commands. 2022-11-23 10:19:41 +01:00
Mario Zechner
40df75abf4 [flutter] Move web_ffi fork to own repository/package, switch back to char for utf8 2022-11-23 07:19:29 +01:00
Mario Zechner
1c0a860139 [flutter] Clean-up asset bundle constructors, add Flame integration examples. 2022-11-22 09:05:43 +01:00
Mario Zechner
6efb197776 [flutter] Change package name to esotericsoftware_spine_flutter 2022-11-21 22:20:22 +01:00
Mario Zechner
047b5ee921 [flutter] Disable DebugExtension, set min iOS version to 11. 2022-11-21 21:04:40 +01:00
Mario Zechner
21602d5322 [flutter] Add compiled WASM binarie and .js binding. 2022-11-21 20:22:04 +01:00
Mario Zechner
934e374724 [flutter] Add web_ffi fork, fix .wasm/.js size
The fork is required as Emscripten produces a .wasm file that the upstream web_ffi can't parse correctly to extract exported symbols.
2022-11-20 22:18:39 +01:00
Mario Zechner
fc9242bd22 [flutter] Update WASM compiler flags, README.md for web 2022-11-20 18:44:53 +01:00
Mario Zechner
35a0aaf8dc [flutter] Web support through WASM
Massive refactor, no more passing/returning structs by value and explicit initialization.
2022-11-20 02:16:48 +01:00
Mario Zechner
7ea45ed77b [flutter] Add more callbacks to controller, add IK example. 2022-11-18 16:52:09 +01:00
Mario Zechner
410f30d485 [flutter] Fixed dress-up example. 2022-11-18 03:14:44 +01:00
Mario Zechner
11add2a56d [flutter] More dress-up changes. 2022-11-17 19:14:15 +01:00
Mario Zechner
187808d543 [flutter] More work on dress-up example. 2022-11-17 18:42:09 +01:00
Mario Zechner
a3874256cd [flutter] More dress up example work 2022-11-17 14:59:03 +01:00
Mario Zechner
8f6de4b159 [flutter] Fix up dress up 2022-11-17 11:41:17 +01:00
Mario Zechner
7bb1d65bfe [flutter] Fix dependency cycle with widget->drawable, refactor examples. 2022-11-17 11:35:36 +01:00
Mario Zechner
5b5efb6fc7 [flutter] Skins example, WIP 2022-11-15 14:17:05 +01:00
Mario Zechner
70933889ed [flutter] Play/pause example. 2022-11-15 11:48:01 +01:00
Mario Zechner
e526619e96 [flutter] Fix y-offset calculation in layouting. 2022-11-15 09:21:45 +01:00
Mario Zechner
86f68ecf04 [flutter] Bounds type and controllable parent sizing. 2022-11-15 09:19:24 +01:00
Mario Zechner
c8e2032b1c [flutter] Fit and alignment support. 2022-11-14 10:45:38 +01:00
Mario Zechner
2e179b4e03 [flutter] Fix warnings in spine_flutter.cpp 2022-11-03 16:36:32 +01:00
Mario Zechner
37d9a8c796 [flutter] Update macOS Pods to use deployment target 10.13. 2022-11-03 16:27:17 +01:00
Mario Zechner
a185485d73 [flutter] Upgrade to latest ffi, fix pointer types, fix rendering, fix crash 2022-09-09 11:56:52 +02:00
Mario Zechner
c392471b13 [flutter] Wrap and expose AnimationStateData. 2022-09-08 10:02:47 +02:00
Mario Zechner
17cb64bc1d [flutter] Upgrade to Flutter 3.3.0 2022-09-01 14:53:41 +02:00
Mario Zechner
3b125a4b7f |flutter] Hide constructors of native object wrappers, simplify listener interface 2022-09-01 10:10:56 +02:00
Mario Zechner
ac0c30ffd6 [flutter] Wrap BoneData. 2022-08-31 20:25:18 +02:00
Mario Zechner
e6d849c084 [flutter] Wrapped SkeletonData. 2022-08-31 19:42:42 +02:00
Mario Zechner
d0576b784c [flutter] Wrap Slot, SlotData, fix memory leak when parsing JSON. 2022-08-30 10:45:00 +02:00
Mario Zechner
d0a4d3dfcb [flutter] Wrap Animation, EventData. 2022-08-30 09:29:23 +02:00
Mario Zechner
8c9356ae1d [flutter] Wrap Event, add animation state wider listener support. 2022-08-29 14:10:29 +02:00
Mario Zechner
61560c9477 [cpp][flutter] Add setter to AnimationState for manual track entry disposal, add support for track entry and state listeners on dart side. 2022-08-29 13:46:39 +02:00
Mario Zechner
cde9519a00 [flutter] Scaffolding for animation state listener processing. 2022-08-28 12:53:34 +02:00
Mario Zechner
6d50351b44 [flutter] Refactor skeleton data type hierarchy, implement Skeleton Dart side. 2022-08-28 11:55:31 +02:00
Mario Zechner
7adc7a2919 [flutter] Dart side wrapping of skeleton, incomplete. 2022-08-27 15:17:57 +02:00
Mario Zechner
95c567ab03 [flutter] Warp skeleton, remove drawable.update on native side. 2022-08-27 14:51:45 +02:00
Mario Zechner
e8f27aad22 [flutter] Wrap TrackEntry. 2022-08-27 13:35:02 +02:00
Mario Zechner
1dd2c99c70 [flutte] Add controller, wrap AnimationState. 2022-08-26 15:46:48 +02:00
Mario Zechner
2e78d64a23 [flutter] Assets can now be loaded from bundles, local files, or via http. 2022-08-26 14:15:05 +02:00
Mario Zechner
2438f0c39e [flutter] Proper disposal of native resources. 2022-08-25 17:33:35 +02:00
Mario Zechner
a986469e07 [flutter] Refactoring, example selector 2022-08-25 11:13:56 +02:00
Mario Zechner
733bfdcade [flutter] Switch to render objects. 2022-08-24 12:46:32 +02:00
Mario Zechner
689f748f5d [flutter] Fix up vertex & texture color modulation, go back to passing native views directly to avoid copy. 2022-08-23 20:34:56 +02:00
Mario Zechner
4a661aedfb [flutter] Fix crashes & drawing. 2022-08-23 19:43:16 +02:00