HomeSort by relevance Sort by last modified time
    Searched refs:SkTaskGroup (Results 1 - 18 of 18) sorted by null

  /external/skia/src/core/
SkTaskGroup.cpp 9 #include "SkTaskGroup.h"
11 SkTaskGroup::SkTaskGroup(SkExecutor& executor) : fPending(0), fExecutor(executor) {}
13 void SkTaskGroup::add(std::function<void(void)> fn) {
21 void SkTaskGroup::batch(int N, std::function<void(int)> fn) {
32 void SkTaskGroup::wait() {
42 SkTaskGroup::Enabler::Enabler(int threads) {
SkTaskGroup.h 16 class SkTaskGroup : SkNoncopyable {
18 // Tasks added to this SkTaskGroup will run on its executor.
19 explicit SkTaskGroup(SkExecutor& executor = SkExecutor::GetDefault());
20 ~SkTaskGroup() { this->wait(); }
22 // Add a task to this SkTaskGroup.
28 // Block until all Tasks previously add()ed to this SkTaskGroup have run.
29 // You may safely reuse this SkTaskGroup after wait() returns.
SkMultiPictureDraw.cpp 12 #include "SkTaskGroup.h"
86 SkTaskGroup().batch(fThreadSafeDrawData.count(), [&](int i) {
  /external/skia/tests/
PathOpsThreadedCommon.cpp 10 #include "SkTaskGroup.h"
19 SkTaskGroup().batch(fRunnables.count(), [&](int i) {
OnceTest.cpp 9 #include "SkTaskGroup.h"
35 SkTaskGroup().batch(1021, [&](int) {
SkSharedMutexTest.cpp 9 #include "SkTaskGroup.h"
31 SkTaskGroup().batch(8, [&](int threadIndex) {
skia_test.cpp 17 #include "SkTaskGroup.h"
219 SkTaskGroup::Enabler enabled(FLAGS_threads);
220 SkTaskGroup cpuTests;
DataRefTest.cpp 254 #include "SkTaskGroup.h"
285 SkTaskGroup tasks;
SkpSkGrTest.cpp 24 #include "SkTaskGroup.h"
167 SkTaskGroup().batch(fRunnables.count(), [&](int i) {
  /external/skia/bench/
SkGlyphCacheBench.cpp 15 #include "SkTaskGroup.h"
98 SkTaskGroup().batch(16, [&](int threadIndex) {
nanobench.cpp 45 #include "SkTaskGroup.h"
    [all...]
  /external/skia/tools/
monobench.cpp 12 #include "SkTaskGroup.h"
30 SkTaskGroup::Enabler enabled;
  /external/skia/dm/
DM.cpp 37 #include "SkTaskGroup.h"
    [all...]
  /external/skia/samplecode/
SamplePathFuzz.cpp 618 #include "SkTaskGroup.h"
622 SkTaskGroup().batch(100, [&](int i) {
SamplePathText.cpp 15 #include "SkTaskGroup.h"
213 SkTaskGroup fBackgroundAnimationTask;
SampleApp.cpp 759 #include "SkTaskGroup.h"
874 static SkTaskGroup::Enabler enabled(-1);
    [all...]
  /external/skia/src/codec/
SkRawCodec.cpp 20 #include "SkTaskGroup.h"
104 SkTaskGroup taskGroup;
138 // FIXME: Need to get the real amount of available threads used in the SkTaskGroup.
  /external/skia/tools/viewer/
Viewer.cpp 34 #include "SkTaskGroup.h"
258 static SkTaskGroup::Enabler kTaskGroupEnabler;
    [all...]

Completed in 1236 milliseconds