82 Commits

Author SHA1 Message Date
Mario Zechner
57221ec063 [flutter] 4.2.9 release. 2022-12-06 11:09:53 +01:00
Mario Zechner
53294d3d82 [flutter] Reverse arguments in SpineWidget constructors. 2022-12-06 11:04:18 +01:00
Mario Zechner
f28f25da47 [flutter] Change package name to spine_flutter 2022-12-06 10:20:18 +01:00
Mario Zechner
ef3403d8ba [flutter] Formatting. 2022-12-06 10:06:28 +01:00
Mario Zechner
1cf95f49d2 [flutter] Formatting. 2022-12-06 10:04:51 +01:00
Mario Zechner
dd14cad0dd [flutter] Fix analyzer error in init_web.dart, ignore incorrectly bound types
This is necessary as this source file actually requires the bound C ffi types to link against Opaque from web_ffi. However, the analyzer doesn't trigger inclusion of web_ffi in the generated bindings file, links against dart:ffi instead, and trips.
2022-12-06 09:29:42 +01:00
Mario Zechner
41a43f503e [flutter] 4.2.6 release 2022-12-06 09:16:11 +01:00
Mario Zechner
de030c8e8c [flutter] Fix linter warnings and errors 2022-12-06 08:58:24 +01:00
Mario Zechner
42186097c4 [flutter] Added additional SkeletonDrawable.renderToXXX() methods for simple offscreen rendering. 2022-11-24 13:03:10 +01:00
Mario Zechner
b0c63b8fa8 [flutter] Add SkeletonDrawable.renderToRawImageData(), clean-up dress up example. 2022-11-24 11:18:26 +01:00
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
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
86ecf4927f [flutter] Include spine-cpp sources in package 2022-11-21 21:29:48 +01:00
Mario Zechner
5d4141c62e [flutter] Build system clean-up. 2022-11-21 21:19:38 +01:00
Mario Zechner
425c4cc8b8 [flutter] Updated WASM binaries. 2022-11-21 21:05:16 +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
4ee8b7aa48 [flutter] Proper asset path fix. 2022-11-20 03:07:32 +01:00
Mario Zechner
41aab5579f [flutter] Fix .wasm lookup path on web. 2022-11-20 02:55:21 +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
a3874256cd [flutter] More dress up example work 2022-11-17 14:59:03 +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
8ffde33fa9 Formatting. 2022-09-09 19:36:50 +02:00
Mario Zechner
34ff33c639 [flutter] Add missing methods on the Dart side. 2022-09-09 19:29:45 +02: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
6d0a60e255 [flutter] Add missing native methods up and including to Slot 2022-09-08 12:07:28 +02:00
Mario Zechner
c392471b13 [flutter] Wrap and expose AnimationStateData. 2022-09-08 10:02:47 +02:00
Mario Zechner
f1ca95d32d [flutter] Wrap remaining attachments. 2022-09-08 09:40:35 +02:00
Mario Zechner
ceabf865f6 [flutter] Type-safe C wrapper, fix up Dart side accordingly. 2022-09-06 12:42:09 +02:00
Mario Zechner
5c5c3e2ec7 [flutter] Wrap VertexAttachment. 2022-09-06 11:46:29 +02:00
Mario Zechner
fa4c55067a [flutter][cpp] Refactor VertexAttachment to use ints for bones instead of size_t, wrap VertexAttachment. 2022-09-06 10:43:48 +02:00
Mario Zechner
44c589e591 [flutter] Wrap RegionAttachment. 2022-09-06 10:24:10 +02:00
Mario Zechner
2d70bc7349 [flutter] Attachment wrapper scaffolds, PointAttachment wrapper. 2022-09-06 09:30:41 +02:00
Mario Zechner
e0611d7499 [flutter] Wrap PathConstraintData, PathConstraint 2022-09-05 16:38:39 +02:00
Mario Zechner
83f1052d5c [flutter] Wrap TransformConstraint 2022-09-05 13:07:28 +02:00
Mario Zechner
907f278325 [flutter] Wrap TransformConstraintData 2022-09-05 12:34:03 +02:00
Mario Zechner
0a37ec4329 [flutter] Wrap IkConstraint 2022-09-05 11:46:03 +02:00
Mario Zechner
10c2e2195e [flutter] Wrap IkConstraintData 2022-09-05 09:42:10 +02:00