virtual std::shared_ptr< const IdleWaiter > GetIdleWaiter() const
virtual bool AddTrackingFence(const std::shared_ptr< Texture > &texture) const
virtual bool SubmitOnscreen(std::shared_ptr< CommandBuffer > cmd_buffer)
Submit the command buffer that renders to the onscreen surface.
virtual bool UpdateOffscreenLayerPixelFormat(PixelFormat format)
Context(const Flags &flags)
virtual bool FlushCommandBuffers()
Flush all pending command buffers.
virtual std::shared_ptr< CommandQueue > GetCommandQueue() const =0
Return the graphics queue for submitting command buffers.
virtual ~Context()
Destroys an Impeller context.
virtual void ResetThreadLocalState() const
virtual bool EnqueueCommandBuffer(std::shared_ptr< CommandBuffer > command_buffer)
Enqueue command_buffer for submission by the end of the frame.
ImpellerContextFuture(std::future< std::shared_ptr< impeller::Context >> context)
std::shared_ptr< impeller::Context > GetContext()