#import <FlutterSurface.h>
Instance Methods | |
(FlutterMetalTexture) | - asFlutterMetalTexture |
(nonnull instancetype) | - initWithSize:device: |
Class Methods | |
(nullable FlutterSurface *) | + fromFlutterMetalTexture: |
Properties | |
IOSurfaceRef | ioSurface |
CGSize | size |
int64_t | textureId |
BOOL | isInUse |
BOOL | isInUseOverride |
Opaque surface type. Can be represented as FlutterMetalTexture to cross the embedder API boundary.
Definition at line 16 of file FlutterSurface.h.
- (FlutterMetalTexture) asFlutterMetalTexture |
Definition at line 59 of file FlutterSurface.mm.
References _texture.
Referenced by flutter::FlutterCompositor::CreateBackingStore(), and flutter::testing::TEST().
+ (nullable FlutterSurface*) fromFlutterMetalTexture: | (nonnull const FlutterMetalTexture *) | texture |
Referenced by flutter::testing::TEST().
- (nonnull instancetype) initWithSize: | (CGSize) | size | |
device: | (nonnull id< MTLDevice >) | device | |
Provided by category FlutterSurface(Private).
|
readnonatomicassign |
Provided by category FlutterSurface(Private).
Definition at line 32 of file FlutterSurface.h.
|
readnonatomicassign |
Provided by category FlutterSurface(Private).
Definition at line 36 of file FlutterSurface.h.
Referenced by FlutterBackBufferCache::removeSurfaceForSize:.
|
readwritenonatomicassign |
Provided by category FlutterSurface(Testing).
Definition at line 41 of file FlutterSurface.h.
|
readnonatomicassign |
Provided by category FlutterSurface(Private).
Definition at line 33 of file FlutterSurface.h.
|
readnonatomicassign |
Provided by category FlutterSurface(Private).
Definition at line 34 of file FlutterSurface.h.