Home
last modified time | relevance | path

Searched refs:SkExecutor (Results 1 – 25 of 38) sorted by relevance

12

/external/skqp/src/core/
DSkExecutor.cpp31 SkExecutor::~SkExecutor() {} in ~SkExecutor()
34 class SkTrivialExecutor final : public SkExecutor {
41 static SkExecutor* gDefaultExecutor = &gTrivial;
43 SkExecutor& SkExecutor::GetDefault() { in GetDefault()
46 void SkExecutor::SetDefault(SkExecutor* executor) { in SetDefault()
64 class SkThreadPool final : public SkExecutor {
134 std::unique_ptr<SkExecutor> SkExecutor::MakeFIFOThreadPool(int threads) { in MakeFIFOThreadPool()
138 std::unique_ptr<SkExecutor> SkExecutor::MakeLIFOThreadPool(int threads) { in MakeLIFOThreadPool()
DSkTaskGroup.h20 explicit SkTaskGroup(SkExecutor& executor = SkExecutor::GetDefault());
40 std::unique_ptr<SkExecutor> fThreadPool;
45 SkExecutor& fExecutor;
DSkTaskGroup.cpp11 SkTaskGroup::SkTaskGroup(SkExecutor& executor) : fPending(0), fExecutor(executor) {} in SkTaskGroup()
48 fThreadPool = SkExecutor::MakeLIFOThreadPool(threads); in Enabler()
49 SkExecutor::SetDefault(fThreadPool.get()); in Enabler()
/external/skia/src/core/
DSkExecutor.cpp30 SkExecutor::~SkExecutor() {} in ~SkExecutor()
33 class SkTrivialExecutor final : public SkExecutor {
39 static SkExecutor* gDefaultExecutor = nullptr;
45 SkExecutor& SkExecutor::GetDefault() { in GetDefault()
51 void SkExecutor::SetDefault(SkExecutor* executor) { in SetDefault()
73 class SkThreadPool final : public SkExecutor {
143 std::unique_ptr<SkExecutor> SkExecutor::MakeFIFOThreadPool(int threads) { in MakeFIFOThreadPool()
147 std::unique_ptr<SkExecutor> SkExecutor::MakeLIFOThreadPool(int threads) { in MakeLIFOThreadPool()
DSkTaskGroup.h20 explicit SkTaskGroup(SkExecutor& executor = SkExecutor::GetDefault());
40 std::unique_ptr<SkExecutor> fThreadPool;
45 SkExecutor& fExecutor;
DSkTaskGroup.cpp11 SkTaskGroup::SkTaskGroup(SkExecutor& executor) : fPending(0), fExecutor(executor) {} in SkTaskGroup()
48 fThreadPool = SkExecutor::MakeLIFOThreadPool(threads); in Enabler()
49 SkExecutor::SetDefault(fThreadPool.get()); in Enabler()
/external/skqp/include/core/
DSkExecutor.h14 class SkExecutor {
16 virtual ~SkExecutor();
19 static std::unique_ptr<SkExecutor> MakeFIFOThreadPool(int threads = 0);
20 static std::unique_ptr<SkExecutor> MakeLIFOThreadPool(int threads = 0);
23 static SkExecutor& GetDefault();
24 static void SetDefault(SkExecutor*); // Does not take ownership. Not thread safe.
/external/skia/include/core/
DSkExecutor.h15 class SK_API SkExecutor {
17 virtual ~SkExecutor();
20 static std::unique_ptr<SkExecutor> MakeFIFOThreadPool(int threads = 0);
21 static std::unique_ptr<SkExecutor> MakeLIFOThreadPool(int threads = 0);
24 static SkExecutor& GetDefault();
25 static void SetDefault(SkExecutor*); // Does not take ownership. Not thread safe.
/external/skqp/src/pdf/
DSkPDFDocumentPriv.h22 class SkExecutor; variable
92 SkExecutor* executor() const { return fExecutor; } in executor()
129 SkExecutor* fExecutor = nullptr;
/external/skqp/include/gpu/
DGrContextOptions.h19 class SkExecutor; variable
73 SkExecutor* fExecutor = nullptr;
/external/skia/src/pdf/
DSkPDFDocumentPriv.h22 class SkExecutor; variable
103 SkExecutor* executor() const { return fExecutor; } in executor()
146 SkExecutor* fExecutor = nullptr;
/external/skia/include/gpu/
DGrContextOptions.h19 class SkExecutor; variable
90 SkExecutor* fExecutor = nullptr;
/external/skqp/include/docs/
DSkPDFDocument.h12 class SkExecutor; variable
161 SkExecutor* fExecutor = nullptr;
/external/skia/tools/flags/
DCommonFlagsGpu.cpp86 static std::unique_ptr<SkExecutor> gGpuExecutor = (0 != FLAGS_gpuThreads) in SetCtxOptionsFromCommonFlags()
87 ? SkExecutor::MakeFIFOThreadPool(FLAGS_gpuThreads) in SetCtxOptionsFromCommonFlags()
/external/skia/include/docs/
DSkPDFDocument.h20 class SkExecutor; variable
204 SkExecutor* fExecutor = nullptr;
/external/skqp/tools/flags/
DSkCommonFlags.cpp179 static std::unique_ptr<SkExecutor> gGpuExecutor = (0 != FLAGS_gpuThreads) in SetCtxOptionsFromCommonFlags()
180 ? SkExecutor::MakeFIFOThreadPool(FLAGS_gpuThreads) : nullptr; in SetCtxOptionsFromCommonFlags()
/external/skia/tests/
DGrContextFactoryTest.cpp88 std::unique_ptr<SkExecutor> threadPool = SkExecutor::MakeFIFOThreadPool(1); in DEF_GPUTEST()
DPDFDocumentTest.cpp250 std::unique_ptr<SkExecutor> executor = SkExecutor::MakeFIFOThreadPool(); in DEF_TEST()
DSkScalerCacheTest.cpp57 auto executor = SkExecutor::MakeFIFOThreadPool(kThreadCount); in DEF_TEST()
/external/skqp/tests/
DGrContextFactoryTest.cpp124 std::unique_ptr<SkExecutor> threadPool = SkExecutor::MakeFIFOThreadPool(1); in DEF_GPUTEST()
DPDFDocumentTest.cpp251 std::unique_ptr<SkExecutor> executor = SkExecutor::MakeFIFOThreadPool(); in DEF_TEST()
/external/skqp/bench/
DPDFBench.cpp356 std::unique_ptr<SkExecutor> fExecutor;
360 fExecutor = fFast ? SkExecutor::MakeFIFOThreadPool() : nullptr; in onDelayedSetup()
/external/skia/bench/
DPDFBench.cpp415 std::unique_ptr<SkExecutor> fExecutor;
419 fExecutor = fFast ? SkExecutor::MakeFIFOThreadPool() : nullptr; in onDelayedSetup()
/external/skia/dm/
DDMSrcSink.h416 std::unique_ptr<SkExecutor> fExecutor;
474 std::unique_ptr<SkExecutor> fRecordingThreadPool;
475 std::unique_ptr<SkExecutor> fGPUThread;
/external/skqp/tools/skqp/
Djitter_gms.cpp113 auto executor = SkExecutor::MakeFIFOThreadPool(); in main()

12