Accessed exclusively by the GPU owner. New work cannot extend an executing batch. More...
#include "donner/gpu/browser/BrowserGpuTaskQueue.h"
Public Member Functions | |
| void | enqueue (BrowserGpuTask &task) |
| Append a live, currently unqueued task. | |
| std::size_t | executeBatch () |
| Execute the current batch in FIFO order, returning its size. Reentrant work stays queued. | |
| bool | empty () const |
| Whether every queued callback has been handed off for execution. | |
Accessed exclusively by the GPU owner. New work cannot extend an executing batch.
|
inline |
Append a live, currently unqueued task.
| task | Borrowed until its callback runs. |