How a thread reaches the browser GPU owner: whether its calls cross threads at all, and a synchronous run of one owner callback. More...
#include "donner/gpu/browser/BrowserDeferredCalls.h"
Public Member Functions | |
| virtual bool | crossesThreads () const =0 |
| Whether a call from the calling thread must cross to the owner. False without a registered owner and on the owner itself, where calls run at once. | |
| virtual void | run (void(*callback)(void *), void *context, uint32_t kind)=0 |
Runs callback on the owner as one owner callback and returns once it has finished. | |
How a thread reaches the browser GPU owner: whether its calls cross threads at all, and a synchronous run of one owner callback.
|
pure virtual |
Runs callback on the owner as one owner callback and returns once it has finished.
| callback | Runs context's work. |
| context | Borrowed until return. |
| kind | Diagnostic category of the round trip, as the owner counts it. |