Searched refs:fSemaphore (Results 1 – 9 of 9) sorted by relevance
/external/skia/src/core/ |
D | SkSemaphore.cpp | 14 semaphore_t fSemaphore; member 17 semaphore_create(mach_task_self(), &fSemaphore, SYNC_POLICY_LIFO, 0/*initial count*/); in OSSemaphore() 19 ~OSSemaphore() { semaphore_destroy(mach_task_self(), fSemaphore); } in ~OSSemaphore() 21 void signal(int n) { while (n --> 0) { semaphore_signal(fSemaphore); } } in signal() 22 void wait() { semaphore_wait(fSemaphore); } in wait() 26 HANDLE fSemaphore; member 29 fSemaphore = CreateSemaphore(nullptr /*security attributes, optional*/, in OSSemaphore() 34 ~OSSemaphore() { CloseHandle(fSemaphore); } in ~OSSemaphore() 37 ReleaseSemaphore(fSemaphore, n, nullptr/*returns previous count, optional*/); in signal() 39 void wait() { WaitForSingleObject(fSemaphore, INFINITE/*timeout in ms*/); } in wait() [all …]
|
/external/skia/src/gpu/gl/ |
D | GrGLExternalTextureData.cpp | 19 , fSemaphore(std::move(semaphore)) { in GrGLExternalTextureData() 20 SkASSERT(fSemaphore->unique()); in GrGLExternalTextureData() 21 context->resourceProvider()->releaseOwnershipOfSemaphore(fSemaphore); in GrGLExternalTextureData() 25 context->resourceProvider()->takeOwnershipOfSemaphore(fSemaphore); in attachToContext() 29 context->getGpu()->waitSemaphore(fSemaphore); in attachToContext()
|
/external/skia/src/gpu/vk/ |
D | GrVkSemaphore.h | 26 Resource(VkSemaphore semaphore) : INHERITED(), fSemaphore(semaphore) {} in Resource() 30 VkSemaphore semaphore() const { return fSemaphore; } in semaphore() 34 SkDebugf("GrVkSemaphore: %d (%d refs)\n", fSemaphore, this->getRefCnt()); in dumpInfo() 40 VkSemaphore fSemaphore; variable
|
D | GrVkSemaphore.cpp | 45 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 SkBaseSemaphore fSemaphore{1}; 44 ~SkMutex() { fSemaphore.cleanup(); } in ~SkMutex()
|
/external/skia/src/gpu/ops/ |
D | GrSemaphoreOp.h | 24 : INHERITED(classId), fSemaphore(std::move(semaphore)) {} in GrSemaphoreOp() 26 sk_sp<GrSemaphore> fSemaphore; variable
|
D | GrSemaphoreOp.cpp | 28 state->gpu()->insertSemaphore(fSemaphore); in onExecute() 49 state->gpu()->waitSemaphore(fSemaphore); in onExecute()
|
/external/skia/tests/ |
D | CrossContextImageTest.cpp | 174 SkSemaphore fSemaphore; member 184 ctx->fSemaphore.signal(); in upload_image_thread_proc() 226 ctx.fSemaphore.wait();
|
/external/skia/include/gpu/gl/ |
D | GrGLTypes.h | 131 sk_sp<GrSemaphore> fSemaphore; variable
|