Home
last modified time | relevance | path

Searched refs:fSemaphore (Results 1 – 18 of 18) sorted by relevance

/external/skqp/src/core/
DSkSemaphore.cpp25 semaphore_t fSemaphore; member
28 semaphore_create(mach_task_self(), &fSemaphore, SYNC_POLICY_LIFO, 0/*initial count*/); in OSSemaphore()
30 ~OSSemaphore() { semaphore_destroy(mach_task_self(), fSemaphore); } in ~OSSemaphore()
34 AnnotateHappensBefore(__FILE__, __LINE__, &fSemaphore); in signal()
35 semaphore_signal(fSemaphore); in signal()
39 semaphore_wait(fSemaphore); in wait()
40 AnnotateHappensAfter(__FILE__, __LINE__, &fSemaphore); in wait()
45 HANDLE fSemaphore; member
48 fSemaphore = CreateSemaphore(nullptr /*security attributes, optional*/, in OSSemaphore()
53 ~OSSemaphore() { CloseHandle(fSemaphore); } in ~OSSemaphore()
[all …]
/external/skia/src/core/
DSkSemaphore.cpp15 dispatch_semaphore_t fSemaphore; member
17 OSSemaphore() { fSemaphore = dispatch_semaphore_create(0/*initial count*/); } in OSSemaphore()
18 ~OSSemaphore() { dispatch_release(fSemaphore); } in ~OSSemaphore()
20 void signal(int n) { while (n --> 0) { dispatch_semaphore_signal(fSemaphore); } } in signal()
21 void wait() { dispatch_semaphore_wait(fSemaphore, DISPATCH_TIME_FOREVER); } in wait()
25 HANDLE fSemaphore; member
28 fSemaphore = CreateSemaphore(nullptr /*security attributes, optional*/, in OSSemaphore()
33 ~OSSemaphore() { CloseHandle(fSemaphore); } in ~OSSemaphore()
36 ReleaseSemaphore(fSemaphore, n, nullptr/*returns previous count, optional*/); in signal()
38 void wait() { WaitForSingleObject(fSemaphore, INFINITE/*timeout in ms*/); } in wait()
[all …]
/external/skqp/include/private/
DSkMutex.h23 fSemaphore.wait(); in acquire()
30 fSemaphore.signal(); in release()
38 SkBaseSemaphore fSemaphore{1};
45 ~SkMutex() { fSemaphore.cleanup(); } in ~SkMutex()
/external/skia/src/gpu/vk/
DGrVkSemaphore.h40 , fSemaphore(semaphore) in Resource()
47 VkSemaphore semaphore() const { return fSemaphore; } in semaphore()
69 SkDebugf("GrVkSemaphore: %d (%d refs)\n", fSemaphore, this->getRefCnt()); in dumpInfo()
75 VkSemaphore fSemaphore; variable
DGrVkSemaphore.cpp65 DestroySemaphore(fGpu->device(), fSemaphore, nullptr)); in freeGPUData()
/external/skqp/src/gpu/vk/
DGrVkSemaphore.h37 , fSemaphore(semaphore) in Resource()
44 VkSemaphore semaphore() const { return fSemaphore; } in semaphore()
67 SkDebugf("GrVkSemaphore: %d (%d refs)\n", fSemaphore, this->getRefCnt()); in dumpInfo()
78 VkSemaphore fSemaphore; variable
DGrVkSemaphore.cpp72 DestroySemaphore(gpu->device(), fSemaphore, nullptr)); in freeGPUData()
/external/skia/include/private/
DSkMutex.h22 fSemaphore.wait(); in acquire()
29 fSemaphore.signal(); in release()
37 SkSemaphore fSemaphore{1};
/external/skqp/src/gpu/ops/
DGrSemaphoreOp.h25 : INHERITED(classId), fSemaphore(std::move(semaphore)) { in GrSemaphoreOp()
29 sk_sp<GrSemaphore> fSemaphore; variable
DGrSemaphoreOp.cpp37 state->gpu()->waitSemaphore(fSemaphore); in onExecute()
/external/skia/src/gpu/
DGrBackendTextureImageGenerator.cpp33 , fSemaphore(std::move(semaphore)) {} in RefHelper()
175 if (refHelper->fSemaphore) { in onGenerateTexture()
176 resourceProvider->priv().gpu()->waitSemaphore(refHelper->fSemaphore.get()); in onGenerateTexture()
DGrBackendTextureImageGenerator.h82 std::unique_ptr<GrSemaphore> fSemaphore; variable
/external/skqp/src/gpu/
DGrBackendTextureImageGenerator.cpp71 , fSemaphore(std::move(semaphore)) in GrBackendTextureImageGenerator()
138 sk_sp<GrSemaphore> semaphore = fSemaphore; in onGenerateTexture()
DGrBackendTextureImageGenerator.h86 sk_sp<GrSemaphore> fSemaphore; variable
/external/skqp/src/pdf/
DSkPDFDocumentPriv.h135 SkSemaphore fSemaphore; variable
DSkPDFDocument.cpp500 void SkPDFDocument::signalJobComplete() { fSemaphore.signal(); } in signalJobComplete()
505 fSemaphore.wait(); in waitForJobs()
/external/skia/src/pdf/
DSkPDFDocumentPriv.h179 SkSemaphore fSemaphore; variable
DSkPDFDocument.cpp596 void SkPDFDocument::signalJobComplete() { fSemaphore.signal(); } in signalJobComplete()
601 fSemaphore.wait(); in waitForJobs()