OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:fSemaphore
(Results
1 - 9
of
9
) sorted by null
/external/skia/src/core/
SkSemaphore.cpp
14
semaphore_t
fSemaphore
;
17
semaphore_create(mach_task_self(), &
fSemaphore
, SYNC_POLICY_LIFO, 0/*initial count*/);
19
~OSSemaphore() { semaphore_destroy(mach_task_self(),
fSemaphore
); }
21
void signal(int n) { while (n --> 0) { semaphore_signal(
fSemaphore
); } }
22
void wait() { semaphore_wait(
fSemaphore
); }
26
HANDLE
fSemaphore
;
29
fSemaphore
= CreateSemaphore(nullptr /*security attributes, optional*/,
34
~OSSemaphore() { CloseHandle(
fSemaphore
); }
37
ReleaseSemaphore(
fSemaphore
, n, nullptr/*returns previous count, optional*/);
39
void wait() { WaitForSingleObject(
fSemaphore
, INFINITE/*timeout in ms*/);
[
all
...]
SkThreadedBMPDevice.cpp
140
scheduleData.
fSemaphore
.wait();
144
fScheduleData[leftChild].
fSemaphore
.signal();
147
fScheduleData[rightChild].
fSemaphore
.signal();
167
SkSemaphore
fSemaphore
;
172
fScheduleData[0].
fSemaphore
.signal();
/external/skia/src/gpu/vk/
GrVkSemaphore.h
32
: INHERITED(),
fSemaphore
(semaphore), fIsOwned(isOwned) {}
36
VkSemaphore semaphore() const { return
fSemaphore
; }
40
SkDebugf("GrVkSemaphore: %d (%d refs)\n",
fSemaphore
, this->getRefCnt());
46
VkSemaphore
fSemaphore
;
GrVkSemaphore.cpp
58
DestroySemaphore(gpu->device(),
fSemaphore
, nullptr));
/external/skia/include/private/
SkMutex.h
22
fSemaphore
.wait();
29
fSemaphore
.signal();
37
SkBaseSemaphore
fSemaphore
{1};
44
~SkMutex() {
fSemaphore
.cleanup(); }
/external/skia/src/gpu/ops/
GrSemaphoreOp.h
28
: INHERITED(classId),
fSemaphore
(std::move(semaphore)) {
33
sk_sp<GrSemaphore>
fSemaphore
;
GrSemaphoreOp.cpp
33
state->gpu()->insertSemaphore(
fSemaphore
, fForceFlush);
58
state->gpu()->waitSemaphore(
fSemaphore
);
/external/skia/src/gpu/
GrBackendTextureImageGenerator.h
64
sk_sp<GrSemaphore>
fSemaphore
;
GrBackendTextureImageGenerator.cpp
95
,
fSemaphore
(std::move(semaphore))
143
if (
fSemaphore
&& fLastBorrowingContextID != context->uniqueID()) {
144
context->getGpu()->waitSemaphore(
fSemaphore
);
Completed in 105 milliseconds