Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
SkTaskGroup::Enabler Struct Reference

#include <SkTaskGroup.h>

Public Member Functions

 Enabler (int threads=-1)
 

Public Attributes

std::unique_ptr< SkExecutorfThreadPool
 

Detailed Description

Definition at line 41 of file SkTaskGroup.h.

Constructor & Destructor Documentation

◆ Enabler()

SkTaskGroup::Enabler::Enabler ( int  threads = -1)
explicit

Definition at line 49 of file SkTaskGroup.cpp.

49 {
50 if (threads) {
53 }
54}
static void SetDefault(SkExecutor *)
Definition: SkExecutor.cpp:57
static std::unique_ptr< SkExecutor > MakeLIFOThreadPool(int threads=0, bool allowBorrowing=true)
Definition: SkExecutor.cpp:151
std::unique_ptr< SkExecutor > fThreadPool
Definition: SkTaskGroup.h:43

Member Data Documentation

◆ fThreadPool

std::unique_ptr<SkExecutor> SkTaskGroup::Enabler::fThreadPool

Definition at line 43 of file SkTaskGroup.h.


The documentation for this struct was generated from the following files: