Home
last modified time | relevance | path

Searched refs:threadIndex (Results 1 – 25 of 29) sorted by relevance

12

/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_filter_task.cpp71 for (uint32 threadIndex = 0; threadIndex < threadCount; threadIndex++) in Start() local
74 fSrcBuffer [threadIndex] . Reset (allocator->Allocate (srcBufferSize)); in Start()
76 fDstBuffer [threadIndex] . Reset (allocator->Allocate (dstBufferSize)); in Start()
80 DoZeroBytes (fSrcBuffer [threadIndex]->Buffer (), in Start()
81 fSrcBuffer [threadIndex]->LogicalSize ()); in Start()
83 DoZeroBytes (fDstBuffer [threadIndex]->Buffer (), in Start()
84 fDstBuffer [threadIndex]->LogicalSize ()); in Start()
92 void dng_filter_task::Process (uint32 threadIndex, in Process() argument
114 fSrcBuffer [threadIndex]->Buffer ()); in Process()
120 fDstBuffer [threadIndex]->Buffer ()); in Process()
[all …]
Ddng_opcodes.cpp292 virtual void ProcessArea (uint32 threadIndex, in ProcessArea() argument
298 threadIndex, in ProcessArea()
455 for (uint32 threadIndex = 0; threadIndex < threadCount; threadIndex++) in Start() local
458 fBuffer [threadIndex] . Reset (allocator->Allocate (bufferSize)); in Start()
472 virtual void Process (uint32 threadIndex, in Process() argument
481 fBuffer [threadIndex]->Buffer ()); in Process()
490 threadIndex, in Process()
Ddng_misc_opcodes.h186 uint32 threadIndex,
246 uint32 threadIndex,
287 uint32 threadIndex,
328 uint32 threadIndex,
367 uint32 threadIndex,
406 uint32 threadIndex,
Ddng_render.cpp756 virtual void ProcessArea (uint32 threadIndex,
978 for (uint32 threadIndex = 0; threadIndex < threadCount; threadIndex++) in Start() local
981 fTempBuffer [threadIndex] . Reset (allocator->Allocate (tempBufferSize)); in Start()
989 void dng_render_task::ProcessArea (uint32 threadIndex, in ProcessArea() argument
999 real32 *tPtrR = fTempBuffer [threadIndex]->Buffer_real32 (); in ProcessArea()
Ddng_resample.cpp523 virtual void ProcessArea (uint32 threadIndex,
677 for (uint32 threadIndex = 0; threadIndex < threadCount; threadIndex++) in Start() local
680 fTempBuffer [threadIndex] . Reset (allocator->Allocate (tempBufferSize)); in Start()
695 void dng_resample_task::ProcessArea (uint32 threadIndex, in ProcessArea() argument
722 real32 *tPtr = fTempBuffer [threadIndex]->Buffer_real32 (); in ProcessArea()
774 uint16 *tPtr = fTempBuffer [threadIndex]->Buffer_uint16 (); in ProcessArea()
Ddng_filter_task.h109 virtual void ProcessArea (uint32 threadIndex,
148 virtual void Process (uint32 threadIndex,
Ddng_area_task.h148 virtual void Process (uint32 threadIndex,
174 void ProcessOnThread (uint32 threadIndex,
Ddng_bad_pixels.h73 uint32 threadIndex,
277 uint32 threadIndex,
Ddng_opcodes.h389 uint32 threadIndex,
492 uint32 threadIndex,
Ddng_area_task.cpp185 void dng_area_task::ProcessOnThread (uint32 threadIndex, in ProcessOnThread() argument
240 Process (threadIndex, tile4, sniffer); in ProcessOnThread()
Ddng_gain_map.h200 uint32 threadIndex,
Ddng_lens_correction.cpp990 virtual void ProcessArea (uint32 threadIndex,
2300 for (uint32 threadIndex = 0; threadIndex < threadCount; threadIndex++) in Prepare() local
2303 fMaskBuffers [threadIndex] . Reset (allocator.Allocate (bufferSize)); in Prepare()
2314 uint32 threadIndex, in ProcessArea() argument
2324 fMaskBuffers [threadIndex]->Buffer ()); in ProcessArea()
Ddng_lens_correction.h624 uint32 threadIndex,
Ddng_utils.cpp538 virtual void Process (uint32 threadIndex,
/third_party/skia/tests/
DSkSharedMutexTest.cpp31 SkTaskGroup().batch(8, [&](int threadIndex) { in DEF_TEST() argument
32 if (threadIndex % 4 != 0) { in DEF_TEST()
DSkScalerCacheTest.cpp61 auto perThread = [&](int threadIndex) { in DEF_TEST() argument
64 auto local = data.subspan(threadIndex * 2, data.size() - kThreadCount * 2); in DEF_TEST()
/third_party/flutter/skia/tests/
DSkSharedMutexTest.cpp31 SkTaskGroup().batch(8, [&](int threadIndex) { in DEF_TEST() argument
32 if (threadIndex % 4 != 0) { in DEF_TEST()
/third_party/grpc/src/csharp/Grpc.Core/Internal/
DGrpcThreadPool.cs145 private Thread CreateAndStartThread(int threadIndex, IProfiler optionalProfiler) in CreateAndStartThread() argument
147 var cqIndex = threadIndex % completionQueues.Count; in CreateAndStartThread()
152 thread.Name = string.Format("grpc {0} (cq {1})", threadIndex, cqIndex); in CreateAndStartThread()
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
DRenderer.cpp96 int threadIndex; member
745 int threadIndex = static_cast<Parameters*>(parameters)->threadIndex; in threadFunction() local
753 renderer->threadLoop(threadIndex); in threadFunction()
756 void Renderer::threadLoop(int threadIndex) in threadLoop() argument
760 taskLoop(threadIndex); in threadLoop()
762 suspend[threadIndex]->signal(); in threadLoop()
763 resume[threadIndex]->wait(); in threadLoop()
767 void Renderer::taskLoop(int threadIndex) in taskLoop() argument
769 while(task[threadIndex].type != Task::SUSPEND) in taskLoop()
771 scheduleTask(threadIndex); in taskLoop()
[all …]
DRenderer.hpp368 void threadLoop(int threadIndex);
369 void taskLoop(int threadIndex);
371 void scheduleTask(int threadIndex);
372 void executeTask(int threadIndex);
/third_party/flutter/skia/bench/
DSkGlyphCacheBench.cpp96 SkTaskGroup().batch(16, [&](int threadIndex) { in onDraw() argument
100 font.setTypeface(typefaces[threadIndex % 2]); in onDraw()
/third_party/skia/third_party/externals/d3d12allocator/src/
DTests.cpp1219 for(UINT threadIndex = 0; threadIndex < threadCount; ++threadIndex) in TestMultithreading() local
1221 auto threadFunc = [&, threadIndex]() in TestMultithreading()
1223 RandomNumberGenerator rand(threadIndex); in TestMultithreading()
1233 res.dataSeed = (threadIndex << 16) | bufIndex; in TestMultithreading()
1279 res.dataSeed = (threadIndex << 16) | operationIndex; in TestMultithreading()
1328 threads[threadIndex] = std::thread(threadFunc); in TestMultithreading()
1332 for(UINT threadIndex = threadCount; threadIndex--; ) in TestMultithreading() local
1334 threads[threadIndex].join(); in TestMultithreading()
/third_party/skia/bench/
DSkGlyphCacheBench.cpp98 SkTaskGroup().batch(16, [&](int threadIndex) { in onDraw() argument
102 font.setTypeface(typefaces[threadIndex % 2]); in onDraw()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DVulkanMultithreadingTest.cpp63 std::function<void(EGLSurface surface, size_t threadIndex)> testBody, in runMultithreadedGLTest()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DMultithreadingTest.cpp38 std::function<void(EGLSurface surface, size_t threadIndex)> testBody, in runMultithreadedGLTest()

12