5#ifndef FLUTTER_IMPELLER_TOOLKIT_ANDROID_SURFACE_CONTROL_H_
6#define FLUTTER_IMPELLER_TOOLKIT_ANDROID_SURFACE_CONTROL_H_
8#include "flutter/fml/unique_object.h"
41 const char* debug_name =
nullptr);
69 struct UniqueASurfaceControlTraits {
70 static ASurfaceControl* InvalidValue() {
return nullptr; }
72 static bool IsValid(ASurfaceControl* value) {
73 return value != InvalidValue();
76 static void Free(ASurfaceControl* value) {
A wrapper for ASurfaceControl. https://developer.android.com/ndk/reference/group/native-activity#asur...
SurfaceControl(const SurfaceControl &)=delete
~SurfaceControl()
Removes the surface control from the presentation hierarchy managed by the system compositor and rele...
static bool IsAvailableOnPlatform()
bool RemoveFromParent() const
Remove the surface control from the hierarchy of nodes presented by the system compositor.
SurfaceControl & operator=(const SurfaceControl &)=delete
ASurfaceControl * GetHandle() const
const ProcTable & GetProcTable()
struct ANativeWindow ANativeWindow