#include <GrVkSemaphore.h>
Definition at line 22 of file GrVkSemaphore.h.
◆ ~GrVkSemaphore()
GrVkSemaphore::~GrVkSemaphore |
( |
| ) |
|
|
override |
◆ backendSemaphore()
Implements GrSemaphore.
Definition at line 70 of file GrVkSemaphore.cpp.
70 {
72}
VkSemaphore semaphore() const
SK_API GrBackendSemaphore MakeVk(VkSemaphore semaphore)
◆ getResource()
Resource * GrVkSemaphore::getResource |
( |
| ) |
|
|
inline |
◆ Make()
Definition at line 20 of file GrVkSemaphore.cpp.
20 {
24 createInfo.
pNext =
nullptr;
29 &semaphore));
31 return nullptr;
32 }
33
34 return std::unique_ptr<GrVkSemaphore>(
new GrVkSemaphore(gpu, semaphore,
false,
false, isOwned));
35}
#define GR_VK_CALL_RESULT(GPU, RESULT, X)
VkSemaphoreCreateFlags flags
@ VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO
◆ MakeWrapped()
Definition at line 37 of file GrVkSemaphore.cpp.
40 {
42 SkDEBUGFAIL(
"Trying to wrap an invalid VkSemaphore");
43 return nullptr;
44 }
47 return std::unique_ptr<GrVkSemaphore>(
new GrVkSemaphore(gpu, semaphore, prohibitSignal,
48 prohibitWait,
50}
@ kBorrow_GrWrapOwnership
#define SkDEBUGFAIL(message)
The documentation for this class was generated from the following files: