feat: add onRgba c api on windows
This commit is contained in:
parent
71e77ef3cf
commit
1a164ee5a0
9 changed files with 93 additions and 35 deletions
|
|
@ -24,13 +24,13 @@ class TextureRgbaRendererPlugin : public flutter::Plugin {
|
|||
TextureRgbaRendererPlugin& operator=(const TextureRgbaRendererPlugin&) = delete;
|
||||
|
||||
flutter::TextureRegistrar* texture_registrar;
|
||||
std::unordered_map<int64_t, std::unique_ptr<TextureRgba>> textures_;
|
||||
|
||||
private:
|
||||
// Called when a method is called on this plugin's channel from Dart.
|
||||
void HandleMethodCall(
|
||||
const flutter::MethodCall<flutter::EncodableValue> &method_call,
|
||||
std::unique_ptr<flutter::MethodResult<flutter::EncodableValue>> result);
|
||||
std::unordered_map<int64_t, std::unique_ptr<TextureRgba>> textures_;
|
||||
};
|
||||
|
||||
} // namespace texture_rgba_renderer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue