Commit Graph

352 Commits

Author SHA1 Message Date
Nick Fisher eeac96a396 more logging and fix return values when setting camera to asset camera 2023-10-03 21:29:34 +08:00
Nick Fisher e86ae3be5d add load_gltf_ffi 2023-10-03 17:20:52 +11:00
Nick Fisher 3d074f4563 check for glTF load errors and remove assets correctly 2023-10-03 17:19:43 +11:00
Nick Fisher 4492a9fa8f fix ResourceBuffer going out of scope before texture callbacks 2023-10-03 12:46:14 +11:00
Nick Fisher 4a9bf91fae don't include C++ Log.hpp in ResourceBuffer 2023-10-03 00:46:58 +08:00
Nick Fisher 138309da21 standardize on Int32 for ResourceBuffer size/id 2023-10-03 00:22:09 +08:00
Nick Fisher 690c94adb5 fix freeing resources in async callbacks 2023-10-03 00:20:53 +08:00
Nick Fisher 1f5f24c740 logging 2023-10-03 00:20:23 +08:00
Nick Fisher d6e527f3c0 recompile v1.43.1 libs for iOS/macOS 2023-10-03 00:18:36 +08:00
Nick Fisher 0b67eb7eb6 remove old standalone KtxReader source files 2023-10-03 00:17:46 +08:00
Nick Fisher a402b969a2 move Filament headers to own directory under iOS/macOS 2023-10-03 00:17:12 +08:00
Nick Fisher 2a3a99c974 move Filament headers to own directory under iOS/macOS 2023-10-03 00:15:41 +08:00
Nick Fisher 2fdbb9582e use FilterQuality.none in widget 2023-10-02 13:38:45 +08:00
Nick Fisher bbb3727b7c don't use constructors for ResourceBuffer on Android (messes with JNA) 2023-10-02 12:06:48 +08:00
Nick Fisher cf5ab5848d interim Android fixes 2023-10-01 20:44:23 +08:00
Nick Fisher 0be2bce764 add win32 ifdef to pragma 2023-10-01 16:18:39 +08:00
Nick Fisher 7463318a62 downgrade Android libs/headers to v1.32.4 2023-10-01 16:18:15 +08:00
Nick Fisher 313baef727 merge in Windows support 2023-09-30 16:54:20 +10:00
Nick Fisher 2e207e636a iOS fixes for direct FFI 2023-09-29 21:51:33 +08:00
Nick Fisher 4b19632129 implement most outstanding FFI methods 2023-09-29 18:25:37 +08:00
Nick Fisher e8ba136863 more FFI work 2023-09-29 17:58:12 +08:00
Nick Fisher dd88c45536 more FFI work 2023-09-29 14:55:40 +08:00
Nick Fisher a6506e6346 initial work to re-implement FFI with background thread render loop 2023-09-29 13:54:04 +08:00
Nick Fisher fd843147ad add missing method handlers on Windows and use 32bit depth buffer for render target by default 2023-09-28 10:46:20 +10:00
Nick Fisher 074f9e05f2 merge 2023-09-27 16:23:46 +10:00
Nick Fisher 908c76d6c3 make iOS/MacOS consistent re moveCameraToBoundingBox 2023-09-27 14:21:31 +08:00
Nick Fisher b7b2aebf28 merge moveCameraToAsset changes 2023-09-27 16:10:10 +10:00
Nick Fisher 32049876b4 initial work on custom Platform to wrap EGL D3D surface 2023-09-27 16:03:50 +10:00
Nick Fisher c27ca565f9 more D3D interop work 2023-09-26 15:14:17 +10:00
Nick Fisher 833022e4e0 add moveCameraToAsset 2023-09-25 22:30:07 +08:00
Nick Fisher 744fedb8d9 windows working (SLOW) with pixel buffer copy 2023-09-25 21:53:42 +10:00
Nick Fisher 6cdc9bd3dc downgrade Filament libs to v1.34.2 for Windows 2023-09-25 21:52:09 +10:00
Nick Fisher 609e349d58 first pass Windows support 2023-09-23 15:27:09 +10:00
Nick Fisher c033dd51cf whitespace 2023-09-22 08:22:56 +08:00
Nick Fisher 6e7d5797a8 rename window argument in create_swap_chain 2023-09-22 08:19:31 +08:00
Nick Fisher 9f1aa84664 remove old methods, rename surface to window and use window properly if not nullptr 2023-09-22 08:19:19 +08:00
Nick Fisher 61d62eb463 rename window argument in create_swap_chain 2023-09-22 08:18:32 +08:00
Nick Fisher 2a30a4dd40 remove StandardMaterialProvider 2023-09-22 08:18:09 +08:00
Nick Fisher 98fd6a1157 remove unused iOS OpenGL texture creation 2023-09-19 17:53:43 +08:00
Nick Fisher c5d19f8576 fix AssetManager includes for proper compilation on Android 2023-09-19 17:49:15 +08:00
Nick Fisher 96556d5af0 stop animations are completed 2023-09-15 13:51:38 +08:00
Nick Fisher 9e51890ea1 add fillHeight option to setBackgroundImage 2023-09-15 13:51:23 +08:00
Nick Fisher f72ffd6c6a add fillHeight option to setBackgroundImage 2023-09-15 13:00:58 +08:00
Nick Fisher 01928da3e6 logging 2023-09-14 13:38:57 +08:00
Nick Fisher b8c418f537 remove old glob paths from iOS podspec 2023-09-14 09:53:57 +08:00
Nick Fisher f963fe6063 don't initialize to nullptr (doesn't compile in Xcode) 2023-09-14 09:53:01 +08:00
Nick Fisher 7ba1598d9e use intptr_t for textureId 2023-09-14 09:52:42 +08:00
Nick Fisher 0c6d0890c2 add setBloom Swift method handler, fix types and add createGlTexture (unused) 2023-09-14 09:52:27 +08:00
Nick Fisher ab2c09b788 change int types for consistency 2023-09-14 09:50:26 +08:00
Nick Fisher 4c99c86571 change int types for consistency 2023-09-14 09:50:17 +08:00