Commit Graph

827 Commits

Author SHA1 Message Date
Nick Fisher
03fe1a097b update pubspec.lock 2023-11-07 13:15:27 +08:00
Nick Fisher
b5fffe617e use ffi-native for generated bindings 2023-11-07 13:15:12 +08:00
Nick Fisher
60ed8443b2 example project fixes 2023-11-07 13:14:46 +08:00
Nick Fisher
2882f9739d Merge pull request #13 from odd-io/feature-code-quality
Refactored /lib code to reduce analyze warnings
2023-11-07 08:42:49 +08:00
Nick Fisher
59936c6220 Merge pull request #12 from odd-io/feature-add-github-actions
Add GitHub Actions workflows
2023-11-07 08:41:11 +08:00
LukasPoque
509a480603 add GitHub Actions workflows for Dart Analyzer and
PubDev Score calculation
2023-11-06 17:35:31 +01:00
LukasPoque
93693788ac fix dart docs to match the method args naming 2023-11-06 17:19:40 +01:00
LukasPoque
793bc6ca32 Refactor gesture type enum to use camelCase 2023-11-06 17:13:25 +01:00
LukasPoque
9862f39bcd fix lint warnings through ignore lines 2023-11-06 17:13:13 +01:00
LukasPoque
1c55526463 Refactor FilamentControllerFFI class to use entity
instead of asset  to match overridden method
2023-11-06 17:12:03 +01:00
LukasPoque
229357d8b9 Change print to log to follow bp 2023-11-06 16:55:52 +01:00
LukasPoque
94680c6db7 Fix typos and comments in FilamentControllerFFI
and AnimationBuilder classes
2023-11-06 16:41:07 +01:00
LukasPoque
851d2df84e Run dart fix in lib 2023-11-06 14:27:16 +01:00
Nick Fisher
8120cbea6d properly free memory in model/view matrix getters 2023-11-03 22:43:04 +08:00
Nick Fisher
48be185bba start using menu for example project & add methods for getting camera model/view matrices 2023-11-03 22:17:39 +08:00
Nick Fisher
f5cc7a8174 update example project 2023-11-03 17:28:25 +08:00
Nick Fisher
58a9542121 add model/view matrix getters & manipulator options 2023-11-03 15:20:15 +08:00
Nick Fisher
83469e93b9 add new interface methods for camera 2023-11-03 13:18:04 +08:00
Nick Fisher
7700ead724 remove delay on resume 2023-11-03 13:10:22 +08:00
Nick Fisher
5ba5d7d6ea add mutex for animation updates 2023-11-03 13:10:02 +08:00
Nick Fisher
6671ced45d add delay to setRendering when coming back from inactive 2023-11-02 22:05:57 +08:00
Nick Fisher
a366867d91 correctly complete completer when resizing while unmounted and log any errors on resize 2023-11-01 14:05:49 +08:00
Nick Fisher
214510b595 remove wasm_ffi dependency 2023-11-01 13:47:25 +08:00
Nick Fisher
aa6ad3cc4b fix integration test 2023-10-28 15:21:04 +08:00
Nick Fisher
23364ba9a2 Merge branch 'develop' of github.com:nmfisher/polyvox_filament into develop 2023-10-28 15:17:32 +08:00
Nick Fisher
78094fbf61 update example project 2023-10-27 20:58:33 +08:00
Nick Fisher
4280172767 remove old Method Channel FilamentController 2023-10-27 20:57:33 +08:00
Nick Fisher
4a5c62a306 move rect ValueNotifier to interface 2023-10-27 20:57:13 +08:00
Nick Fisher
40485081bc require createViewer to be specified manually 2023-10-27 20:32:16 +08:00
Nick Fisher
42c0d96e56 add buster to example project 2023-10-27 00:19:17 +11:00
Nick Fisher
59c2f8d125 add ARCHITECTURE.md 2023-10-26 11:38:25 +08:00
Nick Fisher
cf25d8f0d7 update macOS 2023-10-26 11:12:31 +08:00
Nick Fisher
8b9e6a2b3a rename plugin from PolyvoxFilament to FlutterFilament
rename plugin from PolyvoxFilament to FlutterFilament
2023-10-26 14:08:20 +11:00
Nick Fisher
b42d31a773 fix window minimization issue on Windows 2023-10-26 12:49:24 +11:00
Nick Fisher
53c908dd0d use short timeout on front-end for resizing on Windows 2023-10-26 12:38:52 +11:00
Nick Fisher
6399ca41ed use pixelRatio properly 2023-10-26 11:33:44 +11:00
Nick Fisher
a56943fb86 use pixelRatio properly 2023-10-26 11:27:42 +11:00
Nick Fisher
38b58b6d8f set pixel ratio in FilamentWidget 2023-10-26 11:19:35 +11:00
Nick Fisher
0fdbf0b5be don't hide backing window when resizing 2023-10-26 02:14:55 +11:00
Nick Fisher
2fd6f44785 fixes for window resizing on Windows 2023-10-26 02:10:22 +11:00
Nick Fisher
0928d9d273 rendering correctly with backing window but some issues re pixel density, scroll & foregrounding on start 2023-10-25 17:52:37 +11:00
Nick Fisher
8cea106b30 refactor Windows classes to separate EGL/WGL/Backing Window 2023-10-25 13:11:58 +11:00
Nick Fisher
c4245b0dd3 remove duplicate EGL_ALPHA_SIZE on Windows 2023-10-24 13:23:41 +11:00
Nick Fisher
2107a17219 update pubspec.lock 2023-10-24 12:29:00 +11:00
Nick Fisher
e39d75824e update Windows example project 2023-10-24 12:29:00 +11:00
Nick Fisher
3f988a119c FlutterAngleTexture invoke resize callback on size change, cleanup on destruction and call glFinish in RenderCallback
FlutterAngleTexture invoke resize callback on size change, cleanup on destruction and call glFinish in RenderCallback
move OpenGlTextureBuffer cleanup to destructor
2023-10-24 12:28:57 +11:00
Nick Fisher
435ed7bee6 don't use resize callback on Windows and use ListenableBuilder for texture ID changes
don't use resize callback on Windows and use ListenableBuilder for texture ID changes
2023-10-24 12:28:54 +11:00
Nick Fisher
537f0e1c8e change TextureDetails to ValueNotifier and add MethodChannel listener on Dart side for resize (Windows only) 2023-10-24 12:23:20 +11:00
Nick Fisher
65426aa075 update README 2023-10-24 12:21:33 +11:00
Nick Fisher
7c554e871f update Windows ANGLE libs 2023-10-24 12:21:11 +11:00