5 #ifndef FLUTTER_IMPELLER_TOOLKIT_ANDROID_NATIVE_WINDOW_H_
6 #define FLUTTER_IMPELLER_TOOLKIT_ANDROID_NATIVE_WINDOW_H_
8 #include "flutter/fml/unique_object.h"
40 struct UniqueANativeWindowTraits {
41 static ANativeWindow* InvalidValue() {
return nullptr; }
44 return value != InvalidValue();
47 static void Free(ANativeWindow*
value) {
52 fml::UniqueObject<ANativeWindow*, UniqueANativeWindowTraits> window_;
A wrapper for ANativeWindow https://developer.android.com/ndk/reference/group/a-native-window.
NativeWindow & operator=(const NativeWindow &)=delete
ANativeWindow * GetHandle() const
NativeWindow(ANativeWindow *window)
NativeWindow(const NativeWindow &)=delete
const ProcTable & GetProcTable()