Home
last modified time | relevance | path

Searched refs:commandPool (Results 1 – 25 of 49) sorted by relevance

12

/hardware/google/gfxstream/guest/vulkan/
Dgfxstream_vk_cmd.cpp44 void gfxstream_vk_DestroyCommandPool(VkDevice device, VkCommandPool commandPool, in gfxstream_vk_DestroyCommandPool() argument
47 if (VK_NULL_HANDLE == commandPool) { in gfxstream_vk_DestroyCommandPool()
51 VK_FROM_HANDLE(gfxstream_vk_command_pool, gfxstream_commandPool, commandPool); in gfxstream_vk_DestroyCommandPool()
62 VkResult gfxstream_vk_ResetCommandPool(VkDevice device, VkCommandPool commandPool, in gfxstream_vk_ResetCommandPool() argument
66 VK_FROM_HANDLE(gfxstream_vk_command_pool, gfxstream_commandPool, commandPool); in gfxstream_vk_ResetCommandPool()
90 VkResult vk_command_buffer_createOp(struct vk_command_pool* commandPool, in vk_command_buffer_createOp() argument
94 (struct gfxstream_vk_command_buffer*)vk_zalloc(&commandPool->alloc, in vk_command_buffer_createOp()
99 vk_command_buffer_init(commandPool, &gfxstream_commandBuffer->vk, in vk_command_buffer_createOp()
126 VK_FROM_HANDLE(gfxstream_vk_command_pool, gfxstream_commandPool, pAllocateInfo->commandPool); in gfxstream_vk_AllocateCommandBuffers()
146 internal_allocateInfo.commandPool = gfxstream_commandPool->internal_object; in gfxstream_vk_AllocateCommandBuffers()
[all …]
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_command_pool.c117 VkCommandPool commandPool, in vk_common_DestroyCommandPool() argument
121 VK_FROM_HANDLE(vk_command_pool, pool, commandPool); in vk_common_DestroyCommandPool()
132 VkCommandPool commandPool, in vk_common_ResetCommandPool() argument
135 VK_FROM_HANDLE(vk_command_pool, pool, commandPool); in vk_common_ResetCommandPool()
197 VK_FROM_HANDLE(vk_command_pool, pool, pAllocateInfo->commandPool); in vk_common_AllocateCommandBuffers()
231 VkCommandPool commandPool, in vk_common_FreeCommandBuffers() argument
235 VK_FROM_HANDLE(vk_command_pool, pool, commandPool); in vk_common_FreeCommandBuffers()
260 VkCommandPool commandPool, in vk_common_TrimCommandPool() argument
263 VK_FROM_HANDLE(vk_command_pool, pool, commandPool); in vk_common_TrimCommandPool()
/hardware/google/gfxstream/common/end2end/
DGfxstreamEnd2EndTestUtils.cpp84 auto commandPool = device->createCommandPoolUnique(commandPoolCreateInfo).value; in readImageData() local
85 ASSERT_THAT(commandPool, IsValidHandle()); in readImageData()
88 .commandPool = *commandPool, in readImageData()
DGfxstreamEnd2EndVkSnapshotPipelineTests.cpp463 auto commandPool = device->createCommandPoolUnique(commandPoolCreateInfo).value; in TEST_P() local
464 ASSERT_THAT(commandPool, IsValidHandle()); in TEST_P()
468 .commandPool = *commandPool, in TEST_P()
602 auto commandPool = device->createCommandPoolUnique(commandPoolCreateInfo).value; in TEST_P() local
603 ASSERT_THAT(commandPool, IsValidHandle()); in TEST_P()
607 .commandPool = *commandPool, in TEST_P()
779 auto commandPool = device->createCommandPoolUnique(commandPoolCreateInfo).value; in TEST_P() local
780 ASSERT_THAT(commandPool, IsValidHandle()); in TEST_P()
784 .commandPool = *commandPool, in TEST_P()
1003 auto commandPool = device->createCommandPoolUnique(commandPoolCreateInfo).value; in TEST_P() local
[all …]
DGfxstreamEnd2EndVkSnapshotBufferTests.cpp118 auto commandPool = device->createCommandPoolUnique(commandPoolCreateInfo).value; in TEST_P() local
119 ASSERT_THAT(commandPool, IsValidHandle()); in TEST_P()
123 .commandPool = *commandPool, in TEST_P()
DGfxstreamEnd2EndVkSnapshotImageTests.cpp448 auto commandPool = device->createCommandPoolUnique(commandPoolCreateInfo).value; in TEST_P() local
449 ASSERT_THAT(commandPool, IsValidHandle()); in TEST_P()
453 .commandPool = *commandPool, in TEST_P()
DGfxstreamEnd2EndVkTests.cpp210 auto commandPool = device->createCommandPoolUnique(commandPoolCreateInfo).value; in TEST_P() local
215 .commandPool = *commandPool, in TEST_P()
964 auto commandPool = device->createCommandPoolUnique(commandPoolCreateInfo).value; in TEST_P() local
968 .commandPool = *commandPool, in TEST_P()
/hardware/google/gfxstream/host/vulkan/
DVkDecoderSnapshotUtils.cpp138 .commandPool = stateBlock->commandPool, in saveImageContent()
277 dispatch->vkFreeCommandBuffers(stateBlock->device, stateBlock->commandPool, 1, &commandBuffer); in saveImageContent()
289 .commandPool = stateBlock->commandPool, in loadImageContent()
344 dispatch->vkFreeCommandBuffers(stateBlock->device, stateBlock->commandPool, 1, in loadImageContent()
473 dispatch->vkFreeCommandBuffers(stateBlock->device, stateBlock->commandPool, 1, &commandBuffer); in loadImageContent()
486 .commandPool = stateBlock->commandPool, in saveBufferContent()
576 dispatch->vkFreeCommandBuffers(stateBlock->device, stateBlock->commandPool, 1, &commandBuffer); in saveBufferContent()
589 .commandPool = stateBlock->commandPool, in loadBufferContent()
680 dispatch->vkFreeCommandBuffers(stateBlock->device, stateBlock->commandPool, 1, &commandBuffer); in loadBufferContent()
DVkDecoderSnapshotUtils.h27 VkCommandPool commandPool; member
DDisplayVk.cpp699 .commandPool = vkCommandPool, in create()
730 const VulkanDispatch& vk, VkDevice device, VkCommandPool commandPool) { in create() argument
734 .commandPool = commandPool, in create()
748 new ImageBorrowResource(vk, device, commandPool, fence, commandBuffer)); in create()
756 VkCommandPool commandPool, VkFence fence, in ImageBorrowResource() argument
762 m_vkCommandPool(commandPool) {} in ImageBorrowResource()
DCompositorVk.cpp527 VkCommandPool commandPool = VK_NULL_HANDLE; in setUpCommandPool() local
528 VK_CHECK(m_vk.vkCreateCommandPool(m_vkDevice, &commandPoolCreateInfo, nullptr, &commandPool)); in setUpCommandPool()
529 m_vkCommandPool = commandPool; in setUpCommandPool()
1125 .commandPool = m_vkCommandPool, in compose()
DVkCommonOperations.h169 VkCommandPool commandPool = VK_NULL_HANDLE; member
DVkDecoderGlobalState.h478 VkCommandPool commandPool, uint32_t commandBufferCount,
487 VkCommandPool commandPool,
491 VkCommandPool commandPool, VkCommandPoolResetFlags flags);
DVkDecoderGlobalState.cpp430 .commandPool = VK_NULL_HANDLE, in createSnapshotStateBlock()
456 dvk->vkCreateCommandPool(device, &commandPoolCi, nullptr, &stateBlock.commandPool); in createSnapshotStateBlock()
461 …eBlock->deviceDispatch->vkDestroyCommandPool(stateBlock->device, stateBlock->commandPool, nullptr); in releaseSnapshotStateBlock()
5077 mCmdBufferInfo[pCommandBuffers[i]].cmdPool = pAllocateInfo->commandPool; in on_vkAllocateCommandBuffers()
5109 VkCommandPool commandPool, in on_vkDestroyCommandPool() argument
5114 vk->vkDestroyCommandPool(device, commandPool, pAllocator); in on_vkDestroyCommandPool()
5116 const auto* cmdPoolInfo = android::base::find(mCmdPoolInfo, commandPool); in on_vkDestroyCommandPool()
5119 mCmdPoolInfo.erase(commandPool); in on_vkDestroyCommandPool()
5124 VkCommandPool commandPool, VkCommandPoolResetFlags flags) { in on_vkResetCommandPool() argument
5128 VkResult result = vk->vkResetCommandPool(device, commandPool, flags); in on_vkResetCommandPool()
[all …]
DVkCommonOperations.cpp1197 &sVkEmulation->commandPool); in createGlobalVkEmulation()
1208 sVkEmulation->commandPool, in createGlobalVkEmulation()
1401 sVkEmulation->dvk->vkFreeCommandBuffers(sVkEmulation->device, sVkEmulation->commandPool, 1, in teardownGlobalVkEmulation()
1404 sVkEmulation->dvk->vkDestroyCommandPool(sVkEmulation->device, sVkEmulation->commandPool, in teardownGlobalVkEmulation()
3425 .commandPool = sVkEmulation->commandPool, in allocateQueueTransferCommandBuffer_locked()
Dvk_util.h436 .commandPool = self.m_vkCommandPool, in runSingleTimeCommands()
/hardware/google/gfxstream/host/vulkan/emulated_textures/testing/
DComputePipelineRestoration_integrationtest.cpp170 .commandPool = unbox_VkCommandPool(vkTest->commandPool()), in TEST_F()
210 vk->vkFreeCommandBuffers(device, vkTest->commandPool(), 1, &unboxedCmdBuf); in TEST_F()
/hardware/google/gfxstream/host/vulkan/testing/
DVkDecoderTestDispatch.h163 void vkDestroyCommandPool(VkDevice device, VkCommandPool commandPool, in vkDestroyCommandPool() argument
165 mDgs->on_vkDestroyCommandPool(mBp, device, unbox_VkCommandPool(commandPool), pAllocator); in vkDestroyCommandPool()
166 delete_VkCommandPool(commandPool); in vkDestroyCommandPool()
214 void vkFreeCommandBuffers(VkDevice device, VkCommandPool commandPool, in vkFreeCommandBuffers() argument
216 mDgs->on_vkFreeCommandBuffers(mBp, device, unbox_VkCommandPool(commandPool), in vkFreeCommandBuffers()
DVulkanTestHelper.h95 VkCommandPool commandPool() { return mCommandPool; } in commandPool() function
DVulkanTestHelper.cpp211 .commandPool = unbox_VkCommandPool(mCommandPool), in beginCommandBuffer()
/hardware/google/gfxstream/host/tests/
DVkTestUtils.h58 VkCommandPool commandPool, uint32_t width, uint32_t height) { in create()
66 res->m_vkCommandPool = commandPool; in create()
259 .commandPool = m_vkCommandPool, in setUpCommandBuffer()
/hardware/google/gfxstream/common/detector/
DVulkan.cpp237 auto commandPool = VK_EXPECT_RV(device->createCommandPoolUnique(commandPoolCreateInfo)); in Load() local
253 std::move(commandPool), in Load()
947 .commandPool = *mCommandPool, in DoCommandsImmediate()
/hardware/google/gfxstream/guest/vulkan_enc/
DResourceTracker.h550 void addToCommandPool(VkCommandPool commandPool, uint32_t commandBufferCount,
552 void resetCommandPoolStagingInfo(VkCommandPool commandPool);
681 void clearCommandPool(VkCommandPool commandPool);
DVkEncoder.h271 void vkDestroyCommandPool(VkDevice device, VkCommandPool commandPool,
273 VkResult vkResetCommandPool(VkDevice device, VkCommandPool commandPool,
278 void vkFreeCommandBuffers(VkDevice device, VkCommandPool commandPool,
457 void vkTrimCommandPool(VkDevice device, VkCommandPool commandPool, VkCommandPoolTrimFlags flags,
658 void vkTrimCommandPoolKHR(VkDevice device, VkCommandPool commandPool,
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/
Dcmdbuffers.adoc165 :objectnamecamelcase: commandPool
372 * pname:commandPool is the command pool from which to query the memory
441 * pname:commandPool is the command pool to trim.
513 * pname:commandPool is the command pool to reset.
524 has a secondary command buffer allocated from pname:commandPool recorded
529 * [[VUID-vkResetCommandPool-commandPool-00040]]
530 All sname:VkCommandBuffer objects allocated from pname:commandPool must:
591 * pname:commandPool is the handle of the command pool to destroy.
600 has a secondary command buffer allocated from pname:commandPool recorded
605 * [[VUID-vkDestroyCommandPool-commandPool-00041]]
[all …]

12