/external/angle/src/tests/gl_tests/ |
D | VulkanExternalImageTest.cpp | 115 VkDeviceMemory deviceMemory, in ExportMemory() 118 return helper->exportMemoryOpaqueFd(deviceMemory, handle); in ExportMemory() 182 VkDeviceMemory deviceMemory, in ExportMemory() 185 return helper->exportMemoryZirconVmo(deviceMemory, handle); in ExportMemory() 233 VkDeviceMemory deviceMemory = VK_NULL_HANDLE; in RunShouldImportMemoryTest() local 238 &image, &deviceMemory, &deviceMemorySize); in RunShouldImportMemoryTest() 242 result = Traits::ExportMemory(&helper, deviceMemory, &memoryHandle); in RunShouldImportMemoryTest() 264 vkFreeMemory(helper.getDevice(), deviceMemory, nullptr); in RunShouldImportMemoryTest() 343 VkDeviceMemory deviceMemory = VK_NULL_HANDLE; in RunShouldClearTest() local 348 &image, &deviceMemory, &deviceMemorySize); in RunShouldClearTest() [all …]
|
/external/angle/src/tests/test_utils/ |
D | VulkanExternalHelper.cpp | 492 VkDeviceMemory deviceMemory = VK_NULL_HANDLE; in createImage2DExternal() local 493 result = vkAllocateMemory(mDevice, &memoryAllocateInfo, nullptr, &deviceMemory); in createImage2DExternal() 501 result = vkBindImageMemory(mDevice, image, deviceMemory, memoryOffset); in createImage2DExternal() 504 vkFreeMemory(mDevice, deviceMemory, nullptr); in createImage2DExternal() 510 *deviceMemoryOut = deviceMemory; in createImage2DExternal() 544 VkResult VulkanExternalHelper::exportMemoryOpaqueFd(VkDeviceMemory deviceMemory, int *fd) in exportMemoryOpaqueFd() argument 549 /* .memory = */ deviceMemory, in exportMemoryOpaqueFd() 584 VkResult VulkanExternalHelper::exportMemoryZirconVmo(VkDeviceMemory deviceMemory, zx_handle_t *vmo) in exportMemoryZirconVmo() argument 589 /* .memory = */ deviceMemory, in exportMemoryZirconVmo() 890 VkDeviceMemory deviceMemory = VK_NULL_HANDLE; in readPixels() local [all …]
|
D | VulkanExternalHelper.h | 58 VkResult exportMemoryOpaqueFd(VkDeviceMemory deviceMemory, int *fd); 73 VkResult exportMemoryZirconVmo(VkDeviceMemory deviceMemory, zx_handle_t *vmo);
|
/external/swiftshader/src/Vulkan/ |
D | VkCommandPool.cpp | 46 void *deviceMemory = vk::allocate(sizeof(DispatchableCommandBuffer), REQUIRED_MEMORY_ALIGNMENT, in allocateCommandBuffers() local 48 ASSERT(deviceMemory); in allocateCommandBuffers() 49 …DispatchableCommandBuffer *commandBuffer = new(deviceMemory) DispatchableCommandBuffer(device, lev… in allocateCommandBuffers()
|
D | VkImage.cpp | 262 deviceMemory = pDeviceMemory; in bind() 266 decompressedImage->deviceMemory = deviceMemory; in bind() 301 uint8_t *srcBuffer = static_cast<uint8_t *>(deviceMemory->getOffsetPointer(0)); in prepareForExternalUseANDROID() 323 return backingMemory.externalMemory ? *deviceMemory : VkDeviceMemory{ VK_NULL_HANDLE }; in getExternalMemory() 662 return deviceMemory->getOffsetPointer(texelOffsetBytesInStorage(offset, subresource) + in getTexelPointer() 790 if(deviceMemory && deviceMemory->hasExternalImageProperties()) in rowPitchBytes() 792 return deviceMemory->externalImageRowPitchBytes(aspect); in rowPitchBytes() 839 …return reinterpret_cast<uint8_t *>(deviceMemory->getOffsetPointer(deviceMemory->getCommittedMemory… in end() 844 if(deviceMemory && deviceMemory->hasExternalImageProperties()) in getMemoryOffset() 846 return deviceMemory->externalImageMemoryOffset(aspect); in getMemoryOffset()
|
D | VkImage.hpp | 119 DeviceMemory *deviceMemory = nullptr; member in vk::Image
|
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesTestsUtil.cpp | 873 VkDeviceMemory deviceMemory = 0; in makeSparseImageMemoryBind() local 874 VK_CHECK(vk.allocateMemory(device, &allocInfo, DE_NULL, &deviceMemory)); in makeSparseImageMemoryBind() 879 imageMemoryBind.memory = deviceMemory; in makeSparseImageMemoryBind() 903 VkDeviceMemory deviceMemory = 0; in makeSparseMemoryBind() local 904 VK_CHECK(vk.allocateMemory(device, &allocInfo, DE_NULL, &deviceMemory)); in makeSparseMemoryBind() 910 memoryBind.memory = deviceMemory; in makeSparseMemoryBind()
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiBufferMarkerTests.cpp | 239 MovePtr<Allocation>& deviceMemory) in createMarkerBufferMemory() argument 245 deviceMemory = allocator->allocate(memReqs, allocRequirement); in createMarkerBufferMemory() 278 …deviceMemory = MovePtr<Allocation>(new ExternalHostAllocation(allocateMemory(vkd, device, &info), … in createMarkerBufferMemory() 281 …VK_CHECK(vkd.bindBufferMemory(device, buffer, deviceMemory->getMemory(), deviceMemory->getOffset()… in createMarkerBufferMemory()
|
D | vktApiObjectManagementTests.cpp | 3062 CaseDescription<DeviceMemory> deviceMemory; member 3119 addCases (group, cases.deviceMemory); in createTests()
|
/external/angle/src/libANGLE/renderer/vulkan/ |
D | vk_wrapper.h | 413 VkResult bindMemory(VkDevice device, const DeviceMemory &deviceMemory); 542 VkResult bindMemory(VkDevice device, const DeviceMemory &deviceMemory); 1297 ANGLE_INLINE VkResult Image::bindMemory(VkDevice device, const vk::DeviceMemory &deviceMemory) 1299 ASSERT(valid() && deviceMemory.valid()); 1300 return vkBindImageMemory(device, mHandle, deviceMemory.getHandle(), 0); 1575 ANGLE_INLINE VkResult Buffer::bindMemory(VkDevice device, const DeviceMemory &deviceMemory) 1577 ASSERT(valid() && deviceMemory.valid()); 1578 return vkBindBufferMemory(device, mHandle, deviceMemory.getHandle(), 0);
|
D | vk_utils.cpp | 517 DeviceMemory *deviceMemory, in InitMappableDeviceMemory() argument 525 ANGLE_VK_TRY(context, deviceMemory->map(device, 0, VK_WHOLE_SIZE, 0, &mapPointer)); in InitMappableDeviceMemory() 533 mappedRange.memory = deviceMemory->getHandle(); in InitMappableDeviceMemory() 538 deviceMemory->unmap(device); in InitMappableDeviceMemory()
|
D | vk_utils.h | 388 DeviceMemory *deviceMemory,
|
/external/llvm-project/mlir/tools/mlir-vulkan-runner/ |
D | VulkanRuntime.h | 35 VkDeviceMemory deviceMemory{VK_NULL_HANDLE};
|
D | VulkanRuntime.cpp | 150 vkFreeMemory(device, memoryBuffer.deviceMemory, nullptr); in destroy() 438 &memoryBuffer.deviceMemory), in createMemoryBuffers() 473 memoryBuffer.deviceMemory, 0), in createMemoryBuffers()
|
/external/skqp/src/gpu/vk/ |
D | GrVkAMDMemoryAllocator.cpp | 177 alloc->fMemory = vmaInfo.deviceMemory; in getAllocInfo()
|
/external/skia/src/gpu/vk/ |
D | GrVkAMDMemoryAllocator.cpp | 230 alloc->fMemory = vmaInfo.deviceMemory; in getAllocInfo()
|
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryBindingTests.cpp | 67 VkDeviceMemory deviceMemory, in MemoryMappingRAII() argument 73 , memory (deviceMemory) in MemoryMappingRAII()
|
D | vktMemoryDeviceMemoryReportTests.cpp | 1555 CaseDescription<DeviceMemory> deviceMemory; member 1608 addCases (group, cases.deviceMemory); in createObjectTestsGroup()
|
/external/skqp/third_party/vulkanmemoryallocator/include/ |
D | vk_mem_alloc.h | 1748 VkDeviceMemory deviceMemory; member 8121 pAllocationInfo->deviceMemory = VK_NULL_HANDLE; in GetAllocationInfo() 8131 pAllocationInfo->deviceMemory = hAllocation->GetMemory(); in GetAllocationInfo() 8150 pAllocationInfo->deviceMemory = hAllocation->GetMemory(); in GetAllocationInfo()
|
/external/vulkan-validation-layers/layers/ |
D | vk_mem_alloc.h | 2464 VkDeviceMemory deviceMemory; member 14895 pAllocationInfo->deviceMemory = VK_NULL_HANDLE; in GetAllocationInfo() 14905 pAllocationInfo->deviceMemory = hAllocation->GetMemory(); in GetAllocationInfo() 14944 pAllocationInfo->deviceMemory = hAllocation->GetMemory(); in GetAllocationInfo()
|
/external/skia/third_party/vulkanmemoryallocator/include/ |
D | vk_mem_alloc.h | 3090 VkDeviceMemory VMA_NULLABLE_NON_DISPATCHABLE deviceMemory; member 16657 pAllocationInfo->deviceMemory = VK_NULL_HANDLE; in GetAllocationInfo() 16667 pAllocationInfo->deviceMemory = hAllocation->GetMemory(); in GetAllocationInfo() 16706 pAllocationInfo->deviceMemory = hAllocation->GetMemory(); in GetAllocationInfo()
|
/external/swiftshader/include/vulkan/ |
D | vulkan.hpp | 19338 VULKAN_HPP_TYPESAFE_EXPLICIT DeviceMemory( VkDeviceMemory deviceMemory ) VULKAN_HPP_NOEXCEPT in DeviceMemory() argument 19339 : m_deviceMemory( deviceMemory ) in DeviceMemory() 19343 DeviceMemory & operator=(VkDeviceMemory deviceMemory) VULKAN_HPP_NOEXCEPT in operator =() argument 19345 m_deviceMemory = deviceMemory; in operator =() 94060 …std::size_t operator()(VULKAN_HPP_NAMESPACE::DeviceMemory const& deviceMemory) const VULKAN_HPP_NO… in operator ()() 94062 return std::hash<VkDeviceMemory>{}(static_cast<VkDeviceMemory>(deviceMemory)); in operator ()()
|
/external/vulkan-headers/include/vulkan/ |
D | vulkan.hpp | 19267 VULKAN_HPP_TYPESAFE_EXPLICIT DeviceMemory( VkDeviceMemory deviceMemory ) VULKAN_HPP_NOEXCEPT in DeviceMemory() argument 19268 : m_deviceMemory( deviceMemory ) in DeviceMemory() 19272 DeviceMemory & operator=(VkDeviceMemory deviceMemory) VULKAN_HPP_NOEXCEPT in operator =() argument 19274 m_deviceMemory = deviceMemory; in operator =() 93393 …std::size_t operator()(VULKAN_HPP_NAMESPACE::DeviceMemory const& deviceMemory) const VULKAN_HPP_NO… in operator ()() 93395 return std::hash<VkDeviceMemory>{}(static_cast<VkDeviceMemory>(deviceMemory)); in operator ()()
|