5#ifndef FLUTTER_SHELL_PLATFORM_ANDROID_VSYNC_WAITER_ANDROID_H_
6#define FLUTTER_SHELL_PLATFORM_ANDROID_VSYNC_WAITER_ANDROID_H_
12#include "flutter/fml/macros.h"
13#include "flutter/shell/common/vsync_waiter.h"
17class AndroidChoreographer;
29 void AwaitVSync()
override;
31 static void OnVsyncFromNDK(int64_t frame_nanos,
void*
data);
33 static void OnVsyncFromJava(JNIEnv*
env,
35 jlong frameDelayNanos,
36 jlong refreshPeriodNanos,
39 static void ConsumePendingCallback(std::weak_ptr<VsyncWaiter>* weak_this,
43 static void OnUpdateRefreshRate(JNIEnv*
env,
~VsyncWaiterAndroid() override
static bool Register(JNIEnv *env)
friend class VsyncWaiterAndroid
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot data