Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
io.flutter.plugin.platform.ImageReaderPlatformViewRenderTargetTest.TestImageTextureEntry Class Reference
Inheritance diagram for io.flutter.plugin.platform.ImageReaderPlatformViewRenderTargetTest.TestImageTextureEntry:

Public Member Functions

long id ()
 
void release ()
 
void pushImage (Image image)
 
Image acquireLatestImage ()
 

Detailed Description

Definition at line 33 of file ImageReaderPlatformViewRenderTargetTest.java.

Member Function Documentation

◆ acquireLatestImage()

Image io.flutter.plugin.platform.ImageReaderPlatformViewRenderTargetTest.TestImageTextureEntry.acquireLatestImage ( )
inline

Definition at line 53 of file ImageReaderPlatformViewRenderTargetTest.java.

53 {
54 Image r = this.lastPushedImage;
55 this.lastPushedImage = null;
56 return r;
57 }
CanvasImage Image
Definition dart_ui.cc:55

◆ id()

long io.flutter.plugin.platform.ImageReaderPlatformViewRenderTargetTest.TestImageTextureEntry.id ( )
inline

Definition at line 36 of file ImageReaderPlatformViewRenderTargetTest.java.

36 {
37 return 1;
38 }

◆ pushImage()

void io.flutter.plugin.platform.ImageReaderPlatformViewRenderTargetTest.TestImageTextureEntry.pushImage ( Image  image)
inline

Definition at line 46 of file ImageReaderPlatformViewRenderTargetTest.java.

46 {
47 if (this.lastPushedImage != null) {
48 this.lastPushedImage.close();
49 }
50 this.lastPushedImage = image;
51 }
sk_sp< SkImage > image
Definition examples.cpp:29

◆ release()

void io.flutter.plugin.platform.ImageReaderPlatformViewRenderTargetTest.TestImageTextureEntry.release ( )
inline

Definition at line 40 of file ImageReaderPlatformViewRenderTargetTest.java.

40 {
41 if (this.lastPushedImage != null) {
42 this.lastPushedImage.close();
43 }
44 }

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