/external/angle/third_party/vulkan_memory_allocator/src/ |
D | Tests.cpp | 826 VmaAllocationInfo allocInfo; in AcquireBuffer() local 827 …(g_hAllocator, &bufCreateInfo, &allocCreateInfo, &bufInfo.Buffer, &bufInfo.Allocation, &allocInfo); in AcquireBuffer() 828 bufInfo.MappedPtr = allocInfo.pMappedData; in AcquireBuffer() 877 static void UploadGpuData(const AllocInfo* allocInfo, size_t allocInfoCount) in UploadGpuData() argument 884 const AllocInfo& currAllocInfo = allocInfo[allocInfoIndex]; in UploadGpuData() 1022 static void ValidateGpuData(const AllocInfo* allocInfo, size_t allocInfoCount) in ValidateGpuData() argument 1031 const AllocInfo& currAllocInfo = allocInfo[allocInfoIndex]; in ValidateGpuData() 1049 … const VkDeviceSize validateSize = allocInfo[validateAllocIndex].m_BufferInfo.size; in ValidateGpuData() 1052 uint32_t val = allocInfo[validateAllocIndex].m_StartValue; in ValidateGpuData() 1107 const VkDeviceSize validateSize = allocInfo[validateAllocIndex].m_BufferInfo.size; in ValidateGpuData() [all …]
|
D | SparseBindingTest.cpp | 496 std::vector<VmaAllocationInfo> allocInfo{pageCount}; in Init() local 497 …(g_hAllocator, &pageMemReq, &allocCreateInfo, pageCount, m_Allocations.data(), allocInfo.data()) ); in Init() 504 binds[i].memory = allocInfo[i].deviceMemory; in Init() 505 binds[i].memoryOffset = allocInfo[i].offset; in Init()
|
/external/swiftshader/tests/VulkanWrapper/ |
D | Buffer.cpp | 30 vk::MemoryAllocateInfo allocInfo{}; in Buffer() local 31 allocInfo.allocationSize = memRequirements.size; in Buffer() 32 …allocInfo.memoryTypeIndex = 0; //TODO: getMemoryTypeIndex(memRequirements.memoryTypeBits, vk::Mem… in Buffer() 34 bufferMemory = device.allocateMemory(allocInfo); in Buffer()
|
D | Util.cpp | 42 vk::CommandBufferAllocateInfo allocInfo{}; in beginSingleTimeCommands() local 43 allocInfo.level = vk::CommandBufferLevel::ePrimary; in beginSingleTimeCommands() 44 allocInfo.commandPool = commandPool; in beginSingleTimeCommands() 45 allocInfo.commandBufferCount = 1; in beginSingleTimeCommands() 47 auto commandBuffer = device.allocateCommandBuffers(allocInfo); in beginSingleTimeCommands()
|
D | DrawTester.cpp | 347 vk::DescriptorSetAllocateInfo allocInfo; in createCommandBuffers() local 348 allocInfo.descriptorPool = descriptorPool; in createCommandBuffers() 349 allocInfo.descriptorSetCount = 1; in createCommandBuffers() 350 allocInfo.pSetLayouts = layouts.data(); in createCommandBuffers() 352 descriptorSets = device.allocateDescriptorSets(allocInfo); in createCommandBuffers()
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkMemUtil.cpp | 206 MovePtr<Allocation> SimpleAllocator::allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize … in allocate() argument 210 Move<VkDeviceMemory> mem = allocateMemory(m_vk, m_device, &allocInfo); in allocate() 213 if (isHostVisibleMemory(m_memProps, allocInfo.memoryTypeIndex)) in allocate() 214 hostPtr = MovePtr<HostPtr>(new HostPtr(m_vk, m_device, *mem, 0u, allocInfo.allocationSize, 0u)); in allocate() 222 VkMemoryAllocateInfo allocInfo = in allocate() local 241 allocInfo.pNext = &allocFlagsInfo; in allocate() 244 Move<VkDeviceMemory> mem = allocateMemory(m_vk, m_device, &allocInfo); in allocate() 249 DE_ASSERT(isHostVisibleMemory(m_memProps, allocInfo.memoryTypeIndex)); in allocate() 250 hostPtr = MovePtr<HostPtr>(new HostPtr(m_vk, m_device, *mem, 0u, allocInfo.allocationSize, 0u)); in allocate() 266 const VkMemoryAllocateInfo allocInfo = in allocateExtended() local [all …]
|
D | vkMemUtil.hpp | 133 …virtual de::MovePtr<Allocation> allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize alig… 143 …de::MovePtr<Allocation> allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize alignme…
|
D | vkRefUtil.cpp | 173 const VkCommandBufferAllocateInfo allocInfo = in allocateCommandBuffer() local 183 return allocateCommandBuffer(vk, device, &allocInfo); in allocateCommandBuffer()
|
/external/swiftshader/src/WSI/ |
D | VkSwapchainKHR.cpp | 120 VkMemoryAllocateInfo allocInfo = {}; in createImages() local 121 allocInfo.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in createImages() 122 allocInfo.allocationSize = 0; in createImages() 123 allocInfo.memoryTypeIndex = 0; in createImages() 136 allocInfo.allocationSize = currentImage.getImage()->getMemoryRequirements().size; in createImages() 138 status = currentImage.allocateAndBindImageMemory(device, allocInfo); in createImages()
|
/external/skia/tools/gpu/vk/ |
D | VkYcbcrSamplerHelper.cpp | 111 VkMemoryAllocateInfo allocInfo = {}; in createBackendTexture() local 112 allocInfo.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in createBackendTexture() 113 allocInfo.allocationSize = requirements.size; in createBackendTexture() 114 allocInfo.memoryTypeIndex = memoryTypeIndex; in createBackendTexture() 117 GR_VK_CALL_RESULT(vkGpu, result, AllocateMemory(vkGpu->device(), &allocInfo, in createBackendTexture()
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiBufferComputeInstance.cpp | 170 const vk::VkDescriptorSetAllocateInfo allocInfo = in createDescriptorSet() local 178 vk::Move<vk::VkDescriptorSet> descriptorSet = allocateDescriptorSet(vki, device, &allocInfo); in createDescriptorSet() 211 const vk::VkDescriptorSetAllocateInfo allocInfo = in createDescriptorSet() local 219 vk::Move<vk::VkDescriptorSet> descriptorSet = allocateDescriptorSet(vki, device, &allocInfo); in createDescriptorSet()
|
D | vktApiDescriptorSetTests.cpp | 478 const VkDescriptorSetAllocateInfo allocInfo = in descriptorSetLayoutBindingOrderingTest() local 487 VK_CHECK(vk.allocateDescriptorSets(device, &allocInfo, &descriptorSet)); in descriptorSetLayoutBindingOrderingTest()
|
/external/deqp/external/vulkancts/modules/vulkan/device_group/ |
D | vktDeviceGroupRendering.cpp | 449 VkMemoryAllocateInfo allocInfo = in iterate() local 497 allocInfo.allocationSize = memReqs.size; in iterate() 498 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate() 499 vertexBufferMemory = allocateMemory(vk, *m_deviceGroup, &allocInfo); in iterate() 569 allocInfo.allocationSize = memReqs.size; in iterate() 570 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate() 571 indexBufferMemory = allocateMemory(vk, *m_deviceGroup, &allocInfo); in iterate() 641 allocInfo.allocationSize = memReqs.size; in iterate() 642 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate() 643 uniformBufferMemory = allocateMemory(vk, *m_deviceGroup, &allocInfo); in iterate() [all …]
|
/external/skqp/third_party/vulkanmemoryallocator/include/ |
D | vk_mem_alloc.h | 6675 VMA_DEBUG_LOG(" Created new allocation Size=%llu", allocInfo.allocationSize); in Allocate() 6888 VkMemoryAllocateInfo allocInfo = { VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO }; in CreateBlock() local 6889 allocInfo.memoryTypeIndex = m_MemoryTypeIndex; in CreateBlock() 6890 allocInfo.allocationSize = blockSize; in CreateBlock() 6892 VkResult res = m_hAllocator->AllocateVulkanMemory(&allocInfo, &mem); in CreateBlock() 6905 allocInfo.allocationSize); in CreateBlock() 7119 AllocationInfo allocInfo; in AddAllocation() local 7120 allocInfo.m_hAllocation = hAlloc; in AddAllocation() 7121 allocInfo.m_pChanged = pChanged; in AddAllocation() 7122 m_Allocations.push_back(allocInfo); in AddAllocation() [all …]
|
/external/angle/src/libANGLE/renderer/vulkan/ |
D | vk_utils.cpp | 96 VkMemoryAllocateInfo allocInfo = {}; in FindAndAllocateCompatibleMemory() local 97 allocInfo.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in FindAndAllocateCompatibleMemory() 98 allocInfo.pNext = extraAllocationInfo; in FindAndAllocateCompatibleMemory() 99 allocInfo.memoryTypeIndex = memoryTypeIndex; in FindAndAllocateCompatibleMemory() 100 allocInfo.allocationSize = memoryRequirements.size; in FindAndAllocateCompatibleMemory() 102 ANGLE_VK_TRY(context, deviceMemoryOut->allocate(device, allocInfo)); in FindAndAllocateCompatibleMemory()
|
D | vk_wrapper.h | 460 VkResult allocate(VkDevice device, const VkMemoryAllocateInfo &allocInfo); 608 const VkDescriptorSetAllocateInfo &allocInfo, 1397 ANGLE_INLINE VkResult DeviceMemory::allocate(VkDevice device, const VkMemoryAllocateInfo &allocInfo) 1400 return vkAllocateMemory(device, &allocInfo, nullptr, &mHandle); 1745 const VkDescriptorSetAllocateInfo &allocInfo, 1749 return vkAllocateDescriptorSets(device, &allocInfo, descriptorSetsOut);
|
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesTestsUtil.cpp | 865 const VkMemoryAllocateInfo allocInfo = in makeSparseImageMemoryBind() local 874 VK_CHECK(vk.allocateMemory(device, &allocInfo, DE_NULL, &deviceMemory)); in makeSparseImageMemoryBind() 895 const VkMemoryAllocateInfo allocInfo = in makeSparseMemoryBind() local 904 VK_CHECK(vk.allocateMemory(device, &allocInfo, DE_NULL, &deviceMemory)); in makeSparseMemoryBind()
|
/external/angle/third_party/vulkan_memory_allocator/ |
D | README.md | 80 VmaAllocationCreateInfo allocInfo = {}; 81 allocInfo.usage = VMA_MEMORY_USAGE_GPU_ONLY; 85 vmaCreateBuffer(allocator, &bufferInfo, &allocInfo, &buffer, &allocation, nullptr);
|
/external/deqp/external/vulkancts/modules/vulkan/conditional_rendering/ |
D | vktConditionalDrawAndClearTests.cpp | 606 const VkDescriptorSetAllocateInfo allocInfo = in createAndUpdateDescriptorSet() local 615 m_descriptorSet = allocateDescriptorSet(m_vkd, m_device, &allocInfo); in createAndUpdateDescriptorSet() 1046 const VkDescriptorSetAllocateInfo allocInfo = in createAndUpdateDescriptorSets() local 1055 m_descriptorSet = allocateDescriptorSet(m_vkd, m_device, &allocInfo); in createAndUpdateDescriptorSets() 1062 m_descriptorSetUpdate = allocateDescriptorSet(m_vkd, m_device, &allocInfo); in createAndUpdateDescriptorSets()
|
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/ |
D | vktYCbCrFormatTests.cpp | 183 const VkDescriptorSetAllocateInfo allocInfo = in createDescriptorSet() local 192 descSet = allocateDescriptorSet(vkd, device, &allocInfo); in createDescriptorSet()
|
D | vktYCbCrViewTests.cpp | 189 const VkDescriptorSetAllocateInfo allocInfo = in createDescriptorSet() local 198 descSet = allocateDescriptorSet(vkd, device, &allocInfo); in createDescriptorSet()
|
/external/skia/src/gpu/ |
D | GrAHardwareBufferUtils.cpp | 451 VkMemoryAllocateInfo allocInfo = { in make_vk_backend_texture() local 460 err = VK_CALL(AllocateMemory(device, &allocInfo, nullptr, &memory)); in make_vk_backend_texture()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktOpaqueTypeIndexingTests.cpp | 807 const VkDescriptorSetAllocateInfo allocInfo = in iterate() local 816 extraResourcesSet = allocateDescriptorSet(vkd, device, &allocInfo); in iterate() 1271 const VkDescriptorSetAllocateInfo allocInfo = in iterate() local 1280 extraResourcesSet = allocateDescriptorSet(vkd, device, &allocInfo); in iterate() 1636 const VkDescriptorSetAllocateInfo allocInfo = in iterate() local 1645 extraResourcesSet = allocateDescriptorSet(vkd, device, &allocInfo); in iterate()
|
/external/vulkan-validation-layers/layers/ |
D | gpu_validation.cpp | 1321 VmaAllocationCreateInfo allocInfo = {}; in GpuAllocateValidationResources() local 1322 allocInfo.usage = VMA_MEMORY_USAGE_GPU_TO_CPU; in GpuAllocateValidationResources() 1323 …result = vmaCreateBuffer(gpu_validation_state->vmaAllocator, &bufferInfo, &allocInfo, &output_bloc… in GpuAllocateValidationResources() 1380 allocInfo.usage = VMA_MEMORY_USAGE_CPU_TO_GPU; in GpuAllocateValidationResources() 1382 …result = vmaCreateBuffer(gpu_validation_state->vmaAllocator, &bufferInfo, &allocInfo, &input_block… in GpuAllocateValidationResources()
|
/external/skqp/src/gpu/ |
D | GrAHardwareBufferImageGenerator.cpp | 295 VkMemoryAllocateInfo allocInfo = { in make_vk_backend_texture() local 304 err = VK_CALL(AllocateMemory(device, &allocInfo, nullptr, &memory)); in make_vk_backend_texture()
|