#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterVSyncWaiter.h"
#include <optional>
#include <vector>
#include "flutter/fml/logging.h"
#import "flutter/shell/platform/darwin/common/InternalFlutterSwiftCommon/InternalFlutterSwiftCommon.h"
#import "flutter/shell/platform/darwin/macos/InternalFlutterSwift/InternalFlutterSwift.h"
#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterDisplayLink.h"
#include <OSLog/OSLog.h>
Go to the source code of this file.
◆ TRACE_VSYNC
#define TRACE_VSYNC |
( |
|
event_type, |
|
|
|
baton |
|
) |
| |
Value: do { \
os_log_t log = os_log_create("FlutterVSync", "PointsOfInterest"); \
os_signpost_event_emit(log, OS_SIGNPOST_ID_EXCLUSIVE, event_type, "baton %lx", baton); \
} while (0)
Definition at line 23 of file FlutterVSyncWaiter.mm.
◆ VSYNC_TRACING_ENABLED
#define VSYNC_TRACING_ENABLED 1 |
◆ _block
void(^ _block) (CFTimeInterval, CFTimeInterval, uintptr_t) |
( |
CFTimeInterval |
, |
|
|
CFTimeInterval |
, |
|
|
uintptr_t |
|
|
) |
| |
◆ _displayLink
◆ _lastTargetTimestamp
CFTimeInterval _lastTargetTimestamp |
◆ _warmUpFrame
◆ kTimerLatencyCompensation
const CFTimeInterval kTimerLatencyCompensation = 0.001 |
|
static |