#include <BackendSemaphore.h>
Definition at line 24 of file BackendSemaphore.h.
◆ BackendSemaphore() [1/2]
skgpu::graphite::BackendSemaphore::BackendSemaphore |
( |
| ) |
|
|
default |
◆ BackendSemaphore() [2/2]
skgpu::graphite::BackendSemaphore::BackendSemaphore |
( |
const BackendSemaphore & |
that | ) |
|
◆ ~BackendSemaphore()
skgpu::graphite::BackendSemaphore::~BackendSemaphore |
( |
| ) |
|
|
default |
◆ backend()
BackendApi skgpu::graphite::BackendSemaphore::backend |
( |
| ) |
const |
|
inline |
◆ isValid()
bool skgpu::graphite::BackendSemaphore::isValid |
( |
| ) |
const |
|
inline |
◆ operator=()
Definition at line 20 of file BackendSemaphore.cpp.
20 {
21 if (!that.isValid()) {
22 fIsValid = false;
23 return *this;
24 }
26 fIsValid = true;
27 fBackend = that.fBackend;
28
29 switch (that.backend()) {
30#ifdef SK_DAWN
33#endif
34 #ifdef SK_METAL
36 fMtlEvent = that.fMtlEvent;
37 fMtlValue = that.fMtlValue;
38 break;
39#endif
40#ifdef SK_VULKAN
42 fVkSemaphore = that.fVkSemaphore;
43 break;
44#endif
45 default:
47 }
48 return *this;
49}
#define SK_ABORT(message,...)
BackendApi backend() const
◆ fEnsureUnionNonEmpty
void* skgpu::graphite::BackendSemaphore::fEnsureUnionNonEmpty |
The documentation for this class was generated from the following files: