5 #ifndef FLUTTER_IMPELLER_TOOLKIT_ANDROID_SURFACE_CONTROL_IMPL_H_
6 #define FLUTTER_IMPELLER_TOOLKIT_ANDROID_SURFACE_CONTROL_IMPL_H_
8 #include "flutter/fml/unique_object.h"
25 ASurfaceControl*
GetHandle()
const override;
32 struct UniqueASurfaceControlTraits {
33 static ASurfaceControl* InvalidValue() {
return nullptr; }
36 return value != InvalidValue();
39 static void Free(ASurfaceControl*
value) {
44 fml::UniqueObject<ASurfaceControl*, UniqueASurfaceControlTraits> control_;
A wrapper for ASurfaceControl. https://developer.android.com/ndk/reference/group/native-activity#asur...
SurfaceControlImpl & operator=(const SurfaceControlImpl &)=delete
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.
const ProcTable & GetProcTable()