Home
last modified time | relevance | path

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

123456789

/third_party/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 …]
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
DUtil.cpp40 vk::CommandBuffer beginSingleTimeCommands(vk::Device device, vk::CommandPool commandPool) in beginSingleTimeCommands() argument
44 allocInfo.commandPool = commandPool; in beginSingleTimeCommands()
57 void endSingleTimeCommands(vk::Device device, vk::CommandPool commandPool, vk::Queue queue, vk::Com… in endSingleTimeCommands() argument
69 device.freeCommandBuffers(commandPool, 1, &commandBuffer); in endSingleTimeCommands()
72 void transitionImageLayout(vk::Device device, vk::CommandPool commandPool, vk::Queue queue, vk::Ima… in transitionImageLayout() argument
74 vk::CommandBuffer commandBuffer = beginSingleTimeCommands(device, commandPool); in transitionImageLayout()
114 endSingleTimeCommands(device, commandPool, queue, commandBuffer); in transitionImageLayout()
117 void copyBufferToImage(vk::Device device, vk::CommandPool commandPool, vk::Queue queue, vk::Buffer … in copyBufferToImage() argument
119 vk::CommandBuffer commandBuffer = beginSingleTimeCommands(device, commandPool); in copyBufferToImage()
134 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.hpp67 …void onUpdateDescriptorSet(std::function<void(ThisType &tester, vk::CommandPool &commandPool, vk::…
129 …std::function<void(ThisType &tester, vk::CommandPool &commandPool, vk::DescriptorSet &descriptorSe… in __anon19cf13c70502()
162 vk::CommandPool commandPool; // Owning handle member in DrawTester
192 …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()
/third_party/mesa3d/src/vulkan/runtime/
Dvk_command_pool.c91 VkCommandPool commandPool, in vk_common_DestroyCommandPool() argument
95 VK_FROM_HANDLE(vk_command_pool, pool, commandPool); in vk_common_DestroyCommandPool()
106 VkCommandPool commandPool, in vk_common_ResetCommandPool() argument
109 VK_FROM_HANDLE(vk_command_pool, pool, commandPool); in vk_common_ResetCommandPool()
136 VkCommandPool commandPool, in vk_common_FreeCommandBuffers() argument
152 VkCommandPool commandPool, in vk_common_TrimCommandPool() argument
/third_party/skia/third_party/externals/swiftshader/tests/VulkanBenchmarks/
DClearImageBenchmarks.cpp55 commandPool = device.createCommandPool(commandPoolCreateInfo); in initialize()
58 commandBufferAllocateInfo.commandPool = commandPool; in initialize()
102 device.freeCommandBuffers(commandPool, 1, &commandBuffer); in ~ClearImageBenchmark()
103 device.destroyCommandPool(commandPool, nullptr); in ~ClearImageBenchmark()
124 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()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_cmd_buffer.c78 LVP_FROM_HANDLE(lvp_cmd_pool, pool, pAllocateInfo->commandPool); in lvp_AllocateCommandBuffers()
109 lvp_FreeCommandBuffers(_device, pAllocateInfo->commandPool, in lvp_AllocateCommandBuffers()
127 VkCommandPool commandPool, in lvp_FreeCommandBuffers() argument
212 VkCommandPool commandPool, in lvp_DestroyCommandPool() argument
216 LVP_FROM_HANDLE(lvp_cmd_pool, pool, commandPool); in lvp_DestroyCommandPool()
237 VkCommandPool commandPool, in lvp_ResetCommandPool() argument
240 LVP_FROM_HANDLE(lvp_cmd_pool, pool, commandPool); in lvp_ResetCommandPool()
254 VkCommandPool commandPool, in lvp_TrimCommandPool() argument
257 LVP_FROM_HANDLE(lvp_cmd_pool, pool, commandPool); in lvp_TrimCommandPool()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DCommandProcessor.cpp221 CommandPool *commandPool, in initFlushAndQueueSubmit() argument
230 mCommandPool = commandPool; in initFlushAndQueueSubmit()
289 CommandBatch::CommandBatch() : commandPool(nullptr), hasProtectedContent(false) {} in CommandBatch()
301 std::swap(commandPool, other.commandPool); in operator =()
323 commandPool->freeCommandBuffers(device, 1, secondary.ptr()); in resetSecondaryCommandBuffers()
693 CommandPool *commandPool, in submitFrame() argument
700 hasProtectedContent, priority, commandPool, in submitFrame()
885 PersistentCommandPool &commandPool = getCommandPool(batch.hasProtectedContent); in retireFinishedCommands() local
886 ANGLE_TRY(commandPool.collect(context, std::move(batch.primaryCommands))); in retireFinishedCommands()
923 CommandPool *commandPool, in releaseToCommandBatch() argument
[all …]
DCommandProcessor.h103 CommandPool *commandPool,
198 CommandPool *commandPool; member
294 CommandPool *commandPool,
359 CommandPool *commandPool,
412 CommandPool *commandPool,
508 CommandPool *commandPool,
/third_party/flutter/skia/src/gpu/vk/
DGrVkCommandPool.cpp35 GrVkCommandPool::GrVkCommandPool(const GrVkGpu* gpu, VkCommandPool commandPool) in GrVkCommandPool() argument
36 : fCommandPool(commandPool) { in GrVkCommandPool()
53 SkASSERT(buffer->commandPool() == this); in recycleSecondaryCommandBuffer()
/third_party/vk-gl-cts/external/vulkancts/vkscserver/
DvksStructsVKSC.hpp175 : commandPool (0u) in VulkanCommandMemoryConsumption()
187 : commandPool (commandPool_) in VulkanCommandMemoryConsumption()
210 deUint64 commandPool; member
222 …serializer.Serialize(v.commandPool, v.commandBufferCount, v.currentCommandPoolAllocated, v.maxComm… in SerializeItem()
227 …serializer.Serialize(v.commandPool, v.commandBufferCount, v.currentCommandPoolAllocated, v.maxComm… in SerializeItem()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/
DvktWsiColorSpaceTests.cpp365 const VkCommandPool commandPool, in allocateCommandBuffers() argument
372 …mmandBufferSp(new Unique<VkCommandBuffer>(allocateCommandBuffer(vkd, device, commandPool, level))); in allocateCommandBuffers()
380 const VkCommandPool& commandPool, in getPixel() argument
390 commandBuffer = allocateCommandBuffer(vkd, device, commandPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); in getPixel()
523 const Move<VkCommandPool> commandPool (createCommandPool(vkd, in colorspaceCompareTest() local
531 *commandPool, in colorspaceCompareTest()
593 referenceColorspacePixel = getPixel(vkd, device, devHelper.queue, commandPool.get(), in colorspaceCompareTest()
600 if (referenceColorspacePixel == getPixel(vkd, device, devHelper.queue, commandPool.get(), in colorspaceCompareTest()
653 …const Unique<VkCommandPool> commandPool (createCommandPool(vkd, device, VK_COMMAND_POOL_CREAT… in surfaceFormatRenderTest() local
669 …const vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, device, *commandPool,… in surfaceFormatRenderTest()
DvktWsiPresentIdWaitTests.cpp103 vk::VkCommandPool commandPool,
333 const vk::VkCommandPool commandPool, in allocateCommandBuffers() argument
340 …ferSp(new vk::Unique<vk::VkCommandBuffer>(allocateCommandBuffer(vkd, device, commandPool, level))); in allocateCommandBuffers()
404 …const vk::Unique<vk::VkCommandPool> commandPool (createCommandPool(vkd, device, vk::VK_COMMAN… in iterate() local
417 …return run(vkd, device, devHelper.queue, commandPool.get(), swapchain.get(), swapchainImages.size(… in iterate()
464 vk::VkCommandPool commandPool,
516 …erface& vkd, vk::VkDevice device, vk::VkQueue queue, vk::VkCommandPool commandPool, vk::VkSwapchai… in run() argument
519 FrameStreamObjects frameStreamObjects (vkd, device, commandPool, maxQueuedFrames); in run()
931 …const vk::Unique<vk::VkCommandPool> commandPool (createCommandPool(vkd, device, vk::VK_COMMAN… in iterate() local
955 FrameStreamObjects frameStreamObjects1 (vkd, device, commandPool.get(), maxQueuedFrames); in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/wsi/
DvktWsiColorSpaceTests.cpp365 const VkCommandPool commandPool, in allocateCommandBuffers() argument
372 …mmandBufferSp(new Unique<VkCommandBuffer>(allocateCommandBuffer(vkd, device, commandPool, level))); in allocateCommandBuffers()
380 const VkCommandPool& commandPool, in getPixel() argument
390 commandBuffer = allocateCommandBuffer(vkd, device, commandPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); in getPixel()
523 const Move<VkCommandPool> commandPool (createCommandPool(vkd, in colorspaceCompareTest() local
531 *commandPool, in colorspaceCompareTest()
593 referenceColorspacePixel = getPixel(vkd, device, devHelper.queue, commandPool.get(), in colorspaceCompareTest()
600 if (referenceColorspacePixel == getPixel(vkd, device, devHelper.queue, commandPool.get(), in colorspaceCompareTest()
653 …const Unique<VkCommandPool> commandPool (createCommandPool(vkd, device, VK_COMMAND_POOL_CREAT… in surfaceFormatRenderTest() local
669 …const vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, device, *commandPool,… in surfaceFormatRenderTest()
DvktWsiPresentIdWaitTests.cpp103 vk::VkCommandPool commandPool,
333 const vk::VkCommandPool commandPool, in allocateCommandBuffers() argument
340 …ferSp(new vk::Unique<vk::VkCommandBuffer>(allocateCommandBuffer(vkd, device, commandPool, level))); in allocateCommandBuffers()
404 …const vk::Unique<vk::VkCommandPool> commandPool (createCommandPool(vkd, device, vk::VK_COMMAN… in iterate() local
417 …return run(vkd, device, devHelper.queue, commandPool.get(), swapchain.get(), swapchainImages.size(… in iterate()
464 vk::VkCommandPool commandPool,
516 …erface& vkd, vk::VkDevice device, vk::VkQueue queue, vk::VkCommandPool commandPool, vk::VkSwapchai… in run() argument
519 FrameStreamObjects frameStreamObjects (vkd, device, commandPool, maxQueuedFrames); in run()
931 …const vk::Unique<vk::VkCommandPool> commandPool (createCommandPool(vkd, device, vk::VK_COMMAN… in iterate() local
955 FrameStreamObjects frameStreamObjects1 (vkd, device, commandPool.get(), maxQueuedFrames); in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkRefUtil.cpp85 …(check<VkCommandBuffer>(object), Deleter<VkCommandBuffer>(vk, device, pAllocateInfo->commandPool)); in allocateCommandBuffer()
95 …(check<VkCommandBuffer>(object), Deleter<VkCommandBuffer>(vk, device, pAllocateInfo->commandPool)); in allocateCommandBuffers()
185 VkCommandPool commandPool, in allocateCommandBuffer() argument
193 commandPool, in allocateCommandBuffer()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DDeviceVk.cpp290 CommandPoolAndBuffer submittedCommands = {mRecordingContext.commandPool, in SubmitPendingCommands()
570 ASSERT(mRecordingContext.commandPool == VK_NULL_HANDLE); in PrepareRecordingContext()
594 mRecordingContext.commandPool = commands.pool; in PrepareRecordingContext()
604 &*mRecordingContext.commandPool), in PrepareRecordingContext()
610 allocateInfo.commandPool = mRecordingContext.commandPool; in PrepareRecordingContext()
855 CommandPoolAndBuffer commands = {mRecordingContext.commandPool, in WaitForIdleForDestruction()
924 if (mRecordingContext.commandPool != VK_NULL_HANDLE) { in DestroyImpl()
929 fn.FreeCommandBuffers(mVkDevice, mRecordingContext.commandPool, 1, in DestroyImpl()
931 fn.DestroyCommandPool(mVkDevice, mRecordingContext.commandPool, nullptr); in DestroyImpl()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineMakeUtil.cpp38 …keCommandBuffer (const DeviceInterface& vk, const VkDevice device, const VkCommandPool commandPool) in makeCommandBuffer() argument
40 return allocateCommandBuffer(vk, device, commandPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); in makeCommandBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMakeUtil.cpp38 …keCommandBuffer (const DeviceInterface& vk, const VkDevice device, const VkCommandPool commandPool) in makeCommandBuffer() argument
40 return allocateCommandBuffer(vk, device, commandPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); in makeCommandBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
DvktMemoryBindingTests.cpp427 VkCommandPool commandPool) in createCommandBuffer() argument
433 commandPool, in createCommandBuffer()
776 …Move<VkCommandPool> commandPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE… in fillUpResource() local
777 Move<VkCommandBuffer> cmdBuffer = createCommandBuffer(vk, vkDevice, *commandPool); in fillUpResource()
801 …Move<VkCommandPool> commandPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE… in fillUpResource() local
802 Move<VkCommandBuffer> cmdBuffer = createCommandBuffer(vk, vkDevice, *commandPool); in fillUpResource()
843 …Move<VkCommandPool> commandPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE… in readUpResource() local
844 Move<VkCommandBuffer> cmdBuffer = createCommandBuffer(vk, vkDevice, *commandPool); in readUpResource()
868 …Move<VkCommandPool> commandPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE… in layoutTransitionResource() local
869 Move<VkCommandBuffer> cmdBuffer = createCommandBuffer(vk, vkDevice, *commandPool); in layoutTransitionResource()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/
DvktMemoryBindingTests.cpp427 VkCommandPool commandPool) in createCommandBuffer() argument
433 commandPool, in createCommandBuffer()
776 …Move<VkCommandPool> commandPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE… in fillUpResource() local
777 Move<VkCommandBuffer> cmdBuffer = createCommandBuffer(vk, vkDevice, *commandPool); in fillUpResource()
801 …Move<VkCommandPool> commandPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE… in fillUpResource() local
802 Move<VkCommandBuffer> cmdBuffer = createCommandBuffer(vk, vkDevice, *commandPool); in fillUpResource()
843 …Move<VkCommandPool> commandPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE… in readUpResource() local
844 Move<VkCommandBuffer> cmdBuffer = createCommandBuffer(vk, vkDevice, *commandPool); in readUpResource()
868 …Move<VkCommandPool> commandPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE… in layoutTransitionResource() local
869 Move<VkCommandBuffer> cmdBuffer = createCommandBuffer(vk, vkDevice, *commandPool); in layoutTransitionResource()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_command_buffer.c470 VkCommandPool commandPool, in vn_DestroyCommandPool() argument
475 struct vn_command_pool *pool = vn_command_pool_from_handle(commandPool); in vn_DestroyCommandPool()
488 vn_async_vkDestroyCommandPool(dev->instance, device, commandPool, NULL); in vn_DestroyCommandPool()
503 VkCommandPool commandPool, in vn_ResetCommandPool() argument
508 struct vn_command_pool *pool = vn_command_pool_from_handle(commandPool); in vn_ResetCommandPool()
516 vn_async_vkResetCommandPool(dev->instance, device, commandPool, flags); in vn_ResetCommandPool()
523 VkCommandPool commandPool, in vn_TrimCommandPool() argument
529 vn_async_vkTrimCommandPool(dev->instance, device, commandPool, flags); in vn_TrimCommandPool()
542 vn_command_pool_from_handle(pAllocateInfo->commandPool); in vn_AllocateCommandBuffers()
587 VkCommandPool commandPool, in vn_FreeCommandBuffers() argument
[all …]
/third_party/skia/third_party/externals/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()

123456789