Flutter Engine
The Flutter Engine
|
#include <RefCntedCallback.h>
Public Types | |
using | Context = void * |
using | Callback = void(*)(Context) |
using | ResultCallback = void(*)(Context, CallbackResult) |
Public Member Functions | |
~RefCntedCallback () | |
Context | context () const |
void | setFailureResult () |
Public Member Functions inherited from SkNVRefCnt< RefCntedCallback > | |
SkNVRefCnt () | |
~SkNVRefCnt () | |
bool | unique () const |
void | ref () const |
void | unref () const |
void | deref () const |
bool | refCntGreaterThan (int32_t threadIsolatedTestCnt) const |
Static Public Member Functions | |
static sk_sp< RefCntedCallback > | Make (Callback proc, Context ctx) |
static sk_sp< RefCntedCallback > | Make (ResultCallback proc, Context ctx) |
Ref-counted object that calls a callback from its destructor.
Definition at line 18 of file RefCntedCallback.h.
using skgpu::RefCntedCallback::Callback = void (*)(Context) |
Definition at line 21 of file RefCntedCallback.h.
using skgpu::RefCntedCallback::Context = void* |
Definition at line 20 of file RefCntedCallback.h.
using skgpu::RefCntedCallback::ResultCallback = void (*)(Context, CallbackResult) |
Definition at line 22 of file RefCntedCallback.h.
|
inline |
Definition at line 38 of file RefCntedCallback.h.
|
inline |
Definition at line 48 of file RefCntedCallback.h.
|
inlinestatic |
Definition at line 24 of file RefCntedCallback.h.
|
inlinestatic |
Definition at line 31 of file RefCntedCallback.h.
|
inline |
Definition at line 50 of file RefCntedCallback.h.