Flutter Engine
The Flutter Engine
|
Public Member Functions | |
SkThreadPool (int threads, bool allowBorrowing) | |
~SkThreadPool () override | |
void | add (std::function< void(void)> work) override |
void | borrow () override |
Public Member Functions inherited from SkExecutor | |
virtual | ~SkExecutor () |
virtual void | add (std::function< void(void)>)=0 |
virtual void | borrow () |
Additional Inherited Members | |
Static Public Member Functions inherited from SkExecutor | |
static std::unique_ptr< SkExecutor > | MakeFIFOThreadPool (int threads=0, bool allowBorrowing=true) |
static std::unique_ptr< SkExecutor > | MakeLIFOThreadPool (int threads=0, bool allowBorrowing=true) |
static SkExecutor & | GetDefault () |
static void | SetDefault (SkExecutor *) |
Protected Member Functions inherited from SkExecutor | |
SkExecutor ()=default | |
SkExecutor (const SkExecutor &)=delete | |
SkExecutor & | operator= (const SkExecutor &)=delete |
Definition at line 75 of file SkExecutor.cpp.
|
inlineexplicit |
Definition at line 77 of file SkExecutor.cpp.
|
inlineoverride |
Definition at line 83 of file SkExecutor.cpp.
|
inlineoverridevirtual |
Implements SkExecutor.
Definition at line 94 of file SkExecutor.cpp.
|
inlineoverridevirtual |
Reimplemented from SkExecutor.
Definition at line 104 of file SkExecutor.cpp.