Lines Matching refs:mVk
69 : mVk(vk), in AstcTexture()
97 res = mVk->vkCreateBuffer(mDevice, &bufferInfo, nullptr, &mDecompBuffer); in createVkBufferAndMapMemory()
105 mVk->vkGetBufferMemoryRequirements(mDevice, mDecompBuffer, &memRequirements); in createVkBufferAndMapMemory()
108 mVk, mPhysicalDevice, memRequirements.memoryTypeBits, in createVkBufferAndMapMemory()
114 mVk, mPhysicalDevice, memRequirements.memoryTypeBits, in createVkBufferAndMapMemory()
127 res = mVk->vkAllocateMemory(mDevice, &allocInfo, nullptr, &mDecompBufferMemory); in createVkBufferAndMapMemory()
134 res = mVk->vkBindBufferMemory(mDevice, mDecompBuffer, mDecompBufferMemory, 0); in createVkBufferAndMapMemory()
141 res = mVk->vkMapMemory(mDevice, mDecompBufferMemory, 0, bufferSize, 0, (void**)&decompData); in createVkBufferAndMapMemory()
152 if (mVk && mDevice) { in destroyVkBuffer()
153 mVk->vkDestroyBuffer(mDevice, mDecompBuffer, nullptr); in destroyVkBuffer()
154 mVk->vkFreeMemory(mDevice, mDecompBufferMemory, nullptr); in destroyVkBuffer()
238 mVk->vkUnmapMemory(mDevice, mDecompBufferMemory); in on_vkCmdCopyBufferToImageImpl()
244 mVk->vkUnmapMemory(mDevice, mDecompBufferMemory); in on_vkCmdCopyBufferToImageImpl()
247 mVk->vkCmdCopyBufferToImage(commandBuffer, mDecompBuffer, dstImage, dstImageLayout, in on_vkCmdCopyBufferToImageImpl()