Merge branch 'feature/instancing' of github.com:nmfisher/polyvox_filament into feature/instancing

This commit is contained in:
Nick Fisher
2024-03-08 18:02:14 +08:00
17 changed files with 115 additions and 191 deletions

View File

@@ -298,6 +298,8 @@ class FilamentControllerFFI extends FilamentController {
throw Exception("Failed to get resource loader");
}
var renderingSurface = await _createRenderingSurface();
if (Platform.isWindows && requiresTextureWidget) {
_driver = Pointer<Void>.fromAddress(
await _channel.invokeMethod("getDriverPlatform"));
@@ -310,7 +312,6 @@ class FilamentControllerFFI extends FilamentController {
var renderCallbackOwner =
Pointer<Void>.fromAddress(renderCallbackResult[1]);
var renderingSurface = await _createRenderingSurface();
print("Got rendering surface");

View File

@@ -305,5 +305,5 @@ class TransparencyPainter extends CustomPainter {
}
@override
bool shouldRepaint(covariant CustomPainter oldDelegate) => true;
bool shouldRepaint(covariant CustomPainter oldDelegate) => false;
}