/external/angle/src/tests/gl_tests/ |
D | VulkanExternalImageTest.cpp | 98 VkDeviceMemory deviceMemory = VK_NULL_HANDLE; in TEST_P() local 103 helper.createImage2DOpaqueFd(format, extent, &image, &deviceMemory, &deviceMemorySize); in TEST_P() 107 result = helper.exportMemoryOpaqueFd(deviceMemory, &fd); in TEST_P() 126 vkFreeMemory(helper.getDevice(), deviceMemory, nullptr); in TEST_P() 175 VkDeviceMemory deviceMemory = VK_NULL_HANDLE; in TEST_P() local 180 helper.createImage2DOpaqueFd(format, extent, &image, &deviceMemory, &deviceMemorySize); in TEST_P() 184 result = helper.exportMemoryOpaqueFd(deviceMemory, &fd); in TEST_P() 209 vkFreeMemory(helper.getDevice(), deviceMemory, nullptr); in TEST_P() 227 VkDeviceMemory deviceMemory = VK_NULL_HANDLE; in TEST_P() local 232 helper.createImage2DZirconVmo(format, extent, &image, &deviceMemory, &deviceMemorySize); in TEST_P() [all …]
|
/external/swiftshader/src/Vulkan/ |
D | VkCommandPool.cpp | 26 void *deviceMemory = vk::allocate(sizeof(std::set<VkCommandBuffer>), REQUIRED_MEMORY_ALIGNMENT, in CommandPool() local 28 ASSERT(deviceMemory); in CommandPool() 29 commandBuffers = new(deviceMemory) std::set<VkCommandBuffer>(); in CommandPool() 54 void *deviceMemory = vk::allocate(sizeof(DispatchableCommandBuffer), REQUIRED_MEMORY_ALIGNMENT, in allocateCommandBuffers() local 56 ASSERT(deviceMemory); in allocateCommandBuffers() 57 …DispatchableCommandBuffer *commandBuffer = new(deviceMemory) DispatchableCommandBuffer(device, lev… in allocateCommandBuffers()
|
D | VkImage.cpp | 178 deviceMemory = pDeviceMemory; in bind() 182 decompressedImage->deviceMemory = deviceMemory; in bind() 217 uint8_t *srcBuffer = static_cast<uint8_t *>(deviceMemory->getOffsetPointer(0)); in prepareForExternalUseANDROID() 239 return backingMemory.externalMemory ? *deviceMemory : VkDeviceMemory{ VK_NULL_HANDLE }; in getExternalMemory() 549 return deviceMemory->getOffsetPointer(texelOffsetBytesInStorage(offset, subresource) + in getTexelPointer() 721 …return reinterpret_cast<uint8_t *>(deviceMemory->getOffsetPointer(deviceMemory->getCommittedMemory… in end()
|
D | VkImage.hpp | 119 DeviceMemory *deviceMemory = nullptr; member in vk::Image
|
/external/angle/src/tests/test_utils/ |
D | VulkanExternalHelper.cpp | 410 VkDeviceMemory deviceMemory = VK_NULL_HANDLE; in createImage2DExternal() local 411 result = vkAllocateMemory(mDevice, &memoryAllocateInfo, nullptr, &deviceMemory); in createImage2DExternal() 419 result = vkBindImageMemory(mDevice, image, deviceMemory, memoryOffset); in createImage2DExternal() 422 vkFreeMemory(mDevice, deviceMemory, nullptr); in createImage2DExternal() 428 *deviceMemoryOut = deviceMemory; in createImage2DExternal() 457 VkResult VulkanExternalHelper::exportMemoryOpaqueFd(VkDeviceMemory deviceMemory, int *fd) in exportMemoryOpaqueFd() argument 462 /* .memory = */ deviceMemory, in exportMemoryOpaqueFd() 493 VkResult VulkanExternalHelper::exportMemoryZirconVmo(VkDeviceMemory deviceMemory, zx_handle_t *vmo) in exportMemoryZirconVmo() argument 498 /* .memory = */ deviceMemory, in exportMemoryZirconVmo()
|
D | VulkanExternalHelper.h | 48 VkResult exportMemoryOpaqueFd(VkDeviceMemory deviceMemory, int *fd); 57 VkResult exportMemoryZirconVmo(VkDeviceMemory deviceMemory, zx_handle_t *vmo);
|
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesTestsUtil.cpp | 841 VkDeviceMemory deviceMemory = 0; in makeSparseImageMemoryBind() local 842 VK_CHECK(vk.allocateMemory(device, &allocInfo, DE_NULL, &deviceMemory)); in makeSparseImageMemoryBind() 847 imageMemoryBind.memory = deviceMemory; in makeSparseImageMemoryBind() 871 VkDeviceMemory deviceMemory = 0; in makeSparseMemoryBind() local 872 VK_CHECK(vk.allocateMemory(device, &allocInfo, DE_NULL, &deviceMemory)); in makeSparseMemoryBind() 878 memoryBind.memory = deviceMemory; in makeSparseMemoryBind()
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiBufferMarkerTests.cpp | 236 MovePtr<Allocation>& deviceMemory) in createMarkerBufferMemory() argument 242 deviceMemory = allocator->allocate(memReqs, allocRequirement); in createMarkerBufferMemory() 275 …deviceMemory = MovePtr<Allocation>(new ExternalHostAllocation(allocateMemory(vkd, device, &info), … in createMarkerBufferMemory() 278 …VK_CHECK(vkd.bindBufferMemory(device, buffer, deviceMemory->getMemory(), deviceMemory->getOffset()… in createMarkerBufferMemory()
|
D | vktApiObjectManagementTests.cpp | 2770 CaseDescription<DeviceMemory> deviceMemory; member 2815 addCases (group, cases.deviceMemory); in createGroup()
|
/external/angle/third_party/VulkanMemoryAllocator/src/ |
D | Tests.cpp | 2658 TEST(allocInfo.deviceMemory == VK_NULL_HANDLE); in TestBasics() 2908 if(lhs.deviceMemory != rhs.deviceMemory) in TestDebugMargin() 2910 return lhs.deviceMemory < rhs.deviceMemory; in TestDebugMargin() 2916 if(allocInfo[i].deviceMemory == allocInfo[i - 1].deviceMemory) in TestDebugMargin() 3308 TEST(allocInfo.deviceMemory == VK_NULL_HANDLE); in TestLinearAllocator() 3336 if(allocInfo.deviceMemory == VK_NULL_HANDLE) in TestLinearAllocator() 3355 if(allocInfo.deviceMemory == VK_NULL_HANDLE) in TestLinearAllocator() 3411 if(lastMem && allocInfo.deviceMemory != lastMem) in TestLinearAllocatorMultiBlock() 3415 lastMem = allocInfo.deviceMemory; in TestLinearAllocatorMultiBlock() 3450 if(lastMem && allocInfo.deviceMemory != lastMem) in TestLinearAllocatorMultiBlock() [all …]
|
D | SparseBindingTest.cpp | 504 binds[i].memory = allocInfo[i].deviceMemory; in Init()
|
D | vk_mem_alloc.h | 3019 VkDeviceMemory deviceMemory; member 16320 pAllocationInfo->deviceMemory = VK_NULL_HANDLE; in GetAllocationInfo() 16330 pAllocationInfo->deviceMemory = hAllocation->GetMemory(); in GetAllocationInfo() 16369 pAllocationInfo->deviceMemory = hAllocation->GetMemory(); in GetAllocationInfo()
|
/external/angle/src/libANGLE/renderer/vulkan/ |
D | vk_wrapper.h | 405 VkResult bindMemory(VkDevice device, const DeviceMemory &deviceMemory); 501 VkResult bindMemory(VkDevice device, const DeviceMemory &deviceMemory); 1210 ANGLE_INLINE VkResult Image::bindMemory(VkDevice device, const vk::DeviceMemory &deviceMemory) 1212 ASSERT(valid() && deviceMemory.valid()); 1213 return vkBindImageMemory(device, mHandle, deviceMemory.getHandle(), 0); 1408 ANGLE_INLINE VkResult Buffer::bindMemory(VkDevice device, const DeviceMemory &deviceMemory) 1410 ASSERT(valid() && deviceMemory.valid()); 1411 return vkBindBufferMemory(device, mHandle, deviceMemory.getHandle(), 0);
|
D | vk_utils.cpp | 459 DeviceMemory *deviceMemory, in InitMappableDeviceMemory() argument 467 ANGLE_VK_TRY(context, deviceMemory->map(device, 0, VK_WHOLE_SIZE, 0, &mapPointer)); in InitMappableDeviceMemory() 475 mappedRange.memory = deviceMemory->getHandle(); in InitMappableDeviceMemory() 480 deviceMemory->unmap(device); in InitMappableDeviceMemory()
|
D | vk_utils.h | 338 vk::DeviceMemory *deviceMemory,
|
/external/skia/src/gpu/vk/ |
D | GrVkAMDMemoryAllocator.cpp | 186 alloc->fMemory = vmaInfo.deviceMemory; in getAllocInfo()
|
/external/skqp/src/gpu/vk/ |
D | GrVkAMDMemoryAllocator.cpp | 177 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()
|
/external/skia/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/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/angle/third_party/vulkan-headers/src/include/vulkan/ |
D | vulkan.hpp | 16101 VULKAN_HPP_TYPESAFE_EXPLICIT DeviceMemory( VkDeviceMemory deviceMemory ) VULKAN_HPP_NOEXCEPT in DeviceMemory() argument 16102 : m_deviceMemory( deviceMemory ) in DeviceMemory() 16106 DeviceMemory & operator=(VkDeviceMemory deviceMemory) VULKAN_HPP_NOEXCEPT in operator =() argument 16108 m_deviceMemory = deviceMemory; in operator =() 77792 std::size_t operator()(vk::DeviceMemory const& deviceMemory) const VULKAN_HPP_NOEXCEPT in operator ()() 77794 return std::hash<VkDeviceMemory>{}(static_cast<VkDeviceMemory>(deviceMemory)); in operator ()()
|
/external/vulkan-headers/include/vulkan/ |
D | vulkan.hpp | 13727 VULKAN_HPP_TYPESAFE_EXPLICIT DeviceMemory( VkDeviceMemory deviceMemory ) in DeviceMemory() argument 13728 : m_deviceMemory( deviceMemory ) in DeviceMemory() 13732 DeviceMemory & operator=(VkDeviceMemory deviceMemory) in operator =() argument 13734 m_deviceMemory = deviceMemory; in operator =()
|