Nick Fisher
81be5e25f7
fix: revert to std::thread (pthreads not easily available on Windows)
2024-06-26 01:50:22 +10: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
0ec7e2af95
refactor: export ThermionViewerWasm for web and hide FFI/WASM version
2024-06-21 11:19:16 +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
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
68a67dad19
remove old library dirs
2024-06-16 13:51:16 +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