Home
last modified time | relevance | path

Searched refs:vkObject (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkDestroy.hpp54 inline void destroy(VkT vkObject, const VkAllocationCallbacks *pAllocator) in destroy() argument
56 auto object = Cast(vkObject); in destroy()
65 vk::freeHostMemory(vkObject, pAllocator); in destroy()
70 inline void release(VkT vkObject, const VkAllocationCallbacks *pAllocator) in release() argument
72 auto object = Cast(vkObject); in release()
82 vk::freeHostMemory(vkObject, pAllocator); in release()
DVkObject.hpp31 static inline T *VkTtoT(VkT vkObject) in VkTtoT() argument
33 return static_cast<T *>(static_cast<void *>(vkObject)); in VkTtoT()
109 static inline T *Cast(VkT vkObject) in Cast() argument
111 return vk::VkTtoT<T, VkT>(vkObject); in Cast()
156 static inline T *Cast(VkT vkObject) in Cast() argument
158 …return (vkObject == VK_NULL_HANDLE) ? nullptr : &(reinterpret_cast<DispatchableObject<T, VkT> *>(v… in Cast()