Commit Graph

358 Commits

Author SHA1 Message Date
Nick Fisher fdb2d75cf0 (flutter) add CameraOrientationWidget 2024-10-23 14:44:35 +08:00
Nick Fisher 1b50ca2b57 chore: minor widget fixes 2024-10-23 14:44:34 +08:00
Nick Fisher 1480920938 feat: allow passing null options to ThermionWidget 2024-10-23 14:44:34 +08:00
Nick Fisher c3388f2a48 feat: (flutter) (web) if importCanvasAsWidget is false, render transparency 2024-10-23 14:44:33 +08:00
Nick Fisher 4909f4395d chore: stub ThermionWidget methods 2024-10-23 14:44:33 +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 937eaaaaa1 fix: (flutter) pass ThermionFlutterOptions to ThermionWidget, use dpr for resizeTexture, delete unnecessary TransparencyPainter class 2024-10-23 14:44:33 +08:00
Nick Fisher f0974509bf feat: add createViewerWithOptions to ThermionFlutterPlugin and mark createViewer as deprecated 2024-10-23 14:44:33 +08:00
Nick Fisher 0d71b0d8fe feat: add createViewerWithOptions to ThermionFlutterPlugin and mark createViewer as deprecated 2024-10-23 14:44:33 +08:00
Nick Fisher cf0a76c343 feat: (flutter) (web) use options to determine whether to create canvas, and set fixed position + offset 2024-10-23 14:44:33 +08:00
Nick Fisher 8963b79db0 chore: (flutter) export platform interface from thermion_flutter package 2024-10-23 14:44:33 +08:00
Nick Fisher a552c11983 feat: add ThermionFlutterOptions classes, rename interface parameter for offsetTop and ensure pixelRatio is passed to resizeTexture 2024-10-23 14:44:32 +08:00
Nick Fisher 4916c4cc50 fix: (flutter/web) use window.devicePixelRatio for viewport 2024-10-23 14:44:32 +08:00
Nick Fisher 919010235c fix: (flutter) desktop gesture detector changes for new Gizmo methods 2024-10-23 14:44:32 +08:00
Nick Fisher 12198dd6df feat: highlight gizmo on hover 2024-10-23 14:44:31 +08:00
Nick Fisher 65e79b0d07 fix!: (flutter) pass pixelRatio to createTexture 2024-10-23 14:44:31 +08:00
Nick Fisher 9fb9df1843 (flutter) (web) initialize viewer to 1x1 then resize on createTexture 2024-10-23 14:44:31 +08:00
Nick Fisher b15166a599 feat!: (flutter) (web) upgrade package:web dep to 1.0.0 2024-10-23 14:44:31 +08:00
Nick Fisher bf81dfe806 fix!: (flutter) pass pixelRatio to createTexture 2024-10-23 14:44:31 +08:00
Nick Fisher 213fc3da91 fix!: (flutter) pass pixelRatio to createTexture 2024-10-23 14:44:30 +08:00
Nick Fisher ab4f721914 fix!: (flutter) pass pixelRatio to createTexture 2024-10-23 14:44:30 +08:00
Nick Fisher 10cab8dcb4 feat!: (web) (flutter) create canvas when createViewer is called (no longer need to manually add canvas element to web HTML) 2024-10-23 14:44:29 +08:00
Nick Fisher b207a48175 feat!: resize canvas on web 2024-10-23 14:44:29 +08:00
Nick Fisher 96ad9dee18 chore(release): publish packages
- thermion_dart@0.1.3
 - thermion_flutter_ffi@0.1.0+12
 - thermion_flutter_web@0.0.3
 - thermion_flutter_platform_interface@0.1.0+11
 - thermion_flutter@0.1.1+13
2024-10-23 14:44:29 +08:00
Nick Fisher 11ca6972c6 chore(release): publish packages
- thermion_dart@0.2.1-dev.0.0.9
 - thermion_flutter@0.2.1-dev.8
 - thermion_flutter_ffi@0.2.1-dev.8
 - thermion_flutter_web@0.1.1
 - thermion_flutter_platform_interface@0.2.1-dev.8
