5#ifndef FLUTTER_IMPELLER_TOOLKIT_ANDROID_SURFACE_CONTROL_IMPL_H_
6#define FLUTTER_IMPELLER_TOOLKIT_ANDROID_SURFACE_CONTROL_IMPL_H_
25 ASurfaceControl*
GetHandle()
const override;
32 struct UniqueASurfaceControlTraits {
33 static ASurfaceControl* InvalidValue() {
return nullptr; }
35 static bool IsValid(ASurfaceControl* value) {
36 return value != InvalidValue();
39 static void Free(ASurfaceControl* value) {
A wrapper for ASurfaceControl. https://developer.android.com/ndk/reference/group/native-activity#asur...
SurfaceControlImpl(const SurfaceControlImpl &)=delete
ASurfaceControl * GetHandle() const override
bool IsValid() const override
virtual ~SurfaceControlImpl()
bool RemoveFromParent() const override
Remove the surface control from the hierarchy of nodes presented by the system compositor.
SurfaceControlImpl & operator=(const SurfaceControlImpl &)=delete
const ProcTable & GetProcTable()
struct ANativeWindow ANativeWindow