Flutter Engine
The Flutter Engine
|
Public Member Functions | |
long | id () |
void | release () |
SurfaceTexture | getSurfaceTexture () |
void | setSize (int width, int height) |
int | getWidth () |
int | getHeight () |
Surface | getSurface () |
void | scheduleFrame () |
void | setSize (int width, int height) |
int | getWidth () |
int | getHeight () |
Surface | getSurface () |
void | scheduleFrame () |
long | id () |
void | release () |
SurfaceTexture | getSurfaceTexture () |
Protected Member Functions | |
void | finalize () throws Throwable |
Package Functions | |
SurfaceTextureSurfaceProducer (long id, @NonNull Handler handler, @NonNull FlutterJNI flutterJNI, @NonNull TextureRegistry.SurfaceTextureEntry texture) | |
Uses a android.graphics.SurfaceTexture
to populate the texture registry.
Definition at line 12 of file SurfaceTextureSurfaceProducer.java.
|
inlinepackage |
Definition at line 23 of file SurfaceTextureSurfaceProducer.java.
|
inlineprotected |
Definition at line 35 of file SurfaceTextureSurfaceProducer.java.
|
inline |
Implements io.flutter.view.TextureRegistry.SurfaceProducer.
Definition at line 77 of file SurfaceTextureSurfaceProducer.java.
|
inline |
Get a Surface that can be used to update the texture contents.
NOTE: You should not cache the returned surface but instead invoke getSurface each time you need to draw. The surface may change when the texture is resized or has its format changed.
Implements io.flutter.view.TextureRegistry.SurfaceProducer.
Definition at line 82 of file SurfaceTextureSurfaceProducer.java.
|
inline |
Retrieve the last GL texture produced.
Implements io.flutter.view.TextureRegistry.GLTextureConsumer.
Definition at line 60 of file SurfaceTextureSurfaceProducer.java.
|
inline |
Implements io.flutter.view.TextureRegistry.SurfaceProducer.
Definition at line 72 of file SurfaceTextureSurfaceProducer.java.
|
inline |
Implements io.flutter.view.TextureRegistry.TextureEntry.
Definition at line 48 of file SurfaceTextureSurfaceProducer.java.
|
inline |
Deregisters and releases all resources .
Implements io.flutter.view.TextureRegistry.TextureEntry.
Definition at line 53 of file SurfaceTextureSurfaceProducer.java.
|
inline |
Implements io.flutter.view.TextureRegistry.SurfaceProducer.
Definition at line 90 of file SurfaceTextureSurfaceProducer.java.
|
inline |
Specify the size of this texture in physical pixels
Implements io.flutter.view.TextureRegistry.SurfaceProducer.
Definition at line 65 of file SurfaceTextureSurfaceProducer.java.