Flutter Engine
The Flutter Engine
|
Public Member Functions | |
void | pushImage (Image image) |
Public Member Functions inherited from io.flutter.view.TextureRegistry.TextureEntry | |
long | id () |
void | release () |
Definition at line 110 of file TextureRegistry.java.
void io.flutter.view.TextureRegistry.ImageTextureEntry.pushImage | ( | Image | image | ) |
Next paint will update texture to use the contents of image.
NOTE: Caller should not call Image.close() on the pushed image.
NOTE: In the case that multiple calls to PushFrame occur before the next paint only the last frame pushed will be used (dropping the missed frames).
Implemented in io.flutter.embedding.engine.renderer.FlutterRenderer.ImageTextureRegistryEntry, and io.flutter.plugin.platform.ImageReaderPlatformViewRenderTargetTest.TestImageTextureEntry.