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