Definition at line 84 of file FlutterMetalLayer.mm.
◆ addPresentedHandler:
- (void) addPresentedHandler: |
|
(nonnull MTLDrawablePresentedHandler) |
block |
|
|
implementation |
Definition at line 88 of file FlutterMetalLayer.mm.
140 :(nonnull MTLDrawablePresentedHandler)block {
141 FML_LOG(WARNING) <<
"FlutterMetalLayer drawable does not implement addPresentedHandler:";
142}
#define FML_LOG(severity)
◆ dealloc
Definition at line 88 of file FlutterMetalLayer.mm.
134 {
136 [_layer returnTexture:self->_texture];
137 }
138}
◆ drawableID
- (NSUInteger) drawableID |
|
|
|
|
implementation |
◆ flutterPrepareForPresent:
- (void) flutterPrepareForPresent: |
|
(nonnull id<MTLCommandBuffer>) |
commandBuffer |
|
|
implementation |
Reimplemented from <FlutterMetalDrawable>.
Definition at line 88 of file FlutterMetalLayer.mm.
152 :(nonnull id<MTLCommandBuffer>)commandBuffer {
155 [commandBuffer addCompletedHandler:^(id<MTLCommandBuffer> buffer) {
156 texture.waitingForCompletion = NO;
157 }];
158}
FlutterTexture * _texture
id< MTLTexture > texture()
BOOL waitingForCompletion
◆ initWithTexture:layer:drawableId:
Definition at line 88 of file FlutterMetalLayer.mm.
101 drawableId:(NSUInteger)drawableId {
106 }
107 return self;
108}
__weak FlutterMetalLayer * _layer
◆ layer
◆ present
Definition at line 88 of file FlutterMetalLayer.mm.
129 {
130 [_layer presentTexture:self->_texture];
131 self->_presented = YES;
132}
◆ presentAfterMinimumDuration:
- (void) presentAfterMinimumDuration: |
|
(CFTimeInterval) |
duration |
|
|
implementation |
Definition at line 88 of file FlutterMetalLayer.mm.
149 FML_LOG(WARNING) <<
"FlutterMetalLayer drawable does not implement presentAfterMinimumDuration:";
150}
◆ presentAtTime:
- (void) presentAtTime: |
|
(CFTimeInterval) |
presentationTime |
|
|
implementation |
Definition at line 88 of file FlutterMetalLayer.mm.
144 :(CFTimeInterval)presentationTime {
145 FML_LOG(WARNING) <<
"FlutterMetalLayer drawable does not implement presentAtTime:";
146}
◆ presentedTime
- (CFTimeInterval) presentedTime |
|
|
|
|
implementation |
◆ texture
- (id< MTLTexture >) texture |
|
|
|
|
implementation |
◆ _drawableId
- (NSUInteger) _drawableId |
|
protected |
◆ _layer
◆ _presented
◆ _texture
The documentation for this class was generated from the following file: