/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/ |
D | vk_device_memory.c | 36 const VkMemoryAllocateInfo *pAllocateInfo, in vk_device_memory_create() argument 45 assert(pAllocateInfo->sType == VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO); in vk_device_memory_create() 47 mem->size = pAllocateInfo->allocationSize; in vk_device_memory_create() 48 mem->memory_type_index = pAllocateInfo->memoryTypeIndex; in vk_device_memory_create() 50 vk_foreach_struct_const(ext, pAllocateInfo->pNext) { in vk_device_memory_create() 148 assert(pAllocateInfo->allocationSize > 0); in vk_device_memory_create() 161 assert(pAllocateInfo->allocationSize > 0); in vk_device_memory_create() 169 mem->ahardware_buffer = vk_alloc_ahardware_buffer(pAllocateInfo); in vk_device_memory_create()
|
D | vk_android.h | 44 vk_alloc_ahardware_buffer(const VkMemoryAllocateInfo *pAllocateInfo); 68 vk_alloc_ahardware_buffer(const VkMemoryAllocateInfo *pAllocateInfo)
|
D | vk_command_pool.c | 194 const VkCommandBufferAllocateInfo *pAllocateInfo, in vk_common_AllocateCommandBuffers() argument 197 VK_FROM_HANDLE(vk_command_pool, pool, pAllocateInfo->commandPool); in vk_common_AllocateCommandBuffers() 203 for (i = 0; i < pAllocateInfo->commandBufferCount; i++) { in vk_common_AllocateCommandBuffers() 211 cmd_buffer->level = pAllocateInfo->level; in vk_common_AllocateCommandBuffers() 223 for (i = 0; i < pAllocateInfo->commandBufferCount; i++) in vk_common_AllocateCommandBuffers()
|
D | vk_android.c | 176 vk_alloc_ahardware_buffer(const VkMemoryAllocateInfo *pAllocateInfo) in vk_alloc_ahardware_buffer() argument 179 vk_find_struct_const(pAllocateInfo->pNext, in vk_alloc_ahardware_buffer() 208 w = pAllocateInfo->allocationSize; in vk_alloc_ahardware_buffer()
|
D | vk_device_memory.h | 62 const VkMemoryAllocateInfo *pAllocateInfo,
|
/hardware/google/gfxstream/guest/vulkan/ |
D | gfxstream_vk_cmd.cpp | 122 const VkCommandBufferAllocateInfo* pAllocateInfo, in gfxstream_vk_AllocateCommandBuffers() argument 126 VK_FROM_HANDLE(gfxstream_vk_command_pool, gfxstream_commandPool, pAllocateInfo->commandPool); in gfxstream_vk_AllocateCommandBuffers() 129 pAllocateInfo->commandBufferCount); in gfxstream_vk_AllocateCommandBuffers() 130 for (uint32_t i = 0; i < pAllocateInfo->commandBufferCount; i++) { in gfxstream_vk_AllocateCommandBuffers() 134 gfxstream_commandBuffers[i]->vk.level = pAllocateInfo->level; in gfxstream_vk_AllocateCommandBuffers() 141 std::vector<VkCommandBuffer> internal_objects(pAllocateInfo->commandBufferCount); in gfxstream_vk_AllocateCommandBuffers() 145 internal_allocateInfo = *pAllocateInfo; in gfxstream_vk_AllocateCommandBuffers() 152 gfxstream_commandPool->internal_object, pAllocateInfo->commandBufferCount, in gfxstream_vk_AllocateCommandBuffers()
|
D | gfxstream_vk_device.cpp | 642 VkResult gfxstream_vk_AllocateMemory(VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, in gfxstream_vk_AllocateMemory() argument 651 pAllocateInfo); in gfxstream_vk_AllocateMemory() 663 pAllocateInfo, pAllocator, pMemory); in gfxstream_vk_AllocateMemory()
|
/hardware/google/gfxstream/guest/vulkan_enc/ |
D | DescriptorSetVirtualization.cpp | 381 static VkResult validateDescriptorSetAllocation(const VkDescriptorSetAllocateInfo* pAllocateInfo) { in validateDescriptorSetAllocation() argument 382 VkDescriptorPool pool = pAllocateInfo->descriptorPool; in validateDescriptorSetAllocation() 388 if (setsAvailable < pAllocateInfo->descriptorSetCount) { in validateDescriptorSetAllocation() 393 __func__, pAllocateInfo->descriptorSetCount, setsAvailable); in validateDescriptorSetAllocation() 402 for (uint32_t i = 0; i < pAllocateInfo->descriptorSetCount; ++i) { in validateDescriptorSetAllocation() 403 if (!pAllocateInfo->pSetLayouts[i]) { in validateDescriptorSetAllocation() 410 as_goldfish_VkDescriptorSetLayout(pAllocateInfo->pSetLayouts[i])->layoutInfo; in validateDescriptorSetAllocation() 485 const VkDescriptorSetAllocateInfo* pAllocateInfo, VkDescriptorSet* pSets) { in validateAndApplyVirtualDescriptorSetAllocation() argument 486 VkResult validateRes = validateDescriptorSetAllocation(pAllocateInfo); in validateAndApplyVirtualDescriptorSetAllocation() 490 for (uint32_t i = 0; i < pAllocateInfo->descriptorSetCount; ++i) { in validateAndApplyVirtualDescriptorSetAllocation() [all …]
|
D | ResourceTracker.cpp | 2982 const VkMemoryAllocateInfo* pAllocateInfo, in allocateCoherentMemory() argument 2996 vk_find_struct<VkMemoryAllocateFlagsInfo>(pAllocateInfo); in allocateCoherentMemory() 2998 vk_find_struct<VkMemoryOpaqueCaptureAddressAllocateInfo>(pAllocateInfo); in allocateCoherentMemory() 3010 VkMemoryAllocateInfo hostAllocationInfo = vk_make_orphan_copy(*pAllocateInfo); in allocateCoherentMemory() 3015 ALIGN(pAllocateInfo->allocationSize, mCaps.vulkanCapset.blobAlignment); in allocateCoherentMemory() 3019 hostAllocationInfo.allocationSize = ALIGN(pAllocateInfo->allocationSize, kLargestPageSize); in allocateCoherentMemory() 3021 VkDeviceSize roundedUpAllocSize = ALIGN(pAllocateInfo->allocationSize, kMegaByte); in allocateCoherentMemory() 3090 info.allocationSize = pAllocateInfo->allocationSize; in allocateCoherentMemory() 3104 coherentMemory->subAllocate(pAllocateInfo->allocationSize, &ptr, offset); in allocateCoherentMemory() 3129 coherentMemory->subAllocate(pAllocateInfo->allocationSize, &ptr, offset); in allocateCoherentMemory() [all …]
|
D | DescriptorSetVirtualization.h | 145 const VkDescriptorSetAllocateInfo* pAllocateInfo, VkDescriptorSet* pSets);
|
D | ResourceTracker.h | 187 const VkMemoryAllocateInfo* pAllocateInfo, 397 const VkDescriptorSetAllocateInfo* pAllocateInfo, 519 const VkCommandBufferAllocateInfo* pAllocateInfo, 642 VkResult allocateCoherentMemory(VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, 645 VkResult getCoherentMemory(const VkMemoryAllocateInfo* pAllocateInfo, VkEncoder* enc,
|
D | VkEncoder.h | 110 VkResult vkAllocateMemory(VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, 247 const VkDescriptorSetAllocateInfo* pAllocateInfo, 276 const VkCommandBufferAllocateInfo* pAllocateInfo,
|
D | VkEncoder.cpp | 2654 VkResult VkEncoder::vkAllocateMemory(VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, in vkAllocateMemory() argument 2685 device, pAllocateInfo, pAllocator, pMemory); in vkAllocateMemory() 2697 if (pAllocateInfo) { in vkAllocateMemory() 2700 deepcopy_VkMemoryAllocateInfo(pool, VK_STRUCTURE_TYPE_MAX_ENUM, pAllocateInfo, in vkAllocateMemory() 9574 const VkDescriptorSetAllocateInfo* pAllocateInfo, in vkAllocateDescriptorSets() argument 9604 device, pAllocateInfo, pDescriptorSets); in vkAllocateDescriptorSets() 9615 if (pAllocateInfo) { in vkAllocateDescriptorSets() 9618 deepcopy_VkDescriptorSetAllocateInfo(pool, VK_STRUCTURE_TYPE_MAX_ENUM, pAllocateInfo, in vkAllocateDescriptorSets() 9633 if (pAllocateInfo->descriptorSetCount) { in vkAllocateDescriptorSets() 9634 *countPtr += pAllocateInfo->descriptorSetCount * 8; in vkAllocateDescriptorSets() [all …]
|
/hardware/google/gfxstream/host/vulkan/testing/ |
D | VkDecoderTestDispatch.h | 39 const VkCommandBufferAllocateInfo* pAllocateInfo, in vkAllocateCommandBuffers() argument 41 return mDgs->on_vkAllocateCommandBuffers(mBp, device, pAllocateInfo, pCommandBuffers); in vkAllocateCommandBuffers() 44 VkResult vkAllocateMemory(VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, in vkAllocateMemory() argument 46 return mDgs->on_vkAllocateMemory(mBp, device, pAllocateInfo, pAllocator, pMemory); in vkAllocateMemory()
|
/hardware/google/gfxstream/host/vulkan/ |
D | VkDecoderGlobalState.cpp | 3003 const VkDescriptorSetAllocateInfo* pAllocateInfo, in on_vkAllocateDescriptorSets() argument 3010 auto allocValidationRes = validateDescriptorSetAllocLocked(pAllocateInfo); in on_vkAllocateDescriptorSets() 3013 auto res = vk->vkAllocateDescriptorSets(device, pAllocateInfo, pDescriptorSets); in on_vkAllocateDescriptorSets() 3017 android::base::find(mDescriptorPoolInfo, pAllocateInfo->descriptorPool); in on_vkAllocateDescriptorSets() 3020 for (uint32_t i = 0; i < pAllocateInfo->descriptorSetCount; ++i) { in on_vkAllocateDescriptorSets() 3023 initDescriptorSetInfoLocked(pAllocateInfo->descriptorPool, in on_vkAllocateDescriptorSets() 3024 pAllocateInfo->pSetLayouts[i], in on_vkAllocateDescriptorSets() 4179 const VkMemoryAllocateInfo* pAllocateInfo, in on_vkAllocateMemory() argument 4185 if (!pAllocateInfo) return VK_ERROR_INITIALIZATION_FAILED; in on_vkAllocateMemory() 4187 VkMemoryAllocateInfo localAllocInfo = vk_make_orphan_copy(*pAllocateInfo); in on_vkAllocateMemory() [all …]
|
D | VkDecoderGlobalState.h | 278 const VkDescriptorSetAllocateInfo* pAllocateInfo, 401 const VkMemoryAllocateInfo* pAllocateInfo, 459 const VkCommandBufferAllocateInfo* pAllocateInfo,
|
D | VkDecoder.cpp | 1630 const VkMemoryAllocateInfo* pAllocateInfo; in decode() local 1638 vkReadStream->alloc((void**)&pAllocateInfo, sizeof(const VkMemoryAllocateInfo)); in decode() 1640 (VkMemoryAllocateInfo*)(pAllocateInfo), in decode() 1660 if (pAllocateInfo) { in decode() 1662 (VkMemoryAllocateInfo*)(pAllocateInfo)); in decode() 1671 ioStream, (unsigned long long)device, (unsigned long long)pAllocateInfo, in decode() 1676 &m_pool, device, pAllocateInfo, pAllocator, pMemory); in decode() 1681 std::make_optional<uint64_t>(pAllocateInfo->allocationSize)); in decode() 1700 device, pAllocateInfo, pAllocator, in decode() 5409 const VkDescriptorSetAllocateInfo* pAllocateInfo; in decode() local [all …]
|
D | VkDecoderSnapshot.cpp | 199 const VkMemoryAllocateInfo* pAllocateInfo, in vkAllocateMemory() argument 208 vk_find_struct<VkMemoryDedicatedAllocateInfo>(pAllocateInfo); in vkAllocateMemory() 780 VkDevice device, const VkDescriptorSetAllocateInfo* pAllocateInfo, in vkAllocateDescriptorSets() argument 890 VkDevice device, const VkCommandBufferAllocateInfo* pAllocateInfo, in vkAllocateCommandBuffers() argument 896 pAllocateInfo->commandBufferCount); in vkAllocateCommandBuffers() 898 (const uint64_t*)pCommandBuffers, pAllocateInfo->commandBufferCount, in vkAllocateCommandBuffers() 900 pAllocateInfo->commandPool)); in vkAllocateCommandBuffers() 906 pAllocateInfo->commandBufferCount, apiHandle, in vkAllocateCommandBuffers() 909 pAllocateInfo->commandBufferCount); in vkAllocateCommandBuffers() 3978 const VkMemoryAllocateInfo* pAllocateInfo, in vkAllocateMemory() argument [all …]
|
D | VkDecoderSnapshot.h | 145 const VkMemoryAllocateInfo* pAllocateInfo, 359 VkDevice device, const VkDescriptorSetAllocateInfo* pAllocateInfo, 400 VkDevice device, const VkCommandBufferAllocateInfo* pAllocateInfo,
|
/hardware/google/gfxstream/guest/mesa/src/vulkan/overlay-layer/ |
D | overlay.cpp | 2343 const VkCommandBufferAllocateInfo* pAllocateInfo, in overlay_AllocateCommandBuffers() argument 2348 device_data->vtable.AllocateCommandBuffers(device, pAllocateInfo, pCommandBuffers); in overlay_AllocateCommandBuffers() 2355 pAllocateInfo->level == VK_COMMAND_BUFFER_LEVEL_PRIMARY) { in overlay_AllocateCommandBuffers() 2361 pAllocateInfo->commandBufferCount, in overlay_AllocateCommandBuffers() 2373 pAllocateInfo->commandBufferCount * 2, in overlay_AllocateCommandBuffers() 2380 for (uint32_t i = 0; i < pAllocateInfo->commandBufferCount; i++) { in overlay_AllocateCommandBuffers() 2381 new_command_buffer_data(pCommandBuffers[i], pAllocateInfo->level, in overlay_AllocateCommandBuffers() 2387 map_object(HKEY(pipeline_query_pool), (void *)(uintptr_t) pAllocateInfo->commandBufferCount); in overlay_AllocateCommandBuffers() 2389 map_object(HKEY(timestamp_query_pool), (void *)(uintptr_t) pAllocateInfo->commandBufferCount); in overlay_AllocateCommandBuffers()
|
/hardware/google/gfxstream/common/vulkan/include/vulkan/ |
D | vulkansc.hpp | 1138 …VkResult vkAllocateMemory( VkDevice device, const VkMemoryAllocateInfo * pAllocateInfo, const VkAl… in vkAllocateMemory() argument 1140 return ::vkAllocateMemory( device, pAllocateInfo, pAllocator, pMemory ); in vkAllocateMemory() 1414 …eDescriptorSets( VkDevice device, const VkDescriptorSetAllocateInfo * pAllocateInfo, VkDescriptorS… in vkAllocateDescriptorSets() argument 1416 return ::vkAllocateDescriptorSets( device, pAllocateInfo, pDescriptorSets ); in vkAllocateDescriptorSets() 1474 …eCommandBuffers( VkDevice device, const VkCommandBufferAllocateInfo * pAllocateInfo, VkCommandBuff… in vkAllocateCommandBuffers() argument 1476 return ::vkAllocateCommandBuffers( device, pAllocateInfo, pCommandBuffers ); in vkAllocateCommandBuffers()
|
D | vulkan.hpp | 1139 …VkResult vkAllocateMemory( VkDevice device, const VkMemoryAllocateInfo * pAllocateInfo, const VkAl… in vkAllocateMemory() argument 1141 return ::vkAllocateMemory( device, pAllocateInfo, pAllocator, pMemory ); in vkAllocateMemory() 1475 …eDescriptorSets( VkDevice device, const VkDescriptorSetAllocateInfo * pAllocateInfo, VkDescriptorS… in vkAllocateDescriptorSets() argument 1477 return ::vkAllocateDescriptorSets( device, pAllocateInfo, pDescriptorSets ); in vkAllocateDescriptorSets() 1541 …eCommandBuffers( VkDevice device, const VkCommandBufferAllocateInfo * pAllocateInfo, VkCommandBuff… in vkAllocateCommandBuffers() argument 1543 return ::vkAllocateCommandBuffers( device, pAllocateInfo, pCommandBuffers ); in vkAllocateCommandBuffers()
|
D | vulkansc_funcs.hpp | 756 …ice::allocateMemory( const VULKAN_HPP_NAMESPACE::MemoryAllocateInfo * pAllocateInfo, const VULKAN_… in allocateMemory() argument 759 …cateMemory( m_device, reinterpret_cast<const VkMemoryAllocateInfo *>( pAllocateInfo ), reinterpret… in allocateMemory() 2456 …scriptorSets( const VULKAN_HPP_NAMESPACE::DescriptorSetAllocateInfo * pAllocateInfo, VULKAN_HPP_NA… in allocateDescriptorSets() argument 2459 …ets( m_device, reinterpret_cast<const VkDescriptorSetAllocateInfo *>( pAllocateInfo ), reinterpret… in allocateDescriptorSets() 2853 …mmandBuffers( const VULKAN_HPP_NAMESPACE::CommandBufferAllocateInfo * pAllocateInfo, VULKAN_HPP_NA… in allocateCommandBuffers() argument 2856 …ers( m_device, reinterpret_cast<const VkCommandBufferAllocateInfo *>( pAllocateInfo ), reinterpret… in allocateCommandBuffers()
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/ |
D | memory.adoc | 446 its pname:pAllocateInfo parameter 452 pname:pAllocateInfo parameter 1040 * pname:pAllocateInfo is a pointer to a slink:VkMemoryAllocateInfo 1166 * [[VUID-vkAllocateMemory-pAllocateInfo-01713]] 1167 pname:pAllocateInfo->allocationSize must: be less than or equal to 1170 …slink:VkPhysicalDeviceMemoryProperties::pname:memoryTypes[pname:pAllocateInfo->memoryTypeIndex].pn… 1173 * [[VUID-vkAllocateMemory-pAllocateInfo-01714]] 1174 pname:pAllocateInfo->memoryTypeIndex must: be less than 1181 feature is not enabled, pname:pAllocateInfo->memoryTypeIndex must: not
|
/hardware/google/gfxstream/guest/mesa/include/vulkan/ |
D | vulkan_core.h | 3969 …R *PFN_vkAllocateMemory)(VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, const VkAlloc… 4025 …teDescriptorSets)(VkDevice device, const VkDescriptorSetAllocateInfo* pAllocateInfo, VkDescriptorS… 4036 …teCommandBuffers)(VkDevice device, const VkCommandBufferAllocateInfo* pAllocateInfo, VkCommandBuff… 4190 const VkMemoryAllocateInfo* pAllocateInfo, 4508 const VkDescriptorSetAllocateInfo* pAllocateInfo, 4569 const VkCommandBufferAllocateInfo* pAllocateInfo,
|