#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterVSyncWaiter.h"
#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterDisplayLink.h"
#include "flutter/fml/logging.h"
#include <optional>
#include <vector>
#include <OSLog/OSLog.h>
Go to the source code of this file.
Macros | |
#define | VSYNC_TRACING_ENABLED 1 |
#define | TRACE_VSYNC(event_type, baton) |
Variables | |
static const CFTimeInterval | kTimerLatencyCompensation = 0.001 |
FlutterDisplayLink * | _displayLink |
void(^ | _block )(CFTimeInterval, CFTimeInterval, uintptr_t) |
NSRunLoop * | _runLoop |
CFTimeInterval | _lastTargetTimestamp |
BOOL | _warmUpFrame |
#define TRACE_VSYNC | ( | event_type, | |
baton | |||
) |
Definition at line 18 of file FlutterVSyncWaiter.mm.
#define VSYNC_TRACING_ENABLED 1 |
Definition at line 10 of file FlutterVSyncWaiter.mm.
void(^ _block) (CFTimeInterval, CFTimeInterval, uintptr_t) |
Referenced by FlutterVSyncWaiter::initWithDisplayLink:block:, and FlutterVSyncWaiter::waitForVSync:.
FlutterDisplayLink* _displayLink |
Definition at line 36 of file FlutterVSyncWaiter.mm.
Referenced by FlutterVSyncWaiter::initWithDisplayLink:block:, and FlutterVSyncWaiter::waitForVSync:.
CFTimeInterval _lastTargetTimestamp |
Definition at line 41 of file FlutterVSyncWaiter.mm.
Referenced by FlutterVSyncWaiter::waitForVSync:.
NSRunLoop* _runLoop |
Definition at line 40 of file FlutterVSyncWaiter.mm.
Referenced by FlutterVSyncWaiter::waitForVSync:.
BOOL _warmUpFrame |
Definition at line 42 of file FlutterVSyncWaiter.mm.
Referenced by FlutterVSyncWaiter::initWithDisplayLink:block:, and FlutterVSyncWaiter::waitForVSync:.
|
static |
Definition at line 34 of file FlutterVSyncWaiter.mm.
Referenced by FlutterVSyncWaiter::waitForVSync:.