/hardware/google/gfxstream/guest/vulkan_enc/ |
D | DescriptorSetVirtualization.cpp | 383 DescriptorPoolAllocationInfo* poolInfo = as_goldfish_VkDescriptorPool(pool)->allocInfo; in validateDescriptorSetAllocation() 434 auto allocInfo = as_goldfish_VkDescriptorPool(pool)->allocInfo; in applyDescriptorSetAllocation() local 437 ++allocInfo->usedSets; in applyDescriptorSetAllocation() 440 for (auto& countForPool : allocInfo->descriptorCountInfo) { in applyDescriptorSetAllocation() 450 auto allocInfo = as_goldfish_VkDescriptorPool(pool)->allocInfo; in removeDescriptorSetAllocation() local 452 if (0 == allocInfo->usedSets) { in removeDescriptorSetAllocation() 457 --allocInfo->usedSets; in removeDescriptorSetAllocation() 460 for (auto& countForPool : allocInfo->descriptorCountInfo) { in removeDescriptorSetAllocation() 470 DescriptorPoolAllocationInfo* allocInfo = as_goldfish_VkDescriptorPool(pool)->allocInfo; in fillDescriptorSetInfoForPool() local 478 allocInfo->allocedPoolIds.insert(newReified->poolId); in fillDescriptorSetInfoForPool() [all …]
|
D | Resources.h | 118 gfxstream::vk::DescriptorPoolAllocationInfo* allocInfo; member
|
D | Resources.cpp | 160 res->allocInfo = nullptr; in GOLDFISH_VK_LIST_DISPATCHABLE_HANDLE_TYPES()
|
D | ResourceTracker.cpp | 253 return as_goldfish_VkDescriptorPool(pool)->allocInfo->createFlags & in descriptorPoolSupportsIndividualFreeLocked() 1245 delete dp->allocInfo; in unregister_VkDescriptorPool() 4835 dp->allocInfo = new DescriptorPoolAllocationInfo; in on_vkCreateDescriptorPool() 4836 dp->allocInfo->device = device; in on_vkCreateDescriptorPool() 4837 dp->allocInfo->createFlags = pCreateInfo->flags; in on_vkCreateDescriptorPool() 4838 dp->allocInfo->maxSets = pCreateInfo->maxSets; in on_vkCreateDescriptorPool() 4839 dp->allocInfo->usedSets = 0; in on_vkCreateDescriptorPool() 4842 dp->allocInfo->descriptorCountInfo.push_back({ in on_vkCreateDescriptorPool() 4855 dp->allocInfo->freePoolIds = poolIds; in on_vkCreateDescriptorPool() 4953 auto allocedSets = as_goldfish_VkDescriptorPool(descriptorPool)->allocInfo->allocedSets; in on_vkFreeDescriptorSets()
|
/hardware/google/gfxstream/host/vulkan/emulated_textures/testing/ |
D | ComputePipelineRestoration_integrationtest.cpp | 94 VkMemoryAllocateInfo allocInfo = { in createImage() local 100 VK_CHECK(vk->vkAllocateMemory(device, &allocInfo, nullptr, &imageMemory)); in createImage() 168 VkCommandBufferAllocateInfo allocInfo = { in TEST_F() local 175 vk->vkAllocateCommandBuffers(device, &allocInfo, &cmdBuf); in TEST_F()
|
/hardware/google/gfxstream/host/tests/ |
D | VkTestUtils.h | 155 VkMemoryAllocateInfo allocInfo = { in setUpImage() local 159 if (m_vk.vkAllocateMemory(m_vkDevice, &allocInfo, nullptr, in setUpImage() 233 VkMemoryAllocateInfo allocInfo = { in setUpBuffer() local 237 if (m_vk.vkAllocateMemory(m_vkDevice, &allocInfo, nullptr, in setUpBuffer()
|
/hardware/google/gfxstream/host/vulkan/testing/ |
D | VulkanTestHelper.cpp | 209 VkCommandBufferAllocateInfo allocInfo = { in beginCommandBuffer() local 216 vk().vkAllocateCommandBuffers(mDevice, &allocInfo, &commandBuffer); in beginCommandBuffer() 283 VkMemoryAllocateInfo allocInfo = { in createBuffer() local 288 VK_CHECK(vk().vkAllocateMemory(mDevice, &allocInfo, nullptr, &bufferMemory)); in createBuffer()
|
/hardware/google/gfxstream/host/vulkan/ |
D | VkDecoderSnapshotUtils.cpp | 136 VkCommandBufferAllocateInfo allocInfo{ in saveImageContent() local 143 _RUN_AND_CHECK(dispatch->vkAllocateCommandBuffers(stateBlock->device, &allocInfo, in saveImageContent() 287 VkCommandBufferAllocateInfo allocInfo{ in loadImageContent() local 294 _RUN_AND_CHECK(dispatch->vkAllocateCommandBuffers(stateBlock->device, &allocInfo, in loadImageContent() 484 VkCommandBufferAllocateInfo allocInfo{ in saveBufferContent() local 491 _RUN_AND_CHECK(dispatch->vkAllocateCommandBuffers(stateBlock->device, &allocInfo, in saveBufferContent() 587 VkCommandBufferAllocateInfo allocInfo{ in loadBufferContent() local 594 _RUN_AND_CHECK(dispatch->vkAllocateCommandBuffers(stateBlock->device, &allocInfo, in loadBufferContent()
|
D | VkAndroidNativeBuffer.cpp | 247 VkMemoryAllocateInfo allocInfo = { in prepareAndroidNativeBufferImage() local 254 if (VK_SUCCESS != vk->vkAllocateMemory(device, &allocInfo, nullptr, &out->imageMemory)) { in prepareAndroidNativeBufferImage() 322 VkMemoryAllocateInfo allocInfo = { in prepareAndroidNativeBufferImage() local 329 VkResult res = vk->vkAllocateMemory(device, &allocInfo, nullptr, &out->stagingMemory); in prepareAndroidNativeBufferImage()
|
D | DisplayVk.cpp | 731 const VkCommandBufferAllocateInfo allocInfo = { in create() local 739 VK_CHECK(vk.vkAllocateCommandBuffers(device, &allocInfo, &commandBuffer)); in create()
|
D | VkCommonOperations.cpp | 1450 VkMemoryAllocateInfo allocInfo = { in allocExternalMemory() local 1457 auto allocInfoChain = vk_make_chain_iterator(&allocInfo); in allocExternalMemory() 1480 vk->vkAllocateMemory(sVkEmulation->device, &allocInfo, nullptr, &info->memory); in allocExternalMemory() 1624 VkMemoryAllocateInfo allocInfo = { in importExternalMemory() local 1631 VkResult res = vk->vkAllocateMemory(targetDevice, &allocInfo, nullptr, out); in importExternalMemory() 1673 VkMemoryAllocateInfo allocInfo = { in importExternalMemoryDedicatedImage() local 1680 VkResult res = vk->vkAllocateMemory(targetDevice, &allocInfo, nullptr, out); in importExternalMemoryDedicatedImage()
|
/hardware/google/gfxstream/host/vulkan/emulated_textures/ |
D | AstcTexture.cpp | 122 VkMemoryAllocateInfo allocInfo = { in createVkBufferAndMapMemory() local 127 res = mVk->vkAllocateMemory(mDevice, &allocInfo, nullptr, &mDecompBufferMemory); in createVkBufferAndMapMemory()
|