6 #import "flutter/fml/logging.h"
11 std::atomic_bool _inResize;
17 - (void)beginResizeForSize:(CGSize)size notify:(nonnull dispatch_block_t)notify {
26 CFAbsoluteTime start = CFAbsoluteTimeGetCurrent();
31 if (CFAbsoluteTimeGetCurrent() - start > 1.0) {
32 FML_LOG(ERROR) <<
"Resize timed out.";
40 - (void)performCommitForSize:(CGSize)size
41 notify:(nonnull dispatch_block_t)notify
42 delay:(NSTimeInterval)delay {
48 _didReceiveFrame = YES;
void performBlock:afterDelay:(void(^ block)(void),[afterDelay] NSTimeInterval delay)
void performBlock:(void(^ block)(void))
void pollFlutterMessagesOnce()