#include <idle_waiter.h>
Public Member Functions | |
virtual | ~IdleWaiter ()=default |
virtual void | WaitIdle () const =0 |
Abstraction over waiting for the GPU to be idle.
This is important for platforms like Vulkan where we need to make sure we aren't deleting resources while the GPU is using them.
Definition at line 14 of file idle_waiter.h.
|
virtualdefault |
|
pure virtual |
Wait for the GPU tasks to finish. This is a noop on some platforms, it's important for Vulkan.
Implemented in impeller::IdleWaiterVK.