GpuSurfaceTexture(FlutterDesktopGpuSurfaceType surface_type, ObtainDescriptorCallback obtain_descriptor_callback)
FlutterDesktopGpuSurfaceType surface_type() const
std::function< const FlutterDesktopGpuSurfaceDescriptor *(size_t width, size_t height)> ObtainDescriptorCallback
const FlutterDesktopGpuSurfaceDescriptor * ObtainDescriptor(size_t width, size_t height) const
const FlutterDesktopPixelBuffer * CopyPixelBuffer(size_t width, size_t height) const
std::function< const FlutterDesktopPixelBuffer *(size_t width, size_t height)> CopyBufferCallback
PixelBufferTexture(CopyBufferCallback copy_buffer_callback)
virtual bool UnregisterTexture(int64_t texture_id)=0
virtual ~TextureRegistrar()=default
virtual void UnregisterTexture(int64_t texture_id, std::function< void()> callback)=0
virtual bool MarkTextureFrameAvailable(int64_t texture_id)=0
virtual int64_t RegisterTexture(TextureVariant *texture)=0
FlutterDesktopGpuSurfaceType