Commit Graph
100 Commits
Author SHA1 Message Date
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
Nick Fisher 72c1cbdeb3 remove custom platform creation from FlutterAngleTexture 2023-10-23 01:36:20 +11:00
Nick Fisher 69a7a07ec7 remove custom platform creation from FlutterAngleTexture 2023-10-23 01:36:03 +11:00
Nick Fisher 0a612555b8 remove custom platform creation from FlutterAngleTexture 2023-10-23 01:35:45 +11:00
Nick Fisher 600905f7f2 remove custom platform creation 2023-10-23 01:35:21 +11:00
Nick Fisher 73db953564 don't show placeholder while resizing 2023-10-23 01:34:48 +11:00
Nick Fisher 8130319801 don't null out controller textureDetails while resizing 2023-10-23 01:34:20 +11:00
Nick Fisher 34542a29ca add flushAndWait call to destroySwapChain 2023-10-23 01:33:47 +11:00
Nick Fisher d15aa66f78 remove unnecessary bluegl from Windows/ANGLE build 2023-10-22 17:46:09 +11:00
Nick Fisher 1e6f9dcc9d initialize various FilamentViewer pointers to nullptr 2023-10-22 17:45:48 +11:00
Nick Fisher 74cfe8d9a1 store driver when creating texture 2023-10-22 17:45:26 +11:00
Nick Fisher 2b9ddef5e7 use shared EGLContext for ANGLE on Windows 2023-10-22 17:45:09 +11:00
Nick Fisher 7718885781 update README 2023-10-17 00:55:51 +11:00
Nick Fisher 5bf21ceaf9 update README 2023-10-17 00:54:19 +11:00
Nick Fisher 4fe79e3b92 remove golden_toolkit from test dependency 2023-10-17 00:29:21 +11:00
Nick Fisher 2a5c863506 remove golden_toolkit from test dependency 2023-10-17 00:26:11 +11:00
Nick Fisher 837a2cebc7 different timeouts for resize in debug/release 2023-10-17 00:25:30 +11:00
Nick Fisher 6ab814114e rewrite resize handler for better support on Windows 2023-10-17 00:13:44 +11:00
Nick Fisher 818d75b493 specify minimum Flutter version in README 2023-10-16 18:24:45 +11:00
Nick Fisher 91d3894c83 make ResourceBuffer rvalue ref constructor noexcept 2023-10-16 17:02:59 +11:00
Nick Fisher 6cf8e58bed refactor resizing to address race condition on Windows 2023-10-16 17:02:24 +11:00
Nick Fisher 025bdf662e update windows libs 2023-10-16 17:00:06 +11:00
Nick Fisher 4ebd5a6645 wip 2023-10-13 17:22:31 +11:00
Nick Fisher df4f647333 add DestroyTexture for pixelBuffer implementation 2023-10-13 16:53:39 +11:00
Nick Fisher 1fe130d77f Update README.md 2023-10-13 12:50:44 +08:00
Nick Fisher 5feaa57d81 update Android CMakeLists to support Manipulator.cpp 2023-10-11 17:17:21 +11:00
Nick Fisher 5fdb420f30 remove logging 2023-10-11 17:16:51 +11:00
Nick Fisher f60f8eb4bd update Windows CMakeLists to support Manipulator 2023-10-11 17:16:40 +11:00
Nick Fisher 32bff81f53 re-implement pixel buffer on Windows with compile-time switch 2023-10-10 20:08:50 +11:00
Nick Fisher 8c82edd3d2 add Cmake/preprocessor define to switch between ANGLE/OpenGL on Windows 2023-10-10 19:26:31 +11:00
Nick Fisher e28fb8223a remove now unused assets folder from pubspec 2023-10-10 18:10:31 +11:00
Nick Fisher 135465755d add missing setPostProcessing definitions 2023-10-10 18:10:14 +11:00
Nick Fisher d45c211ad8 allow asset:// URIs on Windows 2023-10-10 18:10:02 +11:00
Nick Fisher dd922a5eaa merge 2023-10-03 17:22:48 +11:00
Nick Fisher e4aee35a25 update gitattributes 2023-10-03 17:22:29 +11:00
Nick Fisher bdd3afedd6 update README 2023-10-03 17:21:24 +11:00
Nick Fisher 9e903bc4f6 update generated bindings 2023-10-03 17:21:07 +11:00
Nick Fisher e86ae3be5d add load_gltf_ffi 2023-10-03 17:20:52 +11:00
Nick Fisher 033c34c0d8 add check for broken loadGltf on Windows and add some documentation 2023-10-03 17:20:34 +11:00
Nick Fisher 86a33df584 windows logging 2023-10-03 17:19:56 +11:00
Nick Fisher 3d074f4563 check for glTF load errors and remove assets correctly 2023-10-03 17:19:43 +11:00
Nick Fisher 0c9387a9d6 example project updates 2023-10-03 17:18:54 +11:00
Nick Fisher 6ccae1121a example project updates 2023-10-03 17:18:41 +11:00
Nick Fisher 911abc3885 example project updates 2023-10-03 17:18:27 +11:00
Nick Fisher e37adb6036 remove old Android MainActivity.kt 2023-10-03 17:18:12 +11:00
Nick Fisher 89ac0ff626 build gltfio libs with GLTFIO_USE_FILESYSTEM disabled 2023-10-03 17:17:40 +11:00
Nick Fisher f615ea9668 clean up windows CMakeLists 2023-10-03 17:03:59 +11:00
Nick Fisher 31fa63a3ad documentation on FilamentControllerFFI 2023-10-03 15:38:07 +11:00
Nick Fisher 39634946f5 cleanup example project assets 2023-10-03 15:28:09 +11:00
Nick Fisher 2982cf0423 update README 2023-10-03 15:26:10 +11:00
Nick Fisher a6e7a71998 remove logging 2023-10-03 13:27:42 +11:00
Nick Fisher 4492a9fa8f fix ResourceBuffer going out of scope before texture callbacks 2023-10-03 12:46:14 +11:00
Nick Fisher 313baef727 merge in Windows support 2023-09-30 16:54:20 +10:00
Nick Fisher d3aedecdd0 hacks for D3D interop - working 2023-09-30 01:02:16 +10:00
Nick Fisher a89a2a59e9 specify Release/Debug libs in Windows CMakeLists.txt 2023-09-30 01:00:49 +10:00
Nick Fisher 1114188024 update debug libs 2023-09-29 23:58:27 +10:00
Nick Fisher cfa8e8edb4 first (rough) working implementation of Filament-GLES-D3D-ANGLE 2023-09-29 01:11:07 +10:00
Nick Fisher afd761e396 upgraded windows runner CMakeLists.txt for new Flutter version 2023-09-28 10:48:28 +10:00
Nick Fisher fb2e3d15e5 remove explicit iterator debug level on Windows 2023-09-28 10:47:59 +10:00
Nick Fisher 7e2f39c611 current working version for pixel buffer on Windows (may need to comment out lifecycle checks in FilamentWidget) 2023-09-28 10:47:28 +10: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 d502450f9e add release uberarchive lib on Windows 2023-09-28 10:45:01 +10:00
Nick Fisher d75853daea add Debug/Release libs for windows 2023-09-27 17:11:08 +10:00
Nick Fisher 074f9e05f2 merge 2023-09-27 16:23:46 +10:00
Nick Fisher 600da7d5b2 add EGL/GLES Windows libs 2023-09-27 16:11:21 +10: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 77eb42ce30 add thread pool for some methods 2023-09-26 13:00:28 +10:00
Nick Fisher 86f7821014 first pass D3D textures 2023-09-26 11:38:44 +10:00
Nick Fisher 3bccce91bf event channel handlers 2023-09-25 23:55:28 +10:00
Nick Fisher db5edfa8b9 flip texture on Windows 2023-09-25 23:53:56 +10:00
Nick Fisher 744fedb8d9 windows working (SLOW) with pixel buffer copy 2023-09-25 21:53:42 +10:00
Nick Fisher d93b3f6aa8 windows working (SLOW) with pixel buffer copy 2023-09-25 21:52:28 +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 e1edb6299a add setBloom method 2023-08-24 09:36:30 +08:00
Nick Fisher 482666da31 expose setToneMapping method 2023-08-24 09:29:16 +08:00
Nick Fisher 7687e54a0d fix animation looping bug 2023-08-24 00:57:33 +08:00
Nick Fisher 03dd2cf6ac fix int64->int32 conversion bug for morph indices 2023-08-23 15:38:12 +08:00
Nick Fisher 568f2af55b add morphs to example cube asset 2023-08-23 15:37:46 +08:00
Nick Fisher 730a5e530e implement missing method handlers on Linux 2023-08-21 05:13:56 +08:00
Nick Fisher d08b0f2488 Linux fixes for v1.41.0 2023-08-21 02:03:18 +08:00
Nick Fisher 9aa674a23c Merge branch 'master' of github.com:nmfisher/polyvox_filament 2023-08-20 23:33:05 +08:00
Nick Fisher 1b922abedf Merge branch 'master' of github.com:nmfisher/polyvox_filament 2023-08-20 23:24:09 +08:00
Nick Fisher b94764ce12 reinstate old method channel handlers on Linux 2023-08-20 23:24:00 +08:00
Nick Fisher 707e72777b remove superfluous logging 2023-07-18 11:32:52 +08:00
Nick Fisher 42557401fe reinstate desktop gesture recognizer 2023-07-18 11:32:33 +08:00
Nick Fisher 85c3e03cf0 cleanup 2023-07-18 11:32:15 +08:00
Nick Fisher 803bc6b658 cleanup 2023-07-18 11:31:39 +08:00
Nick Fisher 1a09aa97c5 cleanup 2023-07-18 11:31:24 +08:00