| Flutter Impeller |

Public Member Functions | List of all members
impeller::IdleWaiter Class Referenceabstract

`#include <idle_waiter.h>`

Inheritance diagram for impeller::IdleWaiter:

## Public Member Functions
virtual | ~IdleWaiter ()=default
virtual void | WaitIdle () const =0

## Detailed Description

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.

## Constructor & Destructor Documentation

## ◆ ~IdleWaiter()

virtual impeller::IdleWaiter::~IdleWaiter | ( |  | ) |
| virtual default

## Member Function Documentation

## ◆ WaitIdle()

virtual void impeller::IdleWaiter::WaitIdle | ( |  | ) | const
| 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.

The documentation for this class was generated from the following file:

- impeller/core/idle_waiter.h