cleanup EGL/D3D texture rendering

This commit is contained in:
Nick Fisher
2024-03-07 12:19:01 +11:00
parent 8ef166d9b8
commit f0c48d7f0a
11 changed files with 81 additions and 50 deletions

View File

@@ -28,7 +28,7 @@ typedef uint32_t GLuint;
namespace flutter_filament {
class FlutterAngleTexture : FlutterTextureBuffer {
class FlutterAngleTexture : public FlutterTextureBuffer {
public:
FlutterAngleTexture(
flutter::PluginRegistrarWindows* pluginRegistrar,
@@ -49,6 +49,7 @@ class FlutterAngleTexture : FlutterTextureBuffer {
GLuint glTextureId = 0;
std::unique_ptr<flutter::TextureVariant> texture;
int64_t flutterTextureId = 0;
private:
flutter::PluginRegistrarWindows* _pluginRegistrar;