/third_party/mesa3d/src/virtio/venus-protocol/ |
H A D | vn_protocol_driver_command_pool.h | 142 static inline size_t vn_sizeof_vkDestroyCommandPool(VkDevice device, VkCommandPool commandPool, const VkAllocationCallbacks* pAllocator) in vn_sizeof_vkDestroyCommandPool() argument 149 cmd_size += vn_sizeof_VkCommandPool(&commandPool); in vn_sizeof_vkDestroyCommandPool() 157 static inline void vn_encode_vkDestroyCommandPool(struct vn_cs_encoder *enc, VkCommandFlagsEXT cmd_flags, VkDevice device, VkCommandPool commandPool, const VkAllocationCallbacks* pAllocator) in vn_encode_vkDestroyCommandPool() argument 165 vn_encode_VkCommandPool(enc, &commandPool); in vn_encode_vkDestroyCommandPool() 170 static inline size_t vn_sizeof_vkDestroyCommandPool_reply(VkDevice device, VkCommandPool commandPool, const VkAllocationCallbacks* pAllocator) in vn_sizeof_vkDestroyCommandPool_reply() argument 176 /* skip commandPool */ in vn_sizeof_vkDestroyCommandPool_reply() 182 static inline void vn_decode_vkDestroyCommandPool_reply(struct vn_cs_decoder *dec, VkDevice device, VkCommandPool commandPool, const VkAllocationCallbacks* pAllocator) in vn_decode_vkDestroyCommandPool_reply() argument 189 /* skip commandPool */ in vn_decode_vkDestroyCommandPool_reply() 193 static inline size_t vn_sizeof_vkResetCommandPool(VkDevice device, VkCommandPool commandPool, VkCommandPoolResetFlags flags) in vn_sizeof_vkResetCommandPool() argument 200 cmd_size += vn_sizeof_VkCommandPool(&commandPool); in vn_sizeof_vkResetCommandPool() 206 vn_encode_vkResetCommandPool(struct vn_cs_encoder *enc, VkCommandFlagsEXT cmd_flags, VkDevice device, VkCommandPool commandPool, VkCommandPoolResetFlags flags) vn_encode_vkResetCommandPool() argument 218 vn_sizeof_vkResetCommandPool_reply(VkDevice device, VkCommandPool commandPool, VkCommandPoolResetFlags flags) vn_sizeof_vkResetCommandPool_reply() argument 232 vn_decode_vkResetCommandPool_reply(struct vn_cs_decoder *dec, VkDevice device, VkCommandPool commandPool, VkCommandPoolResetFlags flags) vn_decode_vkResetCommandPool_reply() argument 247 vn_sizeof_vkTrimCommandPool(VkDevice device, VkCommandPool commandPool, VkCommandPoolTrimFlags flags) vn_sizeof_vkTrimCommandPool() argument 260 vn_encode_vkTrimCommandPool(struct vn_cs_encoder *enc, VkCommandFlagsEXT cmd_flags, VkDevice device, VkCommandPool commandPool, VkCommandPoolTrimFlags flags) vn_encode_vkTrimCommandPool() argument 272 vn_sizeof_vkTrimCommandPool_reply(VkDevice device, VkCommandPool commandPool, VkCommandPoolTrimFlags flags) vn_sizeof_vkTrimCommandPool_reply() argument 284 vn_decode_vkTrimCommandPool_reply(struct vn_cs_decoder *dec, VkDevice device, VkCommandPool commandPool, VkCommandPoolTrimFlags flags) vn_decode_vkTrimCommandPool_reply() argument 316 vn_submit_vkDestroyCommandPool(struct vn_instance *vn_instance, VkCommandFlagsEXT cmd_flags, VkDevice device, VkCommandPool commandPool, const VkAllocationCallbacks* pAllocator, struct vn_instance_submit_command *submit) vn_submit_vkDestroyCommandPool() argument 337 vn_submit_vkResetCommandPool(struct vn_instance *vn_instance, VkCommandFlagsEXT cmd_flags, VkDevice device, VkCommandPool commandPool, VkCommandPoolResetFlags flags, struct vn_instance_submit_command *submit) vn_submit_vkResetCommandPool() argument 358 vn_submit_vkTrimCommandPool(struct vn_instance *vn_instance, VkCommandFlagsEXT cmd_flags, VkDevice device, VkCommandPool commandPool, VkCommandPoolTrimFlags flags, struct vn_instance_submit_command *submit) vn_submit_vkTrimCommandPool() argument 401 vn_call_vkDestroyCommandPool(struct vn_instance *vn_instance, VkDevice device, VkCommandPool commandPool, const VkAllocationCallbacks* pAllocator) vn_call_vkDestroyCommandPool() argument 414 vn_async_vkDestroyCommandPool(struct vn_instance *vn_instance, VkDevice device, VkCommandPool commandPool, const VkAllocationCallbacks* pAllocator) vn_async_vkDestroyCommandPool() argument 420 vn_call_vkResetCommandPool(struct vn_instance *vn_instance, VkDevice device, VkCommandPool commandPool, VkCommandPoolResetFlags flags) vn_call_vkResetCommandPool() argument 436 vn_async_vkResetCommandPool(struct vn_instance *vn_instance, VkDevice device, VkCommandPool commandPool, VkCommandPoolResetFlags flags) vn_async_vkResetCommandPool() argument 442 vn_call_vkTrimCommandPool(struct vn_instance *vn_instance, VkDevice device, VkCommandPool commandPool, VkCommandPoolTrimFlags flags) vn_call_vkTrimCommandPool() argument 455 vn_async_vkTrimCommandPool(struct vn_instance *vn_instance, VkDevice device, VkCommandPool commandPool, VkCommandPoolTrimFlags flags) vn_async_vkTrimCommandPool() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/ |
H A D | Util.cpp | 40 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::CommandBuffer commandBuffer) in endSingleTimeCommands() argument 69 device.freeCommandBuffers(commandPool, 1, &commandBuffer); in endSingleTimeCommands() 72 void transitionImageLayout(vk::Device device, vk::CommandPool commandPool, vk::Queue queue, vk::Image image, vk::Format format, vk::ImageLayout oldLayout, vk::ImageLayout newLayout) 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 buffer, vk::Image image, uint32_t width, uint32_t height) in copyBufferToImage() argument 119 vk::CommandBuffer commandBuffer = beginSingleTimeCommands(device, commandPool); in copyBufferToImage() [all...] |
H A D | Util.hpp | 27 vk::CommandBuffer beginSingleTimeCommands(vk::Device device, vk::CommandPool commandPool); 29 void endSingleTimeCommands(vk::Device device, vk::CommandPool commandPool, vk::Queue queue, vk::CommandBuffer commandBuffer); 31 void transitionImageLayout(vk::Device device, vk::CommandPool commandPool, vk::Queue queue, vk::Image image, vk::Format format, vk::ImageLayout oldLayout, vk::ImageLayout newLayout); 33 void copyBufferToImage(vk::Device device, vk::CommandPool commandPool, vk::Queue queue, vk::Buffer buffer, vk::Image image, uint32_t width, uint32_t height);
|
H A D | DrawTester.hpp | 67 void onUpdateDescriptorSet(std::function<void(ThisType &tester, vk::CommandPool &commandPool, vk::DescriptorSet &descriptorSet)> callback); 129 std::function<void(ThisType &tester, vk::CommandPool &commandPool, vk::DescriptorSet &descriptorSet)> updateDescriptorSet = [](auto &, auto &, auto &) {}; 162 vk::CommandPool commandPool; // Owning handle member in DrawTester 192 inline void DrawTester::onUpdateDescriptorSet(std::function<void(ThisType &tester, vk::CommandPool &commandPool, vk::DescriptorSet &descriptorSet)> callback) in onUpdateDescriptorSet() argument
|
H A D | DrawTester.cpp | 26 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/ |
H A D | vk_command_pool.c | 91 VkCommandPool commandPool, in vk_common_DestroyCommandPool() 95 VK_FROM_HANDLE(vk_command_pool, pool, commandPool); in vk_common_DestroyCommandPool() 106 VkCommandPool commandPool, in vk_common_ResetCommandPool() 109 VK_FROM_HANDLE(vk_command_pool, pool, commandPool); in vk_common_ResetCommandPool() 136 VkCommandPool commandPool, in vk_common_FreeCommandBuffers() 152 VkCommandPool commandPool, in vk_common_TrimCommandPool() 90 vk_common_DestroyCommandPool(VkDevice _device, VkCommandPool commandPool, const VkAllocationCallbacks *pAllocator) vk_common_DestroyCommandPool() argument 105 vk_common_ResetCommandPool(VkDevice device, VkCommandPool commandPool, VkCommandPoolResetFlags flags) vk_common_ResetCommandPool() argument 135 vk_common_FreeCommandBuffers(VkDevice device, VkCommandPool commandPool, uint32_t commandBufferCount, const VkCommandBuffer *pCommandBuffers) vk_common_FreeCommandBuffers() argument 151 vk_common_TrimCommandPool(VkDevice device, VkCommandPool commandPool, VkCommandPoolTrimFlags flags) vk_common_TrimCommandPool() argument
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
H A D | lvp_cmd_buffer.c | 78 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() 212 VkCommandPool commandPool, in lvp_DestroyCommandPool() 216 LVP_FROM_HANDLE(lvp_cmd_pool, pool, commandPool); in lvp_DestroyCommandPool() 237 VkCommandPool commandPool, in lvp_ResetCommandPool() 240 LVP_FROM_HANDLE(lvp_cmd_pool, pool, commandPool); in lvp_ResetCommandPool() 254 VkCommandPool commandPool, in lvp_TrimCommandPool() 257 LVP_FROM_HANDLE(lvp_cmd_pool, pool, commandPool); in lvp_TrimCommandPool() 125 lvp_FreeCommandBuffers( VkDevice device, VkCommandPool commandPool, uint32_t commandBufferCount, const VkCommandBuffer* pCommandBuffers) lvp_FreeCommandBuffers() argument 210 lvp_DestroyCommandPool( VkDevice _device, VkCommandPool commandPool, const VkAllocationCallbacks* pAllocator) lvp_DestroyCommandPool() argument 235 lvp_ResetCommandPool( VkDevice device, VkCommandPool commandPool, VkCommandPoolResetFlags flags) lvp_ResetCommandPool() argument 252 lvp_TrimCommandPool( VkDevice device, VkCommandPool commandPool, VkCommandPoolTrimFlags flags) lvp_TrimCommandPool() argument
|
/third_party/skia/third_party/externals/swiftshader/tests/VulkanBenchmarks/ |
H A D | ClearImageBenchmarks.cpp | 55 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
|
H A D | TriangleBenchmarks.cpp | 214 tester.onUpdateDescriptorSet([](DrawTester &tester, vk::CommandPool &commandPool, vk::DescriptorSet &descriptorSet) { in TriangleSampleTexture() 245 Util::transitionImageLayout(device, commandPool, queue, texture.getImage(), vk::Format::eR8G8B8A8Unorm, vk::ImageLayout::eUndefined, vk::ImageLayout::eTransferDstOptimal); 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::eR8G8B8A8Unorm, vk::ImageLayout::eTransferDstOptimal, vk::ImageLayout::eShaderReadOnlyOptimal); in TriangleSampleTexture()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | CommandProcessor.cpp | 221 CommandPool *commandPool, in initFlushAndQueueSubmit() 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() 700 hasProtectedContent, priority, commandPool, in submitFrame() 885 PersistentCommandPool &commandPool = getCommandPool(batch.hasProtectedContent); in retireFinishedCommands() local 886 ANGLE_TRY(commandPool in retireFinishedCommands() 215 initFlushAndQueueSubmit( const std::vector<VkSemaphore> &waitSemaphores, const std::vector<VkPipelineStageFlags> &waitSemaphoreStageMasks, const Semaphore *semaphore, bool hasProtectedContent, egl::ContextPriority priority, CommandPool *commandPool, GarbageList &¤tGarbage, std::vector<CommandBuffer> &&commandBuffersToReset, Serial submitQueueSerial) initFlushAndQueueSubmit() argument 684 submitFrame( Context *context, bool hasProtectedContent, egl::ContextPriority priority, const std::vector<VkSemaphore> &waitSemaphores, const std::vector<VkPipelineStageFlags> &waitSemaphoreStageMasks, const Semaphore *signalSemaphore, GarbageList &¤tGarbage, std::vector<CommandBuffer> &&commandBuffersToReset, CommandPool *commandPool, Serial submitQueueSerial) submitFrame() argument 921 releaseToCommandBatch(bool hasProtectedContent, PrimaryCommandBuffer &&commandBuffer, CommandPool *commandPool, CommandBatch *batch) releaseToCommandBatch() argument 1024 submitFrame( Context *context, bool hasProtectedContent, egl::ContextPriority priority, const std::vector<VkSemaphore> &waitSemaphores, const std::vector<VkPipelineStageFlags> &waitSemaphoreStageMasks, const Semaphore *signalSemaphore, GarbageList &¤tGarbage, std::vector<CommandBuffer> &&commandBuffersToReset, CommandPool *commandPool, Serial submitQueueSerial) submitFrame() argument 1153 PersistentCommandPool &commandPool = getCommandPool(hasProtectedContent); ensurePrimaryCommandBufferValid() local [all...] |
H A D | CommandProcessor.h | 103 CommandPool *commandPool, 197 // commandPool is for secondary CommandBuffer allocation 198 CommandPool *commandPool; member 294 CommandPool *commandPool, 359 CommandPool *commandPool, 412 CommandPool *commandPool, 508 CommandPool *commandPool,
|
/third_party/vk-gl-cts/external/vulkancts/vkscserver/ |
H A D | vksStructsVKSC.hpp | 175 : commandPool (0u) in VulkanCommandMemoryConsumption() 187 : commandPool (commandPool_) in VulkanCommandMemoryConsumption() 210 deUint64 commandPool; member 222 serializer.Serialize(v.commandPool, v.commandBufferCount, v.currentCommandPoolAllocated, v.maxCommandPoolAllocated, v.currentCommandPoolReservedSize, v.maxCommandPoolReservedSize, v.currentCommandBufferAllocated, v.maxCommandBufferAllocated); in SerializeItem() 227 serializer.Serialize(v.commandPool, v.commandBufferCount, v.currentCommandPoolAllocated, v.maxCommandPoolAllocated, v.currentCommandPoolReservedSize, v.maxCommandPoolReservedSize, v.currentCommandBufferAllocated, v.maxCommandBufferAllocated); in SerializeItem()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/ |
H A D | vktWsiColorSpaceTests.cpp | 365 const VkCommandPool commandPool, in allocateCommandBuffers() 372 buffers[ndx] = CommandBufferSp(new Unique<VkCommandBuffer>(allocateCommandBuffer(vkd, device, commandPool, level))); in allocateCommandBuffers() 380 const VkCommandPool& commandPool, in getPixel() 390 commandBuffer = allocateCommandBuffer(vkd, device, commandPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); in getPixel() 523 const Move<VkCommandPool> commandPool (createCommandPool(vkd, in colorspaceCompareTest() 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_CREATE_RESET_COMMAND_BUFFER_BIT, devHelper.queueFamilyIndex)); in surfaceFormatRenderTest() 669 const vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, device, *commandPool, VK_COMMAND_BUFFER_LEVEL_PRIMAR in surfaceFormatRenderTest() 363 allocateCommandBuffers(const DeviceInterface& vkd, const VkDevice device, const VkCommandPool commandPool, const VkCommandBufferLevel level, const size_t numCommandBuffers) allocateCommandBuffers() argument 377 getPixel(const DeviceInterface& vkd, const VkDevice device, const VkQueue queue, const VkCommandPool& commandPool, Allocator& allocator, const tcu::UVec2 size, const tcu::TextureFormat textureFormat, const VkImage* image) getPixel() argument [all...] |
H A D | vktWsiPresentIdWaitTests.cpp | 103 vk::VkCommandPool commandPool, 333 const vk::VkCommandPool commandPool, in allocateCommandBuffers() 340 buffers[ndx] = CommandBufferSp(new vk::Unique<vk::VkCommandBuffer>(allocateCommandBuffer(vkd, device, commandPool, level))); in allocateCommandBuffers() 404 const vk::Unique<vk::VkCommandPool> commandPool (createCommandPool(vkd, device, vk::VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, devHelper.queueFamilyIndex)); in iterate() 417 return run(vkd, device, devHelper.queue, commandPool.get(), swapchain.get(), swapchainImages.size(), renderer); in iterate() 464 vk::VkCommandPool commandPool, 516 tcu::TestStatus PresentIdWaitSimpleInstance::run (const vk::DeviceInterface& vkd, vk::VkDevice device, vk::VkQueue queue, vk::VkCommandPool commandPool, vk::VkSwapchainKHR swapchain, size_t swapchainSize, const vk::wsi::WsiTriangleRenderer& renderer) in run() argument 519 FrameStreamObjects frameStreamObjects (vkd, device, commandPool, maxQueuedFrames); in run() 931 const vk::Unique<vk::VkCommandPool> commandPool (createCommandPool(vkd, device, vk::VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, devHelper.queueFamilyIndex)); in iterate() 955 FrameStreamObjects frameStreamObjects1 (vkd, device, commandPool in iterate() 331 allocateCommandBuffers(const vk::DeviceInterface& vkd, const vk::VkDevice device, const vk::VkCommandPool commandPool, const vk::VkCommandBufferLevel level, const size_t numCommandBuffers) allocateCommandBuffers() argument [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
H A D | DeviceVk.cpp | 290 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, nullpt in DestroyImpl() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/wsi/ |
H A D | vktWsiColorSpaceTests.cpp | 365 const VkCommandPool commandPool, in allocateCommandBuffers() 372 buffers[ndx] = CommandBufferSp(new Unique<VkCommandBuffer>(allocateCommandBuffer(vkd, device, commandPool, level))); in allocateCommandBuffers() 380 const VkCommandPool& commandPool, in getPixel() 390 commandBuffer = allocateCommandBuffer(vkd, device, commandPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); in getPixel() 523 const Move<VkCommandPool> commandPool (createCommandPool(vkd, in colorspaceCompareTest() 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_CREATE_RESET_COMMAND_BUFFER_BIT, devHelper.queueFamilyIndex)); in surfaceFormatRenderTest() 669 const vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, device, *commandPool, VK_COMMAND_BUFFER_LEVEL_PRIMAR in surfaceFormatRenderTest() 363 allocateCommandBuffers(const DeviceInterface& vkd, const VkDevice device, const VkCommandPool commandPool, const VkCommandBufferLevel level, const size_t numCommandBuffers) allocateCommandBuffers() argument 377 getPixel(const DeviceInterface& vkd, const VkDevice device, const VkQueue queue, const VkCommandPool& commandPool, Allocator& allocator, const tcu::UVec2 size, const tcu::TextureFormat textureFormat, const VkImage* image) getPixel() argument [all...] |
H A D | vktWsiPresentIdWaitTests.cpp | 103 vk::VkCommandPool commandPool, 333 const vk::VkCommandPool commandPool, in allocateCommandBuffers() 340 buffers[ndx] = CommandBufferSp(new vk::Unique<vk::VkCommandBuffer>(allocateCommandBuffer(vkd, device, commandPool, level))); in allocateCommandBuffers() 404 const vk::Unique<vk::VkCommandPool> commandPool (createCommandPool(vkd, device, vk::VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, devHelper.queueFamilyIndex)); in iterate() 417 return run(vkd, device, devHelper.queue, commandPool.get(), swapchain.get(), swapchainImages.size(), renderer); in iterate() 464 vk::VkCommandPool commandPool, 516 tcu::TestStatus PresentIdWaitSimpleInstance::run (const vk::DeviceInterface& vkd, vk::VkDevice device, vk::VkQueue queue, vk::VkCommandPool commandPool, vk::VkSwapchainKHR swapchain, size_t swapchainSize, const vk::wsi::WsiTriangleRenderer& renderer) in run() argument 519 FrameStreamObjects frameStreamObjects (vkd, device, commandPool, maxQueuedFrames); in run() 931 const vk::Unique<vk::VkCommandPool> commandPool (createCommandPool(vkd, device, vk::VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, devHelper.queueFamilyIndex)); in iterate() 955 FrameStreamObjects frameStreamObjects1 (vkd, device, commandPool in iterate() 331 allocateCommandBuffers(const vk::DeviceInterface& vkd, const vk::VkDevice device, const vk::VkCommandPool commandPool, const vk::VkCommandBufferLevel level, const size_t numCommandBuffers) allocateCommandBuffers() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineMakeUtil.cpp | 38 Move<VkCommandBuffer> makeCommandBuffer (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_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineMakeUtil.cpp | 38 Move<VkCommandBuffer> makeCommandBuffer (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/framework/vulkan/ |
H A D | vkRefUtil.cpp | 85 return Move<VkCommandBuffer>(check<VkCommandBuffer>(object), Deleter<VkCommandBuffer>(vk, device, pAllocateInfo->commandPool)); in allocateCommandBuffer() 95 pCommandBuffers[i] = Move<VkCommandBuffer>(check<VkCommandBuffer>(object), Deleter<VkCommandBuffer>(vk, device, pAllocateInfo->commandPool)); in allocateCommandBuffers() 185 VkCommandPool commandPool, in allocateCommandBuffer() 193 commandPool, in allocateCommandBuffer() 183 allocateCommandBuffer(const DeviceInterface& vk, VkDevice device, VkCommandPool commandPool, VkCommandBufferLevel level) allocateCommandBuffer() argument
|
/third_party/skia/third_party/externals/swiftshader/tests/VulkanUnitTests/ |
H A D | ComputeTests.cpp | 264 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()
|
/third_party/skia/src/gpu/vk/ |
H A D | GrVkCommandPool.cpp | 43 GrVkCommandPool::GrVkCommandPool(GrVkGpu* gpu, VkCommandPool commandPool, in GrVkCommandPool() argument 46 , fCommandPool(commandPool) in GrVkCommandPool()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/ |
H A D | vktMemoryBindingTests.cpp | 427 VkCommandPool commandPool) in createCommandBuffer() 433 commandPool, in createCommandBuffer() 776 Move<VkCommandPool> commandPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, 0); in fillUpResource() local 777 Move<VkCommandBuffer> cmdBuffer = createCommandBuffer(vk, vkDevice, *commandPool); in fillUpResource() 801 Move<VkCommandPool> commandPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, 0); in fillUpResource() local 802 Move<VkCommandBuffer> cmdBuffer = createCommandBuffer(vk, vkDevice, *commandPool); in fillUpResource() 843 Move<VkCommandPool> commandPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, 0); in readUpResource() local 844 Move<VkCommandBuffer> cmdBuffer = createCommandBuffer(vk, vkDevice, *commandPool); in readUpResource() 868 Move<VkCommandPool> commandPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, 0); in layoutTransitionResource() local 869 Move<VkCommandBuffer> cmdBuffer = createCommandBuffer(vk, vkDevice, *commandPool); in layoutTransitionResource() 425 createCommandBuffer(const DeviceInterface& vk, VkDevice device, VkCommandPool commandPool) createCommandBuffer() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/ |
H A D | vktMemoryBindingTests.cpp | 427 VkCommandPool commandPool) in createCommandBuffer() 433 commandPool, in createCommandBuffer() 776 Move<VkCommandPool> commandPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, 0); in fillUpResource() local 777 Move<VkCommandBuffer> cmdBuffer = createCommandBuffer(vk, vkDevice, *commandPool); in fillUpResource() 801 Move<VkCommandPool> commandPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, 0); in fillUpResource() local 802 Move<VkCommandBuffer> cmdBuffer = createCommandBuffer(vk, vkDevice, *commandPool); in fillUpResource() 843 Move<VkCommandPool> commandPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, 0); in readUpResource() local 844 Move<VkCommandBuffer> cmdBuffer = createCommandBuffer(vk, vkDevice, *commandPool); in readUpResource() 868 Move<VkCommandPool> commandPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, 0); in layoutTransitionResource() local 869 Move<VkCommandBuffer> cmdBuffer = createCommandBuffer(vk, vkDevice, *commandPool); in layoutTransitionResource() 425 createCommandBuffer(const DeviceInterface& vk, VkDevice device, VkCommandPool commandPool) createCommandBuffer() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering/ |
H A D | vktConditionalIgnoreTests.cpp | 211 const auto commandPool = createCommandPool(vkd, device, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, qIndex); in iterate() local 212 auto commandBuffer = allocateCommandBuffer(vkd, device, commandPool.get(), VK_COMMAND_BUFFER_LEVEL_PRIMARY); in iterate() 213 auto commandBuffer2 = allocateCommandBuffer(vkd, device, commandPool.get(), VK_COMMAND_BUFFER_LEVEL_SECONDARY); in iterate()
|