OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SkExecutor
(Results
1 - 25
of
28
) sorted by null
1
2
/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
> MakeFIFOThreadPool(int threads = 0);
20
static std::unique_ptr<
SkExecutor
> MakeLIFOThreadPool(int threads = 0);
22
// There is always a default
SkExecutor
available by calling
SkExecutor
::GetDefault().
23
static
SkExecutor
& GetDefault();
24
static void SetDefault(
SkExecutor
*); // Does not take ownership. Not thread safe.
/external/skqp/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
> MakeFIFOThreadPool(int threads = 0);
20
static std::unique_ptr<
SkExecutor
> MakeLIFOThreadPool(int threads = 0);
22
// There is always a default
SkExecutor
available by calling
SkExecutor
::GetDefault().
23
static
SkExecutor
& GetDefault();
24
static void SetDefault(
SkExecutor
*); // Does not take ownership. Not thread safe.
/external/skia/src/core/
SkTaskGroup.h
11
#include "
SkExecutor
.h"
19
explicit SkTaskGroup(
SkExecutor
& executor =
SkExecutor
::GetDefault());
36
// Creates and owns a thread pool, and passes it to
SkExecutor
::SetDefault().
39
std::unique_ptr<
SkExecutor
> fThreadPool;
44
SkExecutor
& fExecutor;
SkExecutor.cpp
8
#include "
SkExecutor
.h"
31
SkExecutor
::~
SkExecutor
() {}
33
// The default default
SkExecutor
is an SkTrivialExecutor, which just runs the work right away.
34
class SkTrivialExecutor final : public
SkExecutor
{
41
static
SkExecutor
* gDefaultExecutor = &gTrivial;
43
SkExecutor
&
SkExecutor
::GetDefault() {
46
void
SkExecutor
::SetDefault(
SkExecutor
* executor)
[
all
...]
SkTaskGroup.cpp
8
#include "
SkExecutor
.h"
11
SkTaskGroup::SkTaskGroup(
SkExecutor
& executor) : fPending(0), fExecutor(executor) {}
38
// This lets SkTaskGroups nest arbitrarily deep on a single
SkExecutor
:
48
fThreadPool =
SkExecutor
::MakeLIFOThreadPool(threads);
49
SkExecutor
::SetDefault(fThreadPool.get());
SkTaskGroup2D.h
50
SkTaskGroup2D(SkWorkKernel2D* kernel, int height,
SkExecutor
* executor, int threadCnt)
94
SkSpinningTaskGroup2D(SkWorkKernel2D* kernel, int h,
SkExecutor
* x, int t)
105
SkFlexibleTaskGroup2D(SkWorkKernel2D* kernel, int h,
SkExecutor
* x, int t)
SkThreadedBMPDevice.h
20
SkExecutor
* executor = nullptr);
170
SkExecutor
* fExecutor = nullptr;
171
std::unique_ptr<
SkExecutor
> fInternalExecutor;
SkThreadedBMPDevice.cpp
46
SkExecutor
* executor)
53
fInternalExecutor =
SkExecutor
::MakeFIFOThreadPool(fThreadCnt);
/external/skqp/src/core/
SkTaskGroup.h
11
#include "
SkExecutor
.h"
19
explicit SkTaskGroup(
SkExecutor
& executor =
SkExecutor
::GetDefault());
36
// Creates and owns a thread pool, and passes it to
SkExecutor
::SetDefault().
39
std::unique_ptr<
SkExecutor
> fThreadPool;
44
SkExecutor
& fExecutor;
SkExecutor.cpp
8
#include "
SkExecutor
.h"
31
SkExecutor
::~
SkExecutor
() {}
33
// The default default
SkExecutor
is an SkTrivialExecutor, which just runs the work right away.
34
class SkTrivialExecutor final : public
SkExecutor
{
41
static
SkExecutor
* gDefaultExecutor = &gTrivial;
43
SkExecutor
&
SkExecutor
::GetDefault() {
46
void
SkExecutor
::SetDefault(
SkExecutor
* executor)
[
all
...]
SkTaskGroup.cpp
8
#include "
SkExecutor
.h"
11
SkTaskGroup::SkTaskGroup(
SkExecutor
& executor) : fPending(0), fExecutor(executor) {}
38
// This lets SkTaskGroups nest arbitrarily deep on a single
SkExecutor
:
48
fThreadPool =
SkExecutor
::MakeLIFOThreadPool(threads);
49
SkExecutor
::SetDefault(fThreadPool.get());
SkTaskGroup2D.h
29
SkTaskGroup2D(Work2D&& work, int height,
SkExecutor
* executor, int threadCnt)
63
SkSpinningTaskGroup2D(Work2D&& w, int h,
SkExecutor
* x, int t)
84
SkFlexibleTaskGroup2D(Work2D&&, int,
SkExecutor
*, int);
SkThreadedBMPDevice.h
20
SkExecutor
* executor = nullptr);
115
SkExecutor
* fExecutor = nullptr;
116
std::unique_ptr<
SkExecutor
> fInternalExecutor;
SkTaskGroup2D.cpp
42
SkFlexibleTaskGroup2D::SkFlexibleTaskGroup2D(Work2D&& w, int h,
SkExecutor
* x, int t)
SkThreadedBMPDevice.cpp
39
SkExecutor
* executor)
46
fInternalExecutor =
SkExecutor
::MakeFIFOThreadPool(fThreadCnt);
/external/skia/include/gpu/
GrContextOptions.h
18
class
SkExecutor
;
68
* to a valid
SkExecutor
instance. Currently, used for software path rendering, but may be used
71
SkExecutor
* fExecutor = nullptr;
/external/skqp/include/gpu/
GrContextOptions.h
18
class
SkExecutor
;
68
* to a valid
SkExecutor
instance. Currently, used for software path rendering, but may be used
71
SkExecutor
* fExecutor = nullptr;
/external/skqp/tools/flags/
SkCommonFlags.cpp
10
#include "
SkExecutor
.h"
156
static std::unique_ptr<
SkExecutor
> gGpuExecutor = (0 != FLAGS_gpuThreads)
157
?
SkExecutor
::MakeFIFOThreadPool(FLAGS_gpuThreads) : nullptr;
/external/skia/tools/flags/
SkCommonFlags.cpp
10
#include "
SkExecutor
.h"
168
static std::unique_ptr<
SkExecutor
> gGpuExecutor = (0 != FLAGS_gpuThreads)
169
?
SkExecutor
::MakeFIFOThreadPool(FLAGS_gpuThreads) : nullptr;
/external/skia/tools/viewer/
Viewer.h
17
#include "
SkExecutor
.h"
106
fExecutor =
SkExecutor
::MakeFIFOThreadPool(fThreadCnt == 0 ? fTileCnt : fThreadCnt);
163
std::unique_ptr<
SkExecutor
> fExecutor;
/external/skqp/tools/viewer/
Viewer.h
17
#include "
SkExecutor
.h"
66
fExecutor =
SkExecutor
::MakeFIFOThreadPool(fThreadCnt == 0 ? fTileCnt : fThreadCnt);
123
std::unique_ptr<
SkExecutor
> fExecutor;
/external/skia/tests/
GrContextFactoryTest.cpp
15
#include "
SkExecutor
.h"
150
std::unique_ptr<
SkExecutor
> threadPool =
SkExecutor
::MakeFIFOThreadPool(1);
/external/skqp/tests/
GrContextFactoryTest.cpp
15
#include "
SkExecutor
.h"
150
std::unique_ptr<
SkExecutor
> threadPool =
SkExecutor
::MakeFIFOThreadPool(1);
/frameworks/base/libs/hwui/renderthread/
CacheManager.cpp
27
#include <
SkExecutor
.h>
85
class CacheManager::SkiaTaskProcessor : public TaskProcessor<bool>, public
SkExecutor
{
/external/skia/dm/
DMSrcSink.h
387
std::unique_ptr<
SkExecutor
> fExecutor;
440
std::unique_ptr<
SkExecutor
> fExecutor;
Completed in 557 milliseconds
1
2