Home
last modified time | relevance | path

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

12345678

/external/mesa3d/src/virtio/venus-protocol/
Dvn_protocol_driver_command_pool.h142 static inline size_t vn_sizeof_vkDestroyCommandPool(VkDevice device, VkCommandPool commandPool, con… in vn_sizeof_vkDestroyCommandPool() argument
149 cmd_size += vn_sizeof_VkCommandPool(&commandPool); in vn_sizeof_vkDestroyCommandPool()
157 …oder *enc, VkCommandFlagsEXT cmd_flags, VkDevice device, VkCommandPool commandPool, const VkAlloca… in vn_encode_vkDestroyCommandPool() argument
165 vn_encode_VkCommandPool(enc, &commandPool); in vn_encode_vkDestroyCommandPool()
170 …_t vn_sizeof_vkDestroyCommandPool_reply(VkDevice device, VkCommandPool commandPool, const VkAlloca… in vn_sizeof_vkDestroyCommandPool_reply() argument
182 …ndPool_reply(struct vn_cs_decoder *dec, VkDevice device, VkCommandPool commandPool, const VkAlloca… in vn_decode_vkDestroyCommandPool_reply() argument
193 static inline size_t vn_sizeof_vkResetCommandPool(VkDevice device, VkCommandPool commandPool, VkCom… in vn_sizeof_vkResetCommandPool() argument
200 cmd_size += vn_sizeof_VkCommandPool(&commandPool); in vn_sizeof_vkResetCommandPool()
206 …oder *enc, VkCommandFlagsEXT cmd_flags, VkDevice device, VkCommandPool commandPool, VkCommandPoolR… in vn_encode_vkResetCommandPool() argument
214 vn_encode_VkCommandPool(enc, &commandPool); in vn_encode_vkResetCommandPool()
[all …]
/external/swiftshader/tests/VulkanWrapper/
DUtil.cpp42 vk::CommandBuffer beginSingleTimeCommands(vk::Device device, vk::CommandPool commandPool) in beginSingleTimeCommands() argument
46 allocInfo.commandPool = commandPool; in beginSingleTimeCommands()
59 void endSingleTimeCommands(vk::Device device, vk::CommandPool commandPool, vk::Queue queue, vk::Com… in endSingleTimeCommands() argument
71 device.freeCommandBuffers(commandPool, 1, &commandBuffer); in endSingleTimeCommands()
74 void transitionImageLayout(vk::Device device, vk::CommandPool commandPool, vk::Queue queue, vk::Ima… in transitionImageLayout() argument
76 vk::CommandBuffer commandBuffer = beginSingleTimeCommands(device, commandPool); in transitionImageLayout()
116 endSingleTimeCommands(device, commandPool, queue, commandBuffer); in transitionImageLayout()
119 void copyBufferToImage(vk::Device device, vk::CommandPool commandPool, vk::Queue queue, vk::Buffer … in copyBufferToImage() argument
121 vk::CommandBuffer commandBuffer = beginSingleTimeCommands(device, commandPool); in copyBufferToImage()
136 endSingleTimeCommands(device, commandPool, queue, commandBuffer); in copyBufferToImage()
DUtil.hpp27 vk::CommandBuffer beginSingleTimeCommands(vk::Device device, vk::CommandPool commandPool);
29 void endSingleTimeCommands(vk::Device device, vk::CommandPool commandPool, vk::Queue queue, vk::Com…
31 void transitionImageLayout(vk::Device device, vk::CommandPool commandPool, vk::Queue queue, vk::Ima…
33 void copyBufferToImage(vk::Device device, vk::CommandPool commandPool, vk::Queue queue, vk::Buffer …
DDrawTester.hpp70 …void onUpdateDescriptorSet(std::function<void(ThisType &tester, vk::CommandPool &commandPool, vk::…
132 …std::function<void(ThisType &tester, vk::CommandPool &commandPool, vk::DescriptorSet &descriptorSe… in __anon72a41e780502()
165 vk::CommandPool commandPool; // Owning handle member in DrawTester
195 …ateDescriptorSet(std::function<void(ThisType &tester, vk::CommandPool &commandPool, vk::Descriptor… in onUpdateDescriptorSet() argument
DDrawTester.cpp26 device.freeCommandBuffers(commandPool, commandBuffers); in ~DrawTester()
34 device.destroyCommandPool(commandPool, nullptr); in ~DrawTester()
330 commandPool = device.createCommandPool(commandPoolCreateInfo); in createCommandBuffers()
354 hooks.updateDescriptorSet(*this, commandPool, descriptorSets[0]); in createCommandBuffers()
358 commandBufferAllocateInfo.commandPool = commandPool; in createCommandBuffers()
/external/mesa3d/src/gfxstream/guest/vulkan/
Dgfxstream_vk_cmd.cpp36 void gfxstream_vk_DestroyCommandPool(VkDevice device, VkCommandPool commandPool, in gfxstream_vk_DestroyCommandPool() argument
39 if (VK_NULL_HANDLE == commandPool) { in gfxstream_vk_DestroyCommandPool()
43 VK_FROM_HANDLE(gfxstream_vk_command_pool, gfxstream_commandPool, commandPool); in gfxstream_vk_DestroyCommandPool()
54 VkResult gfxstream_vk_ResetCommandPool(VkDevice device, VkCommandPool commandPool, in gfxstream_vk_ResetCommandPool() argument
58 VK_FROM_HANDLE(gfxstream_vk_command_pool, gfxstream_commandPool, commandPool); in gfxstream_vk_ResetCommandPool()
83 VkResult vk_command_buffer_createOp(struct vk_command_pool* commandPool, VkCommandBufferLevel level, in vk_command_buffer_createOp() argument
87 (struct gfxstream_vk_command_buffer*)vk_zalloc(&commandPool->alloc, in vk_command_buffer_createOp()
92 vk_command_buffer_init(commandPool, &gfxstream_commandBuffer->vk, in vk_command_buffer_createOp()
119 VK_FROM_HANDLE(gfxstream_vk_command_pool, gfxstream_commandPool, pAllocateInfo->commandPool); in gfxstream_vk_AllocateCommandBuffers()
143 internal_allocateInfo.commandPool = gfxstream_commandPool->internal_object; in gfxstream_vk_AllocateCommandBuffers()
[all …]
/external/mesa3d/src/vulkan/runtime/
Dvk_command_pool.c127 VkCommandPool commandPool, in vk_common_DestroyCommandPool() argument
131 VK_FROM_HANDLE(vk_command_pool, pool, commandPool); in vk_common_DestroyCommandPool()
142 VkCommandPool commandPool, in vk_common_ResetCommandPool() argument
145 VK_FROM_HANDLE(vk_command_pool, pool, commandPool); in vk_common_ResetCommandPool()
208 VK_FROM_HANDLE(vk_command_pool, pool, pAllocateInfo->commandPool); in vk_common_AllocateCommandBuffers()
243 VkCommandPool commandPool, in vk_common_FreeCommandBuffers() argument
247 VK_FROM_HANDLE(vk_command_pool, pool, commandPool); in vk_common_FreeCommandBuffers()
268 VkCommandPool commandPool, in vk_common_TrimCommandPool() argument
271 VK_FROM_HANDLE(vk_command_pool, pool, commandPool); in vk_common_TrimCommandPool()
/external/swiftshader/tests/VulkanBenchmarks/
DClearImageBenchmarks.cpp57 commandPool = device.createCommandPool(commandPoolCreateInfo); in initialize()
60 commandBufferAllocateInfo.commandPool = commandPool; in initialize()
114 device.freeCommandBuffers(commandPool, 1, &commandBuffer); in ~ClearImageBenchmark()
115 device.destroyCommandPool(commandPool, nullptr); in ~ClearImageBenchmark()
136 vk::CommandPool commandPool; // Owning handle member in ClearImageBenchmark
DTriangleBenchmarks.cpp214 …tester.onUpdateDescriptorSet([](DrawTester &tester, vk::CommandPool &commandPool, vk::DescriptorSe… in TriangleSampleTexture() argument
245 …Util::transitionImageLayout(device, commandPool, queue, texture.getImage(), vk::Format::eR8G8B8A8U… in TriangleSampleTexture()
246 …Util::copyBufferToImage(device, commandPool, queue, buffer.getBuffer(), texture.getImage(), 16, 16… in TriangleSampleTexture()
247 …Util::transitionImageLayout(device, commandPool, queue, texture.getImage(), vk::Format::eR8G8B8A8U… in TriangleSampleTexture()
DComputeBenchmarks.cpp90 device.destroyCommandPool(commandPool); in ~BufferToBufferComputeBenchmark()
117 vk::CommandPool commandPool; member in BufferToBufferComputeBenchmark
249 commandPool = device.createCommandPool(commandPoolCreateInfo); in initialize()
252 commandBufferAllocateInfo.commandPool = commandPool; in initialize()
/external/virglrenderer/src/venus/venus-protocol/
Dvn_protocol_renderer_command_pool.h126 vn_decode_VkCommandPool_lookup(dec, &args->commandPool); in vn_decode_vkDestroyCommandPool_args_temp()
137 vn_replace_VkCommandPool_handle(&args->commandPool); in vn_replace_vkDestroyCommandPool_args_handle()
153 vn_decode_VkCommandPool_lookup(dec, &args->commandPool); in vn_decode_vkResetCommandPool_args_temp()
160 vn_replace_VkCommandPool_handle(&args->commandPool); in vn_replace_vkResetCommandPool_args_handle()
177 vn_decode_VkCommandPool_lookup(dec, &args->commandPool); in vn_decode_vkTrimCommandPool_args_temp()
184 vn_replace_VkCommandPool_handle(&args->commandPool); in vn_replace_vkTrimCommandPool_args_handle()
/external/mesa3d/src/nouveau/vulkan/
Dnvk_cmd_pool.c129 VkCommandPool commandPool, in nvk_DestroyCommandPool() argument
133 VK_FROM_HANDLE(nvk_cmd_pool, pool, commandPool); in nvk_DestroyCommandPool()
145 VkCommandPool commandPool, in nvk_TrimCommandPool() argument
148 VK_FROM_HANDLE(nvk_cmd_pool, pool, commandPool); in nvk_TrimCommandPool()
/external/mesa3d/src/asahi/vulkan/
Dhk_cmd_pool.c143 hk_DestroyCommandPool(VkDevice _device, VkCommandPool commandPool, in hk_DestroyCommandPool() argument
147 VK_FROM_HANDLE(hk_cmd_pool, pool, commandPool); in hk_DestroyCommandPool()
158 hk_TrimCommandPool(VkDevice device, VkCommandPool commandPool, in hk_TrimCommandPool() argument
161 VK_FROM_HANDLE(hk_cmd_pool, pool, commandPool); in hk_TrimCommandPool()
/external/vulkan-validation-layers/layers/
Dobject_tracker_utils.cpp570 skip |= ValidateObject(device, pAllocateInfo->commandPool, kVulkanObjectTypeCommandPool, false, in PreCallValidateAllocateCommandBuffers()
579 …AllocateCommandBuffer(device, pAllocateInfo->commandPool, pCommandBuffers[i], pAllocateInfo->level… in PostCallRecordAllocateCommandBuffers()
609 bool ObjectLifetimes::PreCallValidateFreeCommandBuffers(VkDevice device, VkCommandPool commandPool,… in PreCallValidateFreeCommandBuffers() argument
614 skip |= ValidateObject(device, commandPool, kVulkanObjectTypeCommandPool, false, in PreCallValidateFreeCommandBuffers()
618 skip |= ValidateCommandBuffer(device, commandPool, pCommandBuffers[i]); in PreCallValidateFreeCommandBuffers()
626 void ObjectLifetimes::PreCallRecordFreeCommandBuffers(VkDevice device, VkCommandPool commandPool, u… in PreCallRecordFreeCommandBuffers() argument
720 bool ObjectLifetimes::PreCallValidateDestroyCommandPool(VkDevice device, VkCommandPool commandPool, in PreCallValidateDestroyCommandPool() argument
725 skip |= ValidateObject(device, commandPool, kVulkanObjectTypeCommandPool, true, in PreCallValidateDestroyCommandPool()
729 …[commandPool](std::shared_ptr<ObjTrackState> pNode) { return pNode->parent_object == HandleToUint6… in PreCallValidateDestroyCommandPool()
732 … skip |= ValidateCommandBuffer(device, commandPool, reinterpret_cast<VkCommandBuffer>(itr.first)); in PreCallValidateDestroyCommandPool()
[all …]
/external/deqp/external/vulkancts/vkscserver/
DvksStructsVKSC.hpp178 : commandPool(0u) in VulkanCommandMemoryConsumption()
190 : commandPool(commandPool_) in VulkanCommandMemoryConsumption()
216 uint64_t commandPool; member
228 …serializer.Serialize(v.commandPool, v.commandBufferCount, v.currentCommandPoolAllocated, v.maxComm… in SerializeItem()
235 …serializer.Serialize(v.commandPool, v.commandBufferCount, v.currentCommandPoolAllocated, v.maxComm… in SerializeItem()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMakeUtil.cpp39 const VkCommandPool commandPool) in makeCommandBuffer() argument
41 return allocateCommandBuffer(vk, device, commandPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); in makeCommandBuffer()
/external/deqp/external/vulkancts/framework/vulkan/
DvkRefUtil.cpp80 Deleter<VkCommandBuffer>(vk, device, pAllocateInfo->commandPool)); in allocateCommandBuffer()
93 … Deleter<VkCommandBuffer>(vk, device, pAllocateInfo->commandPool)); in allocateCommandBuffers()
153 …uffer> allocateCommandBuffer(const DeviceInterface &vk, VkDevice device, VkCommandPool commandPool, in allocateCommandBuffer() argument
158 commandPool, level, 1}; in allocateCommandBuffer()
/external/mesa3d/src/panfrost/vulkan/
Dpanvk_cmd_pool.c50 panvk_DestroyCommandPool(VkDevice _device, VkCommandPool commandPool, in panvk_DestroyCommandPool() argument
54 VK_FROM_HANDLE(panvk_cmd_pool, pool, commandPool); in panvk_DestroyCommandPool()
/external/deqp/external/vulkancts/modules/vulkan/wsi/
DvktWsiColorSpaceTests.cpp330 … const VkCommandPool commandPool, const VkCommandBufferLevel level, in allocateCommandBuffers() argument
337 …mmandBufferSp(new Unique<VkCommandBuffer>(allocateCommandBuffer(vkd, device, commandPool, level))); in allocateCommandBuffers()
343 const VkCommandPool &commandPool, Allocator &allocator, const tcu::UVec2 size, in getPixel() argument
350 … commandBuffer = allocateCommandBuffer(vkd, device, commandPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); in getPixel()
477 const Move<VkCommandPool> commandPool(createCommandPool( in colorspaceCompareTest() local
482 allocateCommandBuffer(vkd, device, *commandPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); in colorspaceCompareTest()
534 … referenceColorspacePixel = getPixel(vkd, device, devHelper.queue, commandPool.get(), allocator, in colorspaceCompareTest()
540 …if (referenceColorspacePixel == getPixel(vkd, device, devHelper.queue, commandPool.get(), allocato… in colorspaceCompareTest()
584 const Unique<VkCommandPool> commandPool( in surfaceFormatRenderTest() local
602 …allocateCommandBuffers(vkd, device, *commandPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY, maxQueuedFrames… in surfaceFormatRenderTest()
DvktWsiPresentIdWaitTests.cpp105 … vk::VkCommandPool commandPool, vk::VkSwapchainKHR swapchain, size_t swapchainSize,
314 const vk::VkCommandPool commandPool, in allocateCommandBuffers() argument
321 … new vk::Unique<vk::VkCommandBuffer>(allocateCommandBuffer(vkd, device, commandPool, level))); in allocateCommandBuffers()
396 const vk::Unique<vk::VkCommandPool> commandPool(createCommandPool( in iterate() local
404 …return run(vkd, device, devHelper.queue, commandPool.get(), swapchain.get(), swapchainImages.size(… in iterate()
453 … vk::VkCommandPool commandPool, vk::VkSwapchainKHR swapchain, size_t swapchainSize,
506 … vk::VkCommandPool commandPool, vk::VkSwapchainKHR swapchain, in run() argument
510 FrameStreamObjects frameStreamObjects(vkd, device, commandPool, maxQueuedFrames); in run()
972 const vk::Unique<vk::VkCommandPool> commandPool(createCommandPool( in iterate() local
985 FrameStreamObjects frameStreamObjects1(vkd, device, commandPool.get(), maxQueuedFrames); in iterate()
[all …]
/external/skia/src/gpu/ganesh/vk/
DGrVkCommandPool.cpp47 GrVkCommandPool::GrVkCommandPool(GrVkGpu* gpu, VkCommandPool commandPool, in GrVkCommandPool() argument
50 , fCommandPool(commandPool) in GrVkCommandPool()
/external/deqp/external/vulkancts/modules/vulkan/conditional_rendering/
DvktConditionalIgnoreTests.cpp221 …const auto commandPool = createCommandPool(vkd, device, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, qInd… in iterate() local
222 …auto commandBuffer = allocateCommandBuffer(vkd, device, commandPool.get(), VK_COMMAND_BUFFER_L… in iterate()
223 …auto commandBuffer2 = allocateCommandBuffer(vkd, device, commandPool.get(), VK_COMMAND_BUFFER_L… in iterate()
224 …auto commandBuffer3 = allocateCommandBuffer(vkd, device, commandPool.get(), VK_COMMAND_BUFFER_L… in iterate()
/external/swiftshader/tests/VulkanUnitTests/
DComputeTests.cpp264 VkCommandPool commandPool; in test() local
265 VK_ASSERT(device->CreateCommandPool(&commandPool)); in test()
268 VK_ASSERT(device->AllocateCommandBuffer(commandPool, &commandBuffer)); in test()
300 device->FreeCommandBuffer(commandPool, commandBuffer); in test()
303 device->DestroyCommandPool(commandPool); in test()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesBufferRebind.cpp229 const Unique<VkCommandPool> commandPool( in iterate() local
270 …allocateCommandBuffer(deviceInterface, getDevice(), *commandPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY)… in iterate()
345 …allocateCommandBuffer(deviceInterface, getDevice(), *commandPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY)… in iterate()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiPipelineTests.cpp78 …Buffer> createCommandBuffer(const DeviceInterface &vkd, VkDevice device, VkCommandPool commandPool) in createCommandBuffer() argument
83 commandPool, // VkCommandPool commandPool; in createCommandBuffer()
168 …const Unique<VkCommandPool> commandPool(createCommandPool(vk, device, &commandPoolParams, nullptr)… in drawTriangleTest() local
169 const Unique<VkCommandBuffer> commandBuffer(createCommandBuffer(vk, device, commandPool.get())); in drawTriangleTest()
540 …const Unique<VkCommandPool> commandPool(createCommandPool(vk, device, &commandPoolParams, nullptr)… in framebufferCompatibleRenderPassTest() local
541 const Unique<VkCommandBuffer> commandBuffer(createCommandBuffer(vk, device, commandPool.get())); in framebufferCompatibleRenderPassTest()
864 …const Unique<VkCommandPool> commandPool(createCommandPool(vk, device, &commandPoolParams, nullptr)… in pipelineLayoutLifetimeTest() local
865 const Unique<VkCommandBuffer> commandBuffer(createCommandBuffer(vk, device, commandPool.get())); in pipelineLayoutLifetimeTest()
1537 …const Unique<VkCommandPool> commandPool(createCommandPool(vk, device, &commandPoolParams, nullptr)… in pipelineInvalidPointersUnusedStructsTest() local
1538 const Unique<VkCommandBuffer> commandBuffer(createCommandBuffer(vk, device, commandPool.get())); in pipelineInvalidPointersUnusedStructsTest()

12345678