Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
DVulkanHelper.cpp815 VkCommandBuffer commandBuffers[] = {VK_NULL_HANDLE}; in releaseImageAndSignalSemaphore() local
816 constexpr uint32_t commandBufferCount = std::extent<decltype(commandBuffers)>(); in releaseImageAndSignalSemaphore()
825 result = vkAllocateCommandBuffers(mDevice, &commandBufferAllocateInfo, commandBuffers); in releaseImageAndSignalSemaphore()
834 result = vkBeginCommandBuffer(commandBuffers[0], &commandBufferBeginInfo); in releaseImageAndSignalSemaphore()
837 ImageMemoryBarrier(commandBuffers[0], image, mGraphicsQueueFamilyIndex, in releaseImageAndSignalSemaphore()
840 result = vkEndCommandBuffer(commandBuffers[0]); in releaseImageAndSignalSemaphore()
856 /* .pCommandBuffers = */ commandBuffers, in releaseImageAndSignalSemaphore()
875 VkCommandBuffer commandBuffers[] = {VK_NULL_HANDLE}; in waitSemaphoreAndAcquireImage() local
876 constexpr uint32_t commandBufferCount = std::extent<decltype(commandBuffers)>(); in waitSemaphoreAndAcquireImage()
885 result = vkAllocateCommandBuffers(mDevice, &commandBufferAllocateInfo, commandBuffers); in waitSemaphoreAndAcquireImage()
[all …]
/third_party/skia/third_party/externals/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
/third_party/skia/third_party/externals/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
/third_party/vk-gl-cts/external/vulkan-docs/src/appendices/
DVK_HUAWEI_invocation_mask.txt50 commandBuffers[imageIndex],
52 vkCmdBindDescriptorSets(commandBuffers[imageIndex],
58 commandBuffers[imageIndex],
61 vkCmdTraceRaysKHR(commandBuffers[imageIndex],
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
DGPUQueue.cpp35 std::vector<interop::Interface<interop::GPUCommandBuffer>> commandBuffers) { in submit() argument
36 std::vector<wgpu::CommandBuffer> bufs(commandBuffers.size()); in submit()
37 for (size_t i = 0; i < commandBuffers.size(); i++) { in submit()
38 bufs[i] = *commandBuffers[i].As<GPUCommandBuffer>(); in submit()
DGPUQueue.h34 std::vector<interop::Interface<interop::GPUCommandBuffer>> commandBuffers) override;
/third_party/vk-gl-cts/external/vulkan-docs/src/proposals/
DVK_HUAWEI_invocation_mask.asciidoc126 commandBuffers[imageIndex],
128 vkCmdBindDescriptorSets(commandBuffers[imageIndex],
134 commandBuffers[imageIndex],
137 vkCmdTraceRaysKHR(commandBuffers[imageIndex],
/third_party/vk-gl-cts/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.cpp5151 const VkCommandBuffer commandBuffers[] = in renderPassTest() local
5159 queueSubmit(vk, queue, DE_LENGTH_OF_ARRAY(commandBuffers), commandBuffers, *fence); in renderPassTest()
5304 const TestConfig::CommandBufferTypes commandBuffers[] = in addAttachmentTests() local
5426 …choose<TestConfig::CommandBufferTypes>(DE_ARRAY_BEGIN(commandBuffers), DE_ARRAY_END(commandBuffers in addAttachmentTests()
5657 const TestConfig::CommandBufferTypes commandBuffers[] = in addAttachmentAllocationTests() local
5991 …choose<TestConfig::CommandBufferTypes>(DE_ARRAY_BEGIN(commandBuffers), DE_ARRAY_END(commandBuffers in addAttachmentAllocationTests()
6165 …choose<TestConfig::CommandBufferTypes>(DE_ARRAY_BEGIN(commandBuffers), DE_ARRAY_END(commandBuffers in addAttachmentAllocationTests()
/third_party/vk-gl-cts/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.cpp1331 …const vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, device, *commandPool,… in basicRenderTest() local
1359 const VkCommandBuffer commandBuffer = **commandBuffers[frameNdx%commandBuffers.size()]; in basicRenderTest()
1418 …, commandBuffers(allocateCommandBuffers(vkd, device, cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_PRIMARY,… in FrameStreamObjects()
1433 **commandBuffers[mod], in newFrame()
1443 const vector<CommandBufferSp> commandBuffers; member in vkt::wsi::__anondb995b5a0111::FrameStreamObjects
1761 …const vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, *groupDevice, *comman… in deviceGroupRenderTest() local
1800 const VkCommandBuffer commandBuffer = **commandBuffers[frameNdx%commandBuffers.size()]; in deviceGroupRenderTest()
2144 …const vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, *groupDevice, *comman… in deviceGroupRenderTest2() local
2183 const VkCommandBuffer commandBuffer = **commandBuffers[frameNdx%commandBuffers.size()]; in deviceGroupRenderTest2()
2325 …const vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, device, *commandPool,… in resizeSwapchainTest() local
[all …]
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()
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()
DvktWsiFullScreenExclusiveTests.cpp475 …const std::vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, device, *comma… in fullScreenExclusiveTest() local
547 const VkCommandBuffer commandBuffer = **commandBuffers[frameNdx%commandBuffers.size()]; in fullScreenExclusiveTest()
DvktWsiColorSpaceTests.cpp667 …const vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, device, *commandPool,… in surfaceFormatRenderTest() local
702 const VkCommandBuffer commandBuffer = **commandBuffers[frameNdx%commandBuffers.size()]; in surfaceFormatRenderTest()
DvktWsiPresentIdWaitTests.cpp337 …, commandBuffers (allocateCommandBuffers(vkd, device, cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_PRIM… in FrameStreamObjects()
352 **commandBuffers[mod], in newFrame()
362 const vector<CommandBufferSp> commandBuffers; member in vkt::wsi::__anonbbe84cff0111::FrameStreamObjects
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_wrapper.h143 const VkCommandBuffer *commandBuffers);
285 void executeCommands(uint32_t commandBufferCount, const CommandBuffer *commandBuffers);
654 const VkCommandBuffer *commandBuffers)
657 vkFreeCommandBuffers(device, mHandle, commandBufferCount, commandBuffers);
888 const CommandBuffer *commandBuffers)
891 vkCmdExecuteCommands(mHandle, commandBufferCount, commandBuffers[0].ptr());
/third_party/vk-gl-cts/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()
/third_party/skia/src/gpu/vk/
DGrVkCommandBuffer.cpp563 const VkCommandBuffer* commandBuffers, in submit_to_queue() argument
583 submitInfo.pCommandBuffers = commandBuffers; in submit_to_queue()
/third_party/vk-gl-cts/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()
/third_party/skia/third_party/externals/swiftshader/include/vulkan/
Dvulkan_funcs.hpp4306 std::vector<VULKAN_HPP_NAMESPACE::CommandBuffer, CommandBufferAllocator> commandBuffers( in allocateCommandBuffers() local
4311 reinterpret_cast<VkCommandBuffer *>( commandBuffers.data() ) ) ); in allocateCommandBuffers()
4312 …return createResultValue( result, commandBuffers, VULKAN_HPP_NAMESPACE_STRING "::Device::allocateC… in allocateCommandBuffers()
4326 std::vector<VULKAN_HPP_NAMESPACE::CommandBuffer, CommandBufferAllocator> commandBuffers( in allocateCommandBuffers() local
4331 reinterpret_cast<VkCommandBuffer *>( commandBuffers.data() ) ) ); in allocateCommandBuffers()
4332 …return createResultValue( result, commandBuffers, VULKAN_HPP_NAMESPACE_STRING "::Device::allocateC… in allocateCommandBuffers()
4344 std::vector<CommandBuffer> commandBuffers( allocateInfo.commandBufferCount ); in allocateCommandBuffersUnique() local
4348 reinterpret_cast<VkCommandBuffer *>( commandBuffers.data() ) ) ); in allocateCommandBuffersUnique()
4355 …uniqueCommandBuffers.push_back( UniqueHandle<CommandBuffer, Dispatch>( commandBuffers[i], deleter … in allocateCommandBuffersUnique()
4376 std::vector<CommandBuffer> commandBuffers( allocateInfo.commandBufferCount ); in allocateCommandBuffersUnique() local
[all …]

12