/external/skqp/src/core/ |
D | SkSemaphore.cpp | 25 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/ |
D | SkSemaphore.cpp | 15 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/ |
D | SkMutex.h | 23 fSemaphore.wait(); in acquire() 30 fSemaphore.signal(); in release() 38 SkBaseSemaphore fSemaphore{1}; 45 ~SkMutex() { fSemaphore.cleanup(); } in ~SkMutex()
|
/external/skia/src/gpu/vk/ |
D | GrVkSemaphore.h | 40 , 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
|
D | GrVkSemaphore.cpp | 65 DestroySemaphore(fGpu->device(), fSemaphore, nullptr)); in freeGPUData()
|
/external/skqp/src/gpu/vk/ |
D | GrVkSemaphore.h | 37 , 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
|
D | GrVkSemaphore.cpp | 72 DestroySemaphore(gpu->device(), fSemaphore, nullptr)); in freeGPUData()
|
/external/skia/include/private/ |
D | SkMutex.h | 22 fSemaphore.wait(); in acquire() 29 fSemaphore.signal(); in release() 37 SkSemaphore fSemaphore{1};
|
/external/skqp/src/gpu/ops/ |
D | GrSemaphoreOp.h | 25 : INHERITED(classId), fSemaphore(std::move(semaphore)) { in GrSemaphoreOp() 29 sk_sp<GrSemaphore> fSemaphore; variable
|
D | GrSemaphoreOp.cpp | 37 state->gpu()->waitSemaphore(fSemaphore); in onExecute()
|
/external/skia/src/gpu/ |
D | GrBackendTextureImageGenerator.cpp | 33 , fSemaphore(std::move(semaphore)) {} in RefHelper() 175 if (refHelper->fSemaphore) { in onGenerateTexture() 176 resourceProvider->priv().gpu()->waitSemaphore(refHelper->fSemaphore.get()); in onGenerateTexture()
|
D | GrBackendTextureImageGenerator.h | 82 std::unique_ptr<GrSemaphore> fSemaphore; variable
|
/external/skqp/src/gpu/ |
D | GrBackendTextureImageGenerator.cpp | 71 , fSemaphore(std::move(semaphore)) in GrBackendTextureImageGenerator() 138 sk_sp<GrSemaphore> semaphore = fSemaphore; in onGenerateTexture()
|
D | GrBackendTextureImageGenerator.h | 86 sk_sp<GrSemaphore> fSemaphore; variable
|
/external/skqp/src/pdf/ |
D | SkPDFDocumentPriv.h | 135 SkSemaphore fSemaphore; variable
|
D | SkPDFDocument.cpp | 500 void SkPDFDocument::signalJobComplete() { fSemaphore.signal(); } in signalJobComplete() 505 fSemaphore.wait(); in waitForJobs()
|
/external/skia/src/pdf/ |
D | SkPDFDocumentPriv.h | 179 SkSemaphore fSemaphore; variable
|
D | SkPDFDocument.cpp | 596 void SkPDFDocument::signalJobComplete() { fSemaphore.signal(); } in signalJobComplete() 601 fSemaphore.wait(); in waitForJobs()
|