OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:SkExecutor
(Results
1 - 2
of
2
) sorted by null
/external/skia/include/core/
SkExecutor.h
14
class
SkExecutor
{
16
virtual ~
SkExecutor
();
18
// Create a thread pool
SkExecutor
with a fixed thread count, by default the number of cores.
19
static std::unique_ptr<
SkExecutor
> MakeThreadPool(int threads = 0);
21
// There is always a default
SkExecutor
available by calling
SkExecutor
::GetDefault().
22
static
SkExecutor
& GetDefault();
23
static void SetDefault(
SkExecutor
*); // Does not take ownership. Not thread safe.
/external/skia/src/core/
SkExecutor.cpp
8
#include "
SkExecutor
.h"
30
SkExecutor
::~
SkExecutor
() {}
32
// The default default
SkExecutor
is an SkTrivialExecutor, which just runs the work right away.
33
class SkTrivialExecutor final : public
SkExecutor
{
40
static
SkExecutor
* gDefaultExecutor = &gTrivial;
42
SkExecutor
&
SkExecutor
::GetDefault() {
45
void
SkExecutor
::SetDefault(
SkExecutor
* executor)
[
all
...]
Completed in 125 milliseconds