Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
io.flutter.view.TextureRegistry.ImageTextureEntry Interface Reference
Inheritance diagram for io.flutter.view.TextureRegistry.ImageTextureEntry:
io.flutter.view.TextureRegistry.TextureEntry io.flutter.embedding.engine.renderer.FlutterRenderer.ImageTextureRegistryEntry io.flutter.plugin.platform.ImageReaderPlatformViewRenderTargetTest.TestImageTextureEntry

Public Member Functions

void pushImage (Image image)
 
- Public Member Functions inherited from io.flutter.view.TextureRegistry.TextureEntry
long id ()
 
void release ()
 

Detailed Description

Definition at line 110 of file TextureRegistry.java.

Member Function Documentation

◆ pushImage()

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.


The documentation for this interface was generated from the following file: