Commit Graph

26 Commits

Author SHA1 Message Date
Nick Fisher
707793c6b2 chore: rearrange thermion_flutter_ffi src dir 2024-10-23 14:45:44 +08:00
Nick Fisher
0a10dc426b fix: on resize, destroy swapchain if destroySwapChainOnResize is true 2024-10-23 14:45:23 +08:00
Nick Fisher
dbbb4d7123 fix: add listener in ThermionFlutterTextureBackedPlatform to unset viewer on dispose 2024-10-23 14:45:22 +08:00
Nick Fisher
de39af13d0 fix: add listener in ThermionFlutterMethodChannelInterface to unset viewer on dispose 2024-10-23 14:45:22 +08:00
Nick Fisher
9244009350 fix: clean up destruction logic for FlutterPlatformTexture 2024-10-23 14:45:22 +08:00
Nick Fisher
dd82d5d3e7 Windows embedder fixes 2024-10-23 14:45:21 +08:00
Nick Fisher
b8c76a16cc (flutter) set view renderable on Windows 2024-10-23 14:45:21 +08:00
Nick Fisher
e2d11014d0 fix Windows build.dart to avoid native_assets fork; add implementations for ThermionFlutterWindows 2024-10-23 14:45:20 +08:00
Nick Fisher
50ed0bdfda feat: support multiple ThermionWidget on Android 2024-10-23 14:45:18 +08:00
Nick Fisher
e1efd5e4e0 feat: use imported texture on iOS 2024-10-23 14:45:18 +08:00
Nick Fisher
fbd54a2a09 feat: working implementation of multiple widgets on macos 2024-10-23 14:45:14 +08:00
Nick Fisher
22020d8607 refactor: continual refactor to support multiple render targets 2024-10-23 14:45:04 +08:00
Nick Fisher
a5ca6132f0 refactor!: refactor to support multiple Views/Render Targets 2024-10-23 14:45:04 +08:00
Nick Fisher
ef5b12af4f feat!: big refactor to support multiple swapchains 2024-10-23 14:45:04 +08:00
Nick Fisher
3dffaddfe8 chore: rearrange library/export structure 2024-10-23 14:45:03 +08:00
Nick Fisher
60dbc4ffd6 add texture methods (including unproject) 2024-10-23 14:44:39 +08:00
Nick Fisher
2a8122e280 feat: (flutter) move DPR calculation to resizeTexture and add createViewerWithOptions method to ThermionFlutterFFI 2024-10-23 14:44:33 +08:00
Nick Fisher
65e79b0d07 fix!: (flutter) pass pixelRatio to createTexture 2024-10-23 14:44:31 +08:00
Nick Fisher
cde3af08aa fix: web/JS bool checks need to compare to int 2024-07-23 09:38:25 +08:00
Nick Fisher
9eb2285433 refactor: rearrange some stubs/imports for easier web WASM deployment 2024-06-21 15:20:08 +08: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
31e68df1c5 make ThermionFlutterPlugin static, remove dispose() and add internal listener for ThermionViewer.onDispose 2024-06-19 12:57:16 +08:00
Nick Fisher
4f4be9b7d7 rename Flutter method channels 2024-06-18 16:29:19 +08:00
Nick Fisher
91e41c4eb3 various fixes for publishing all packages to pub.dev 2024-06-16 15:03:52 +08:00
Nick Fisher
dc0c855135 documentation & further renaming 2024-06-16 13:22:27 +08:00
Nick Fisher
fe62a70e29 renaming to Thermion 2024-06-16 13:22:22 +08:00