Home
last modified time | relevance | path

Searched refs:commandBuffers (Results 1 – 25 of 29) sorted by relevance

12

/external/angle/src/tests/test_utils/
DVulkanExternalHelper.cpp723 VkCommandBuffer commandBuffers[] = {VK_NULL_HANDLE}; in releaseImageAndSignalSemaphore() local
724 constexpr uint32_t commandBufferCount = std::extent<decltype(commandBuffers)>(); in releaseImageAndSignalSemaphore()
733 result = vkAllocateCommandBuffers(mDevice, &commandBufferAllocateInfo, commandBuffers); in releaseImageAndSignalSemaphore()
742 result = vkBeginCommandBuffer(commandBuffers[0], &commandBufferBeginInfo); in releaseImageAndSignalSemaphore()
745 ImageMemoryBarrier(commandBuffers[0], image, mGraphicsQueueFamilyIndex, in releaseImageAndSignalSemaphore()
748 result = vkEndCommandBuffer(commandBuffers[0]); in releaseImageAndSignalSemaphore()
764 /* .pCommandBuffers = */ commandBuffers, in releaseImageAndSignalSemaphore()
783 VkCommandBuffer commandBuffers[] = {VK_NULL_HANDLE}; in waitSemaphoreAndAcquireImage() local
784 constexpr uint32_t commandBufferCount = std::extent<decltype(commandBuffers)>(); in waitSemaphoreAndAcquireImage()
793 result = vkAllocateCommandBuffers(mDevice, &commandBufferAllocateInfo, commandBuffers); in waitSemaphoreAndAcquireImage()
[all …]
/external/swiftshader/src/Vulkan/
DVkCommandPool.cpp30 for(auto commandBuffer : commandBuffers) in destroy()
68 commandBuffers.insert(pCommandBuffers, pCommandBuffers + commandBufferCount); in allocateCommandBuffers()
77 commandBuffers.erase(pCommandBuffers[i]); in freeCommandBuffers()
87 for(auto commandBuffer : commandBuffers) in reset()
DVkCommandPool.hpp40 std::set<VkCommandBuffer> commandBuffers; member in vk::CommandPool
/external/swiftshader/tests/VulkanWrapper/
DDrawTester.cpp26 device.freeCommandBuffers(commandPool, commandBuffers); in ~DrawTester()
96 submitInfo.pCommandBuffers = &commandBuffers[currentFrameBuffer]; in renderFrame()
362 commandBuffers = device.allocateCommandBuffers(commandBufferAllocateInfo); in createCommandBuffers()
364 for(size_t i = 0; i < commandBuffers.size(); i++) in createCommandBuffers()
367 commandBuffers[i].begin(commandBufferBeginInfo); in createCommandBuffers()
380 commandBuffers[i].beginRenderPass(renderPassBeginInfo, vk::SubpassContents::eInline); in createCommandBuffers()
384 commandBuffers[i].setViewport(0, 1, &viewport); in createCommandBuffers()
387 commandBuffers[i].setScissor(0, 1, &scissor); in createCommandBuffers()
391commandBuffers[i].bindDescriptorSets(vk::PipelineBindPoint::eGraphics, pipelineLayout, 0, 1, &desc… in createCommandBuffers()
397 commandBuffers[i].bindPipeline(vk::PipelineBindPoint::eGraphics, pipeline); in createCommandBuffers()
[all …]
DDrawTester.hpp169 std::vector<vk::CommandBuffer> commandBuffers; // Owning handles member in DrawTester
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassMultipleSubpassesMultipleCommandBuffersTests.cpp799 std::vector<VkCommandBuffer> commandBuffers; in iterate() local
800 commandBuffers.emplace_back(m_cmdBufferA.get()); in iterate()
801 commandBuffers.emplace_back(m_cmdBufferB.get()); in iterate()
810 static_cast<deUint32>(commandBuffers.size()), // deUint32 commandBufferCount; in iterate()
811 commandBuffers.data(), // const VkCommandBuffer* pCommandBuffers; in iterate()
DvktRenderPassTests.cpp4794 const VkCommandBuffer commandBuffers[] = in renderPassTest() local
4802 queueSubmit(vk, queue, DE_LENGTH_OF_ARRAY(commandBuffers), commandBuffers, *fence); in renderPassTest()
4947 const TestConfig::CommandBufferTypes commandBuffers[] = in addAttachmentTests() local
5041 …choose<TestConfig::CommandBufferTypes>(DE_ARRAY_BEGIN(commandBuffers), DE_ARRAY_END(commandBuffers in addAttachmentTests()
5264 const TestConfig::CommandBufferTypes commandBuffers[] = in addAttachmentAllocationTests() local
5598 …choose<TestConfig::CommandBufferTypes>(DE_ARRAY_BEGIN(commandBuffers), DE_ARRAY_END(commandBuffers in addAttachmentAllocationTests()
5772 …choose<TestConfig::CommandBufferTypes>(DE_ARRAY_BEGIN(commandBuffers), DE_ARRAY_END(commandBuffers in addAttachmentAllocationTests()
/external/llvm-project/mlir/tools/mlir-vulkan-runner/
DVulkanRuntime.cpp131 vkFreeCommandBuffers(device, commandPool, commandBuffers.size(), in destroy()
132 commandBuffers.data()); in destroy()
836 commandBuffers.push_back(commandBuffer); in createComputeCommandBuffer()
847 submitInfo.commandBufferCount = commandBuffers.size(); in submitCommandBuffersToQueue()
848 submitInfo.pCommandBuffers = commandBuffers.data(); in submitCommandBuffersToQueue()
DVulkanRuntime.h204 std::vector<VkCommandBuffer> commandBuffers; variable
/external/deqp/external/vulkancts/modules/vulkan/wsi/
DvktWsiDisplayControlTests.cpp378 std::vector<VkCommandBuffer>& commandBuffers) in deinitCommandBuffers() argument
380 for (size_t ndx = 0; ndx < commandBuffers.size(); ndx++) in deinitCommandBuffers()
382 if (commandBuffers[ndx] != (VkCommandBuffer)0) in deinitCommandBuffers()
383 vkd.freeCommandBuffers(device, commandPool, 1u, &commandBuffers[ndx]); in deinitCommandBuffers()
385 commandBuffers[ndx] = (VkCommandBuffer)0; in deinitCommandBuffers()
388 commandBuffers.clear(); in deinitCommandBuffers()
DvktWsiSharedPresentableImageTests.cpp302 std::vector<vk::VkCommandBuffer>& commandBuffers) in deinitCommandBuffers() argument
304 for (size_t ndx = 0; ndx < commandBuffers.size(); ndx++) in deinitCommandBuffers()
306 if (commandBuffers[ndx] != (vk::VkCommandBuffer)0) in deinitCommandBuffers()
307 vkd.freeCommandBuffers(device, commandPool, 1u, &commandBuffers[ndx]); in deinitCommandBuffers()
309 commandBuffers[ndx] = (vk::VkCommandBuffer)0; in deinitCommandBuffers()
312 commandBuffers.clear(); in deinitCommandBuffers()
DvktWsiSwapchainTests.cpp1395 …const vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, device, *commandPool,… in basicRenderTest() local
1423 const VkCommandBuffer commandBuffer = **commandBuffers[frameNdx%commandBuffers.size()]; in basicRenderTest()
1482 …, commandBuffers(allocateCommandBuffers(vkd, device, cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_PRIMARY,… in FrameStreamObjects()
1497 **commandBuffers[mod], in newFrame()
1507 const vector<CommandBufferSp> commandBuffers; member in vkt::wsi::__anonf32b82c10111::FrameStreamObjects
1825 …const vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, *groupDevice, *comman… in deviceGroupRenderTest() local
1864 const VkCommandBuffer commandBuffer = **commandBuffers[frameNdx%commandBuffers.size()]; in deviceGroupRenderTest()
2208 …const vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, *groupDevice, *comman… in deviceGroupRenderTest2() local
2247 const VkCommandBuffer commandBuffer = **commandBuffers[frameNdx%commandBuffers.size()]; in deviceGroupRenderTest2()
2389 …const vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, device, *commandPool,… in resizeSwapchainTest() local
[all …]
DvktWsiFullScreenExclusiveTests.cpp473 …const std::vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, device, *comma… in fullScreenExclusiveTest() local
545 const VkCommandBuffer commandBuffer = **commandBuffers[frameNdx%commandBuffers.size()]; in fullScreenExclusiveTest()
DvktWsiIncrementalPresentTests.cpp395 std::vector<vk::VkCommandBuffer>& commandBuffers) in deinitCommandBuffers() argument
397 for (size_t ndx = 0; ndx < commandBuffers.size(); ndx++) in deinitCommandBuffers()
399 if (commandBuffers[ndx] != (vk::VkCommandBuffer)0) in deinitCommandBuffers()
400 vkd.freeCommandBuffers(device, commandPool, 1u, &commandBuffers[ndx]); in deinitCommandBuffers()
402 commandBuffers[ndx] = (vk::VkCommandBuffer)0; in deinitCommandBuffers()
405 commandBuffers.clear(); in deinitCommandBuffers()
DvktWsiDisplayTimingTests.cpp315 std::vector<vk::VkCommandBuffer>& commandBuffers) in deinitCommandBuffers() argument
317 for (size_t ndx = 0; ndx < commandBuffers.size(); ndx++) in deinitCommandBuffers()
319 if (commandBuffers[ndx] != (vk::VkCommandBuffer)0) in deinitCommandBuffers()
320 vkd.freeCommandBuffers(device, commandPool, 1u, &commandBuffers[ndx]); in deinitCommandBuffers()
322 commandBuffers[ndx] = (vk::VkCommandBuffer)0; in deinitCommandBuffers()
325 commandBuffers.clear(); in deinitCommandBuffers()
DvktWsiColorSpaceTests.cpp713 …const vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, device, *commandPool,… in surfaceFormatRenderTest() local
748 const VkCommandBuffer commandBuffer = **commandBuffers[frameNdx%commandBuffers.size()]; in surfaceFormatRenderTest()
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_wrapper.h143 const VkCommandBuffer *commandBuffers);
306 void executeCommands(uint32_t commandBufferCount, const CommandBuffer *commandBuffers);
694 const VkCommandBuffer *commandBuffers)
697 vkFreeCommandBuffers(device, mHandle, commandBufferCount, commandBuffers);
941 const CommandBuffer *commandBuffers)
944 vkCmdExecuteCommands(mHandle, commandBufferCount, commandBuffers[0].ptr());
/external/skqp/src/gpu/vk/
DGrVkCommandBuffer.cpp484 const VkCommandBuffer* commandBuffers, in submit_to_queue() argument
495 submitInfo.pCommandBuffers = commandBuffers; in submit_to_queue()
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemWsiSwapchainTests.cpp1172 const std::vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, in basicRenderTest() local
1237 const vk::VkCommandBuffer commandBuffer = **commandBuffers[frameNdx%commandBuffers.size()]; in basicRenderTest()
/external/skia/src/gpu/vk/
DGrVkCommandBuffer.cpp541 const VkCommandBuffer* commandBuffers, in submit_to_queue() argument
561 submitInfo.pCommandBuffers = commandBuffers; in submit_to_queue()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiCommandBuffersTests.cpp501 const Move<VkCommandBuffer> commandBuffers[] = in resetPoolReuseTest() local
507 if (!executeCommandBuffer(vkDevice, vk, queue, *(commandBuffers[0]))) in resetPoolReuseTest()
509 if (!executeCommandBuffer(vkDevice, vk, queue, *(commandBuffers[1]), true)) in resetPoolReuseTest()
514 if (!executeCommandBuffer(vkDevice, vk, queue, *(commandBuffers[0]))) in resetPoolReuseTest()
516 if (!executeCommandBuffer(vkDevice, vk, queue, *(commandBuffers[1]))) in resetPoolReuseTest()
DvktApiObjectManagementTests.cpp2277 vector<VkCommandBufferSp> commandBuffers; in createMultiple() local
2282commandBuffers.push_back(VkCommandBufferSp(new Move<VkCommandBuffer>(check<VkCommandBuffer>(pHandl… in createMultiple()
2285 return commandBuffers; in createMultiple()
/external/angle/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/
Dvulkan_funcs.hpp4035 …std::vector<CommandBuffer, CommandBufferAllocator> commandBuffers( allocateInfo.commandBufferCount… in allocateCommandBuffers() local
4039 reinterpret_cast<VkCommandBuffer *>( commandBuffers.data() ) ) ); in allocateCommandBuffers()
4040 …return createResultValue( result, commandBuffers, VULKAN_HPP_NAMESPACE_STRING "::Device::allocateC… in allocateCommandBuffers()
4053 …std::vector<CommandBuffer, CommandBufferAllocator> commandBuffers( allocateInfo.commandBufferCount, in allocateCommandBuffers() local
4058 reinterpret_cast<VkCommandBuffer *>( commandBuffers.data() ) ) ); in allocateCommandBuffers()
4059 …return createResultValue( result, commandBuffers, VULKAN_HPP_NAMESPACE_STRING "::Device::allocateC… in allocateCommandBuffers()
4069 std::vector<CommandBuffer> commandBuffers( allocateInfo.commandBufferCount ); in allocateCommandBuffersUnique() local
4073 reinterpret_cast<VkCommandBuffer *>( commandBuffers.data() ) ) ); in allocateCommandBuffersUnique()
4080 …uniqueCommandBuffers.push_back( UniqueHandle<CommandBuffer, Dispatch>( commandBuffers[i], deleter … in allocateCommandBuffersUnique()
4100 std::vector<CommandBuffer> commandBuffers( allocateInfo.commandBufferCount ); in allocateCommandBuffersUnique() local
[all …]
Dvulkan_raii.hpp3667 …ecuteCommands( ArrayProxy<const VULKAN_HPP_NAMESPACE::CommandBuffer> const & commandBuffers ) const
4173 std::vector<VkCommandBuffer> commandBuffers( allocateInfo.commandBufferCount ); in CommandBuffers() local
4177 commandBuffers.data() ) ); in CommandBuffers()
4181 for ( auto const & commandBuffer : commandBuffers ) in CommandBuffers()
10231 …ArrayProxy<const VULKAN_HPP_NAMESPACE::CommandBuffer> const & commandBuffers ) const VULKAN_HPP_NO… in executeCommands()
10234 commandBuffers.size(), in executeCommands()
10235 … reinterpret_cast<const VkCommandBuffer *>( commandBuffers.data() ) ); in executeCommands()
/external/vulkan-validation-layers/layers/
Dcore_validation_types.h93 std::unordered_set<VkCommandBuffer> commandBuffers; member

12