Flutter Engine
The Flutter Engine
|
Public Member Functions | |
Image | acquireLatestImage () |
Definition at line 138 of file TextureRegistry.java.
Image io.flutter.view.TextureRegistry.ImageConsumer.acquireLatestImage | ( | ) |
Retrieve the last Image produced. Drops all previously produced images.
NOTE: Caller must call Image.close() on returned image.
Implemented in io.flutter.embedding.engine.renderer.FlutterRenderer.ImageReaderSurfaceProducer, and io.flutter.embedding.engine.renderer.FlutterRenderer.ImageTextureRegistryEntry.