#include <GrVkSemaphore.h>
Definition at line 35 of file GrVkSemaphore.h.
◆ Resource()
GrVkSemaphore::Resource::Resource |
( |
const GrVkGpu * |
gpu, |
|
|
VkSemaphore |
semaphore, |
|
|
bool |
prohibitSignal, |
|
|
bool |
prohibitWait, |
|
|
bool |
isOwned |
|
) |
| |
|
inline |
Definition at line 37 of file GrVkSemaphore.h.
39 : INHERITED(gpu)
41 , fHasBeenSubmittedToQueueForSignal(prohibitSignal)
42 , fHasBeenSubmittedToQueueForWait(prohibitWait)
43 , fIsOwned(isOwned) {}
VkSemaphore semaphore() const
◆ ~Resource()
GrVkSemaphore::Resource::~Resource |
( |
| ) |
|
|
inlineoverride |
◆ markAsSignaled()
void GrVkSemaphore::Resource::markAsSignaled |
( |
| ) |
|
|
inline |
Definition at line 56 of file GrVkSemaphore.h.
56 {
57 fHasBeenSubmittedToQueueForSignal = true;
58 }
◆ markAsWaited()
void GrVkSemaphore::Resource::markAsWaited |
( |
| ) |
|
|
inline |
Definition at line 59 of file GrVkSemaphore.h.
59 {
60 fHasBeenSubmittedToQueueForWait = true;
61 }
◆ semaphore()
VkSemaphore GrVkSemaphore::Resource::semaphore |
( |
| ) |
const |
|
inline |
◆ setIsOwned()
void GrVkSemaphore::Resource::setIsOwned |
( |
| ) |
|
|
inline |
◆ shouldSignal()
bool GrVkSemaphore::Resource::shouldSignal |
( |
| ) |
const |
|
inline |
Definition at line 49 of file GrVkSemaphore.h.
49 {
50 return !fHasBeenSubmittedToQueueForSignal;
51 }
◆ shouldWait()
bool GrVkSemaphore::Resource::shouldWait |
( |
| ) |
const |
|
inline |
Definition at line 52 of file GrVkSemaphore.h.
52 {
53 return !fHasBeenSubmittedToQueueForWait;
54 }
The documentation for this class was generated from the following files: