Home
last modified time | relevance | path

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

12

/external/angle/src/tests/test_utils/
DVulkanHelper.cpp914 VkCommandBuffer commandBuffers[] = {VK_NULL_HANDLE}; in releaseImageAndSignalSemaphore() local
915 constexpr uint32_t commandBufferCount = std::extent<decltype(commandBuffers)>(); in releaseImageAndSignalSemaphore()
924 result = vkAllocateCommandBuffers(mDevice, &commandBufferAllocateInfo, commandBuffers); in releaseImageAndSignalSemaphore()
933 result = vkBeginCommandBuffer(commandBuffers[0], &commandBufferBeginInfo); in releaseImageAndSignalSemaphore()
936 ImageMemoryBarrier(commandBuffers[0], image, mGraphicsQueueFamilyIndex, in releaseImageAndSignalSemaphore()
939 result = vkEndCommandBuffer(commandBuffers[0]); in releaseImageAndSignalSemaphore()
955 /* .pCommandBuffers = */ commandBuffers, in releaseImageAndSignalSemaphore()
974 VkCommandBuffer commandBuffers[] = {VK_NULL_HANDLE}; in waitSemaphoreAndAcquireImage() local
975 constexpr uint32_t commandBufferCount = std::extent<decltype(commandBuffers)>(); in waitSemaphoreAndAcquireImage()
984 result = vkAllocateCommandBuffers(mDevice, &commandBufferAllocateInfo, commandBuffers); in waitSemaphoreAndAcquireImage()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/sc/
DvktCommandPoolMemoryReservationTests.cpp184 std::vector<Move<VkCommandBuffer>> commandBuffers (testParams.commandBufferCount); in verifyCommandPoolAllocEqualsCommandBufferAlloc() local
193 allocateCommandBuffers(vk, device, &cmdBufferAllocateInfo, commandBuffers.data()); in verifyCommandPoolAllocEqualsCommandBufferAlloc()
208 beginCommandBuffer(vk, commandBuffers[i].get(), 0u); in verifyCommandPoolAllocEqualsCommandBufferAlloc()
212 vk.cmdSetEvent(commandBuffers[i].get(), events[j]->get(), VK_PIPELINE_STAGE_ALL_COMMANDS_BIT); in verifyCommandPoolAllocEqualsCommandBufferAlloc()
215 endCommandBuffer(vk, commandBuffers[i].get()); in verifyCommandPoolAllocEqualsCommandBufferAlloc()
221 beginCommandBuffer(vk, commandBuffers[i].get(), 0u); in verifyCommandPoolAllocEqualsCommandBufferAlloc()
224 vk.cmdSetEvent(commandBuffers[i].get(), events[j]->get(), VK_PIPELINE_STAGE_ALL_COMMANDS_BIT); in verifyCommandPoolAllocEqualsCommandBufferAlloc()
226 endCommandBuffer(vk, commandBuffers[i].get()); in verifyCommandPoolAllocEqualsCommandBufferAlloc()
251 vk.getCommandPoolMemoryConsumption(device, *cmdPool, commandBuffers[i].get(), &memConsumption); in verifyCommandPoolAllocEqualsCommandBufferAlloc()
DvktDeviceObjectReservationTests.cpp1421 std::vector<CommandBufferSp> commandBuffers(VERIFYMAXVALUES_OBJECT_COUNT); in performTest() local
1422 …ateCommandBuffers(vkd, device, commandPools[0]->get(), begin(commandBuffers), end(commandBuffers)); in performTest()
1423 …std::fill(begin(commandBuffers) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(commandBuffers), CommandBu… in performTest()
1424 …d, device, commandPools[0]->get(), begin(commandBuffers) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(c… in performTest()
1425 std::fill(begin(commandBuffers), end(commandBuffers), CommandBufferSp()); in performTest()
1426 …ateCommandBuffers(vkd, device, commandPools[0]->get(), begin(commandBuffers), end(commandBuffers)); in performTest()
/external/swiftshader/src/Vulkan/
DVkCommandPool.cpp32 for(auto commandBuffer : commandBuffers) in destroy()
72 commandBuffers.insert(pCommandBuffers, pCommandBuffers + commandBufferCount); in allocateCommandBuffers()
81 commandBuffers.erase(pCommandBuffers[i]); in freeCommandBuffers()
91 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.hpp172 std::vector<vk::CommandBuffer> commandBuffers; // Owning handles member in DrawTester
/external/deqp/external/vulkancts/modules/vulkan/wsi/
DvktWsiMaintenance1Tests.cpp863 …const std::vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, device, *commandPo… in presentFenceTest() local
896 beginCommandBuffer(vkd, **commandBuffers[i], 0u); in presentFenceTest()
933 vkd.cmdPipelineBarrier(**commandBuffers[i], in presentFenceTest()
950 …vkd.cmdClearColorImage(**commandBuffers[i], swapchainImages[j][imageIndex[j]], VK_IMAGE_LAYOUT_TRA… in presentFenceTest()
968 vkd.cmdPipelineBarrier(**commandBuffers[i], in presentFenceTest()
977 endCommandBuffer(vkd, **commandBuffers[i]); in presentFenceTest()
989 &**commandBuffers[i], in presentFenceTest()
1600 …const std::vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, device, *commandPo… in scalingTest() local
1668 beginCommandBuffer(vkd, **commandBuffers[i], 0u); in scalingTest()
1683 vkd.cmdPipelineBarrier(**commandBuffers[i], in scalingTest()
[all …]
DvktWsiDisplayControlTests.cpp379 std::vector<VkCommandBuffer>& commandBuffers) in deinitCommandBuffers() argument
381 for (size_t ndx = 0; ndx < commandBuffers.size(); ndx++) in deinitCommandBuffers()
383 if (commandBuffers[ndx] != (VkCommandBuffer)0) in deinitCommandBuffers()
384 vkd.freeCommandBuffers(device, commandPool, 1u, &commandBuffers[ndx]); in deinitCommandBuffers()
386 commandBuffers[ndx] = (VkCommandBuffer)0; in deinitCommandBuffers()
389 commandBuffers.clear(); in deinitCommandBuffers()
DvktWsiSharedPresentableImageTests.cpp304 std::vector<vk::VkCommandBuffer>& commandBuffers) in deinitCommandBuffers() argument
306 for (size_t ndx = 0; ndx < commandBuffers.size(); ndx++) in deinitCommandBuffers()
308 if (commandBuffers[ndx] != (vk::VkCommandBuffer)0) in deinitCommandBuffers()
309 vkd.freeCommandBuffers(device, commandPool, 1u, &commandBuffers[ndx]); in deinitCommandBuffers()
311 commandBuffers[ndx] = (vk::VkCommandBuffer)0; in deinitCommandBuffers()
314 commandBuffers.clear(); in deinitCommandBuffers()
DvktWsiSwapchainTests.cpp1335 …const vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, device, *commandPool,… in basicRenderTest() local
1363 const VkCommandBuffer commandBuffer = **commandBuffers[frameNdx%commandBuffers.size()]; in basicRenderTest()
1422 …, commandBuffers(allocateCommandBuffers(vkd, device, cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_PRIMARY,… in FrameStreamObjects()
1437 **commandBuffers[mod], in newFrame()
1447 const vector<CommandBufferSp> commandBuffers; member in vkt::wsi::__anon3901ed5f0111::FrameStreamObjects
1772 …const vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, *groupDevice, *comman… in deviceGroupRenderTest() local
1811 const VkCommandBuffer commandBuffer = **commandBuffers[frameNdx%commandBuffers.size()]; in deviceGroupRenderTest()
2155 …const vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, *groupDevice, *comman… in deviceGroupRenderTest2() local
2194 const VkCommandBuffer commandBuffer = **commandBuffers[frameNdx%commandBuffers.size()]; in deviceGroupRenderTest2()
2336 …const vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, device, *commandPool,… in resizeSwapchainTest() local
[all …]
DvktWsiIncrementalPresentTests.cpp397 std::vector<vk::VkCommandBuffer>& commandBuffers) in deinitCommandBuffers() argument
399 for (size_t ndx = 0; ndx < commandBuffers.size(); ndx++) in deinitCommandBuffers()
401 if (commandBuffers[ndx] != (vk::VkCommandBuffer)0) in deinitCommandBuffers()
402 vkd.freeCommandBuffers(device, commandPool, 1u, &commandBuffers[ndx]); in deinitCommandBuffers()
404 commandBuffers[ndx] = (vk::VkCommandBuffer)0; in deinitCommandBuffers()
407 commandBuffers.clear(); in deinitCommandBuffers()
DvktWsiDisplayTimingTests.cpp317 std::vector<vk::VkCommandBuffer>& commandBuffers) in deinitCommandBuffers() argument
319 for (size_t ndx = 0; ndx < commandBuffers.size(); ndx++) in deinitCommandBuffers()
321 if (commandBuffers[ndx] != (vk::VkCommandBuffer)0) in deinitCommandBuffers()
322 vkd.freeCommandBuffers(device, commandPool, 1u, &commandBuffers[ndx]); in deinitCommandBuffers()
324 commandBuffers[ndx] = (vk::VkCommandBuffer)0; in deinitCommandBuffers()
327 commandBuffers.clear(); in deinitCommandBuffers()
DvktWsiFullScreenExclusiveTests.cpp477 …const std::vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, device, *comma… in fullScreenExclusiveTest() local
549 const VkCommandBuffer commandBuffer = **commandBuffers[frameNdx%commandBuffers.size()]; in fullScreenExclusiveTest()
DvktWsiColorSpaceTests.cpp669 …const vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, device, *commandPool,… in surfaceFormatRenderTest() local
704 const VkCommandBuffer commandBuffer = **commandBuffers[frameNdx%commandBuffers.size()]; in surfaceFormatRenderTest()
DvktWsiPresentIdWaitTests.cpp360 …, commandBuffers (allocateCommandBuffers(vkd, device, cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_PRIM… in FrameStreamObjects()
375 **commandBuffers[mod], in newFrame()
385 const vector<CommandBufferSp> commandBuffers; member in vkt::wsi::__anondfa459840111::FrameStreamObjects
/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.cpp5283 const VkCommandBuffer commandBuffers[] = in renderPassTest() local
5291 queueSubmit(vk, queue, DE_LENGTH_OF_ARRAY(commandBuffers), commandBuffers, *fence); in renderPassTest()
5631 const TestConfig::CommandBufferTypes commandBuffers[] = in addAttachmentTests() local
5753 …choose<TestConfig::CommandBufferTypes>(DE_ARRAY_BEGIN(commandBuffers), DE_ARRAY_END(commandBuffers in addAttachmentTests()
5993 const TestConfig::CommandBufferTypes commandBuffers[] = in addAttachmentAllocationTests() local
6328 …choose<TestConfig::CommandBufferTypes>(DE_ARRAY_BEGIN(commandBuffers), DE_ARRAY_END(commandBuffers in addAttachmentAllocationTests()
6502 …choose<TestConfig::CommandBufferTypes>(DE_ARRAY_BEGIN(commandBuffers), DE_ARRAY_END(commandBuffers in addAttachmentAllocationTests()
/external/swiftshader/tests/VulkanBenchmarks/
DComputeBenchmarks.cpp255 auto commandBuffers = device.allocateCommandBuffers(commandBufferAllocateInfo); in initialize() local
258 commandBuffer = commandBuffers[0]; in initialize()
/external/skia/src/gpu/graphite/vk/
DVulkanCommandBuffer.cpp128 const VkCommandBuffer* commandBuffers, in submit_to_queue() argument
148 submitInfo.pCommandBuffers = commandBuffers; in submit_to_queue()
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_wrapper.h144 const VkCommandBuffer *commandBuffers);
292 void executeCommands(uint32_t commandBufferCount, const CommandBuffer *commandBuffers);
718 const VkCommandBuffer *commandBuffers)
721 vkFreeCommandBuffers(device, mHandle, commandBufferCount, commandBuffers);
949 const CommandBuffer *commandBuffers)
952 vkCmdExecuteCommands(mHandle, commandBufferCount, commandBuffers[0].ptr());
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemWsiSwapchainTests.cpp1174 const std::vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, in basicRenderTest() local
1239 const vk::VkCommandBuffer commandBuffer = **commandBuffers[frameNdx%commandBuffers.size()]; in basicRenderTest()
/external/skia/src/gpu/ganesh/vk/
DGrVkCommandBuffer.cpp535 const VkCommandBuffer* commandBuffers, in submit_to_queue() argument
555 submitInfo.pCommandBuffers = commandBuffers; in submit_to_queue()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiCommandBuffersTests.cpp507 const Move<VkCommandBuffer> commandBuffers[] = in resetPoolReuseTest() local
519 if (!executeCommandBuffer(vkDevice, vk, queue, *(commandBuffers[0])) && canFinishEarlier) in resetPoolReuseTest()
521 if (!executeCommandBuffer(vkDevice, vk, queue, *(commandBuffers[1]), true) && canFinishEarlier) in resetPoolReuseTest()
526 if (!executeCommandBuffer(vkDevice, vk, queue, *(commandBuffers[0])) && canFinishEarlier) in resetPoolReuseTest()
528 if (!executeCommandBuffer(vkDevice, vk, queue, *(commandBuffers[1])) && canFinishEarlier) in resetPoolReuseTest()
/external/angle/src/libANGLE/renderer/metal/
Dmtl_command_buffer.mm492 std::deque<CmdBufferQueueEntry> commandBuffers;
495 mMetalCmdBuffers.swap(commandBuffers);
497 for (CmdBufferQueueEntry &entry : commandBuffers)

12