Commit Graph

65 Commits

Author SHA1 Message Date
Nick Fisher 4377a55747 no need to create WGL context explicitly - defer to Engine 2024-03-07 17:16:48 +11:00
Nick Fisher a872cef436 initialize flutterTextureId to -1 2024-03-07 16:44:56 +11:00
Nick Fisher 59d6b17f63 remove duplicate ANGLE flutterTextureId 2024-03-07 16:44:27 +11:00
Nick Fisher 1fccaf1990 EGL logging 2024-03-07 16:44:03 +11:00
Nick Fisher c34a1b0370 remove duplicate sharedContext 2024-03-07 16:43:29 +11:00
Nick Fisher f0c48d7f0a cleanup EGL/D3D texture rendering 2024-03-07 12:19:01 +11:00
Nick Fisher 8ef166d9b8 move Flutter result checks to OpenGLTextureBuffer 2024-03-06 20:07:52 +11:00
Nick Fisher 6e7e918125 only conditionally add WGL_USE_BACKING_WINDOW 2024-03-06 19:28:38 +11:00
Nick Fisher 150f409ae1 don't mark texture frame available when USE_BACKING_WINDOW is true 2024-03-06 19:28:14 +11:00
Nick Fisher 732a6d0527 reduce default Windows color/depth buffer to 24/16 2024-03-06 19:28:06 +11:00
Nick Fisher 6525dea6c2 namespace changes 2024-03-01 22:47:01 +08:00
Nick Fisher 65db2aa32e rename AssetManager to SceneManager 2024-02-18 21:48:50 +08:00
Nick Fisher 8b9e6a2b3a rename plugin from PolyvoxFilament to FlutterFilament
rename plugin from PolyvoxFilament to FlutterFilament
2023-10-26 14:08:20 +11:00
Nick Fisher b42d31a773 fix window minimization issue on Windows 2023-10-26 12:49:24 +11:00
Nick Fisher 53c908dd0d use short timeout on front-end for resizing on Windows 2023-10-26 12:38:52 +11:00
Nick Fisher a56943fb86 use pixelRatio properly 2023-10-26 11:27:42 +11:00
Nick Fisher 0fdbf0b5be don't hide backing window when resizing 2023-10-26 02:14:55 +11:00
Nick Fisher 2fd6f44785 fixes for window resizing on Windows 2023-10-26 02:10:22 +11:00
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 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 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 d15aa66f78 remove unnecessary bluegl from Windows/ANGLE build 2023-10-22 17:46:09 +11:00
Nick Fisher 2b9ddef5e7 use shared EGLContext for ANGLE on Windows 2023-10-22 17:45:09 +11:00
Nick Fisher 6ab814114e rewrite resize handler for better support on Windows 2023-10-17 00:13:44 +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 450aacf0cc add dummy destroyTexture method on Windows 2023-10-13 12:56:06 +08: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 d45c211ad8 allow asset:// URIs on Windows 2023-10-10 18:10:02 +11:00
Nick Fisher 86a33df584 windows logging 2023-10-03 17:19:56 +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 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 a6506e6346 initial work to re-implement FFI with background thread render loop 2023-09-29 13:54:04 +08:00
Nick Fisher cfa8e8edb4 first (rough) working implementation of Filament-GLES-D3D-ANGLE 2023-09-29 01:11:07 +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