2024-10-23 13:46:45 +08:00
Nick Fisher 5cf9fab4f2 fix: fix all Windows warnings so apps will compile with /WX 2024-10-23 02:41:16 +11:00
Nick Fisher c3764df4e2 feat: (flutter) (windows) add DestroyRenderingSurface method 2024-10-23 02:25:06 +11:00
Nick Fisher a2a1033701 feat: (flutter) (windows) add DestroyRenderingSurface method 2024-10-23 02:24:49 +11:00
Nick Fisher 2536f7fc6f feat: (flutter) (windows) add DestroyRenderingSurface method 2024-10-23 02:24:34 +11:00
Nick Fisher b6fe78b82c feat: (flutter) (windows) add Destroy() to BackingWindow 2024-10-23 02:23:54 +11:00
Nick Fisher f8cddf0bce chore: cleanup thermion_flutter pubspec.yaml 2024-10-23 02:23:15 +11:00
Nick Fisher e6dd4c6cfe chore: cleanup thermion_flutter_ffi pubspec 2024-10-23 02:22:23 +11:00
Nick Fisher fb756fe9ba chore: rearrange thermion_flutter_ffi src dir 2024-10-23 02:22:04 +11:00
Nick Fisher 3720aa98df Merge branch 'develop' of https://github.com/nmfisher/thermion into develop 2024-10-23 01:24:44 +11:00
Nick Fisher a08620d7c9 rename gestureHandler to inputHandler 2024-10-22 22:23:13 +08:00
Nick Fisher f6b12d946a merge 2024-10-23 01:20:22 +11:00
Nick Fisher 11572b4939 fix: on resize, destroy swapchain if destroySwapChainOnResize is true 2024-10-22 14:11:02 +08:00
Nick Fisher ed44aad076 chore: add flutter quickstart example, assets and update README 2024-10-22 13:11:48 +08:00
Nick Fisher 6dc00bff74 fix: add listener in ThermionFlutterTextureBackedPlatform to unset viewer on dispose 2024-10-22 12:48:26 +08:00
Nick Fisher 5f2407baeb fix: add listener in ThermionFlutterMethodChannelInterface to unset viewer on dispose 2024-10-22 12:48:05 +08:00
Nick Fisher 45f41f3cf7 fix: clean up destruction logic for FlutterPlatformTexture 2024-10-22 12:47:35 +08:00
Nick Fisher 0c29d61a35 fix: use internal Set for determining first ThermionTextureWidget to call requestFrame and cleanup destruction logic 2024-10-22 12:47:13 +08:00
Nick Fisher 58e549e3b3 chore: await future in ThermionFlutterPlugin 2024-10-22 12:46:36 +08:00
Nick Fisher cb517c907d chore(release): publish packages
- thermion_dart@0.2.1-dev.0.0.8
 - thermion_flutter_web@0.1.0+9
 - thermion_flutter@0.2.1-dev.7
 - thermion_flutter_platform_interface@0.2.1-dev.7
 - thermion_flutter_ffi@0.2.1-dev.7
2024-10-14 09:36:55 +08:00
Nick Fisher 9420143a36 chore(release): publish packages
- thermion_dart@0.2.1-dev.0.0.7
 - thermion_flutter_web@0.1.0+8
 - thermion_flutter@0.2.1-dev.6
 - thermion_flutter_platform_interface@0.2.1-dev.6
 - thermion_flutter_ffi@0.2.1-dev.6
2024-10-14 09:25:59 +08:00
Nick Fisher f9468db266 Windows embedder fixes 2024-10-14 11:23:56 +11:00
Nick Fisher cba9ee98ad (flutter) set view renderable on Windows 2024-10-12 14:56:04 +11:00
Nick Fisher a321966e5b fix Windows build.dart to avoid native_assets fork; add implementations for ThermionFlutterWindows 2024-10-12 02:14:37 +11:00
Nick Fisher f180c1018f mobile gesture handler 2024-10-11 15:37:03 +08:00
Nick Fisher f267aa6dc6 chore(release): publish packages
- thermion_dart@0.2.1-dev.0.0.6
 - thermion_flutter_web@0.1.0+7
 - thermion_flutter_platform_interface@0.2.1-dev.5
 - thermion_flutter@0.2.1-dev.5
 - thermion_flutter_ffi@0.2.1-dev.5
2024-10-10 20:58:19 +08:00