Commit Graph

1316 Commits

Author SHA1 Message Date
Nick Fisher c28c518057 chore(release): publish packages
- thermion_flutter@0.1.1+2
thermion_flutter-v0.1.1+2
2024-06-21 14:09:24 +08:00
Nick Fisher 81ffbdd824 fix: update Flutter example project to use new API
fix: don't keep example project Podfile.lock in repo
2024-06-21 11:46:25 +08:00
Nick Fisher 55b5c7068e fix: add logging dependency to thermion_flutter 2024-06-21 11:30:23 +08:00
Nick Fisher 78a758f5d4 chore(release): publish packages
- thermion_dart@0.1.0+1
 - thermion_flutter@0.1.1+1
 - thermion_flutter_web@0.0.1+1
 - thermion_flutter_platform_interface@0.1.0+1
 - thermion_flutter_ffi@0.1.0+1
thermion_dart-v0.1.0+1 thermion_flutter-v0.1.1+1 thermion_flutter_ffi-v0.1.0+1 thermion_flutter_platform_interface-v0.1.0+1 thermion_flutter_web-v0.0.1+1
2024-06-21 11:26:34 +08:00
Nick Fisher fd19fc1c68 fix: use preserveDrawingBuffer=true on web
using createImageFromImageBitmap to import the canvas directly into a Flutter app results in flickering unless this is set to true (as the drawing buffer is otherwise cleared after each render, which may not line up with Flutter's ticker
2024-06-21 11:19:16 +08:00
Nick Fisher cc3020c268 remove dependency_overrides 2024-06-21 11:19:16 +08:00
Nick Fisher 6902c27d02 fix: catch exception if gizmo unavailable in ThermionGestureDestectorDesktop 2024-06-21 11:19:16 +08:00
Nick Fisher 0ec7e2af95 refactor: export ThermionViewerWasm for web and hide FFI/WASM version 2024-06-21 11:19:16 +08:00
Nick Fisher c6c918907a rename web interop classes 2024-06-21 11:19:16 +08:00
Nick Fisher d3891e481e fix log dir creation in build.dart 2024-06-21 11:19:16 +08:00
Nick Fisher 563ffd2902 Merge branch 'develop' of github.com:nmfisher/thermion into develop 2024-06-21 11:18:33 +08:00
Nick Fisher 2ce5cb1f62 Merge pull request #41 from Hannnes1/feature/melos
Add melos
2024-06-21 02:08:34 +10:00
Hannes 842c6b1581 Remove unnecessary files from git 2024-06-20 09:07:53 +02:00
Hannes b833b2d288 Add melos 2024-06-19 15:47:00 +02:00
Nick Fisher 013730b108 destroy existing texture if it exists but size does match requested dimensions when createTexture is called 2024-06-19 16:39:10 +08:00
Nick Fisher 846f45bb63 don't destroy dummy image texture if clearBackgroundImage has been called without setBackgroundImage having been called first 2024-06-19 16:38:14 +08:00
Nick Fisher 735612af66 bump pubspec dependency versions 2024-06-19 13:39:43 +08:00
Nick Fisher e823083e86 update quickstart to use new API 2024-06-19 13:32:40 +08:00
Nick Fisher ae15f2114e update quickstart iOS project 2024-06-19 13:32:16 +08:00
Nick Fisher cb17bf0ffd increment version number for thermion_flutter 2024-06-19 13:32:03 +08:00
Nick Fisher 84101b457f add onDispose() implementations for web viewers 2024-06-19 13:31:09 +08:00
Nick Fisher aefedf8c00 CHANGELOG 2024-06-19 13:24:08 +08:00
Nick Fisher ab793387bc use Unmanaged.passRetained rather than passUnretained for ThermionDartTexture 2024-06-19 13:21:47 +08:00
Nick Fisher 534e5b46a8 (Swift/macos) dont make ThermionFlutterTexture inherit from ThermionDartTexture; reuse render callbacks/resource loader functions; add check for concurrent calls to destroyTexture 2024-06-19 13:20:04 +08:00
Nick Fisher 3468e7da55 dont make ThermionFlutterTexture inherit from ThermionDartTexture 2024-06-19 13:19:04 +08:00
Nick Fisher 1f58717635 only require ThermionViewer to be passed to ThermionWidget 2024-06-19 13:17:11 +08:00
Nick Fisher 7dc0e91e6b fix RenderLoop to use (C) ResourceLoaderWrapper and destroy RL when viewer is destroyed 2024-06-19 13:16:33 +08:00
Nick Fisher 49b8e7023b free all resources in FilamentViewer destructor 2024-06-19 13:15:36 +08:00
Nick Fisher a455e4f88a construct (C++) ResourceLoaderWrapperImpl from (C) ResourceLoaderWrapper 2024-06-19 13:13:36 +08:00
Nick Fisher 3785580b01 free all resources in SceneManager 2024-06-19 13:12:28 +08:00
Nick Fisher 6cfa86fe75 make ResourceBuffer.hpp C++ only and add constructor to create from C struct 2024-06-19 13:11:01 +08:00
Nick Fisher dc70909715 move Scene class to own file and add dispose() method 2024-06-19 13:04:34 +08:00
Nick Fisher 89f49f98c4 replace print with Logger 2024-06-19 13:01:20 +08:00
Nick Fisher 025e39318d add implementation for onDispose to ThermionViewerFFI 2024-06-19 12:59:16 +08:00
Nick Fisher cfa7805970 add onDispose method to ThermionViewer to register callbacks on disposal 2024-06-19 12:57:49 +08:00
Nick Fisher 31e68df1c5 make ThermionFlutterPlugin static, remove dispose() and add internal listener for ThermionViewer.onDispose 2024-06-19 12:57:16 +08:00
Nick Fisher 8e75555540 use C header for ResourceBuffer in Swift bridging 2024-06-19 12:52:58 +08:00
Nick Fisher c8fa220362 remove dispose()/viewer getter from platform interface, rename initialize to createViewer 2024-06-19 12:52:39 +08:00
Nick Fisher 8e892a1f23 log to file for build.dart, check for SUCCESS token 2024-06-19 12:51:39 +08:00
Nick Fisher ee8769b7d7 use C header for ResourceBuffer in Swift bridging 2024-06-19 12:50:29 +08:00
Nick Fisher 7ecf097861 reduce quickstart Dart SDK min version 2024-06-18 16:29:53 +08:00
Nick Fisher 4f4be9b7d7 rename Flutter method channels 2024-06-18 16:29:19 +08:00
Nick Fisher 338fe3bb9f Merge branch 'master' into develop 2024-06-17 14:49:02 +08:00
Nick Fisher 04b1498cd9 Merge pull request #39 from 1l0/fix-link
Fix broken links
2024-06-17 16:48:44 +10:00
Nick Fisher 1d3dab88d1 bump pubspec version 2024-06-17 14:48:13 +08:00
1l0 ec16f97023 fix link 2024-06-17 15:36:57 +09:00
Nick Fisher 436b978537 rename/export Flutter widgets 2024-06-17 13:19:24 +08:00
Nick Fisher e1aad2425f merge v0.7.0-pre 2024-06-17 12:03:54 +08:00
Nick Fisher bf0b5762f5 Merge branch 'master' of github.com:nmfisher/thermion 2024-06-17 12:02:36 +08:00
Nick Fisher 3c20b2aa6b documentation 2024-06-17 12:01:30 +08:00