#187886 introduced an integration test for external textures on windows. It was pointed out that it was unfortunate we had to drop down to the C API to implement everything.
We should have a C++ way to do this. Right now that's not possible because FlutterEngine::GetRegistrarForPlugin returns a C reference and the way the "texture registry" should be accessed is from the "plugin registrar".
Loic suggested adding a getter to the FlutterEngine directly, but this would deviate from the pattern on other platforms.
#187886 introduced an integration test for external textures on windows. It was pointed out that it was unfortunate we had to drop down to the C API to implement everything.
We should have a C++ way to do this. Right now that's not possible because
FlutterEngine::GetRegistrarForPluginreturns a C reference and the way the "texture registry" should be accessed is from the "plugin registrar".Loic suggested adding a getter to the FlutterEngine directly, but this would deviate from the pattern on other platforms.