5#ifndef FLUTTER_IMPELLER_TOOLKIT_ANDROID_CHOREOGRAPHER_H_
6#define FLUTTER_IMPELLER_TOOLKIT_ANDROID_CHOREOGRAPHER_H_
77 AChoreographer* instance_ =
nullptr;
This class describes access to the choreographer instance for the current thread. Choreographers are ...
std::chrono::time_point< FrameClock > FrameTimePoint
std::function< void(FrameTimePoint)> FrameCallback
bool PostFrameCallback(FrameCallback callback) const
Posts a frame callback. The time that the frame is being rendered will be available in the callback a...
std::chrono::steady_clock FrameClock
Choreographer(const Choreographer &)=delete
Choreographer & operator=(const Choreographer &)=delete
static bool IsAvailableOnPlatform()
static Choreographer & GetInstance()
Create or get the thread local instance of a choreographer. A message loop will be setup on the calli...
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback
Dart_NativeFunction function