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