Home
last modified time | relevance | path

Searched refs:cmdPool (Results 1 – 25 of 215) sorted by relevance

123456789

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiCommandBuffersTests.cpp427 …const Unique<VkCommandPool> cmdPool (createCommandPool(vk, vkDevice, &cmdPoolParams, DE_NUL… in resetPoolReleaseResourcesBitTest() local
429 VK_CHECK(vk.resetCommandPool(vkDevice, *cmdPool, VK_COMMAND_POOL_RESET_RELEASE_RESOURCES_BIT)); in resetPoolReleaseResourcesBitTest()
448 …const Unique<VkCommandPool> cmdPool (createCommandPool(vk, vkDevice, &cmdPoolParams, DE_NUL… in resetPoolNoFlagsTest() local
450 VK_CHECK(vk.resetCommandPool(vkDevice, *cmdPool, 0u)); in resetPoolNoFlagsTest()
492 …const Unique<VkCommandPool> cmdPool (createCommandPool(vk, vkDevice, &cmdPoolParams, DE_NULL)… in resetPoolReuseTest() local
497 *cmdPool, // commandPool; in resetPoolReuseTest()
512 VK_CHECK(vk.resetCommandPool(vkDevice, *cmdPool, VK_COMMAND_POOL_RESET_RELEASE_RESOURCES_BIT)); in resetPoolReuseTest()
542 const Unique<VkCommandPool> cmdPool (createCommandPool(vk, vkDevice, &cmdPoolParams)); in allocatePrimaryBufferTest() local
549 *cmdPool, // commandPool; in allocatePrimaryBufferTest()
572 const Unique<VkCommandPool> cmdPool (createCommandPool(vk, vkDevice, &cmdPoolParams)); in allocateManyPrimaryBuffersTest() local
[all …]
DvktApiNullHandleTests.cpp142 inline void release (Context& context, VkDevice device, VkCommandPool cmdPool, deUint32 numCmdBuffe… in release() argument
145 DE_ASSERT(cmdPool != DE_NULL); in release()
147 context.getDeviceInterface().freeCommandBuffers(device, cmdPool, numCmdBuffers, pCmdBuffers); in release()
206 const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, &cmdPoolCreateInfo)); in test() local
208 release(context, device, *cmdPool, numHandles, pNullHandles); in test()
214 …const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, &cmdPoolCreateInfo, recordi… in test() local
217 release(context, device, *cmdPool, numHandles, pNullHandles); in test()
DvktApiDescriptorSetTests.cpp214 const Unique<VkCommandPool> cmdPool(createCommandPool(vk, device, &cmdPoolInfo)); in descriptorSetLayoutLifetimeGraphicsTest() local
220 *cmdPool, // VkCommandPool pool; in descriptorSetLayoutLifetimeGraphicsTest()
308 const Unique<VkCommandPool> cmdPool(createCommandPool(vk, device, &cmdPoolInfo)); in descriptorSetLayoutLifetimeComputeTest() local
314 *cmdPool, // VkCommandPool pool; in descriptorSetLayoutLifetimeComputeTest()
526 const Unique<VkCommandPool> cmdPool(createCommandPool(vk, device, &cmdPoolInfo)); in descriptorSetLayoutBindingOrderingTest() local
532 *cmdPool, // VkCommandPool pool; in descriptorSetLayoutBindingOrderingTest()
/third_party/flutter/skia/src/gpu/vk/
DGrVkCommandBuffer.h123 GrVkCommandBuffer(VkCommandBuffer cmdBuffer, GrVkCommandPool* cmdPool,
128 , fCmdPool(cmdPool) in fIsActive()
201 static GrVkPrimaryCommandBuffer* Create(const GrVkGpu* gpu, GrVkCommandPool* cmdPool);
303 explicit GrVkPrimaryCommandBuffer(VkCommandBuffer cmdBuffer, GrVkCommandPool* cmdPool) in GrVkPrimaryCommandBuffer() argument
304 : INHERITED(cmdBuffer, cmdPool) in GrVkPrimaryCommandBuffer()
322 static GrVkSecondaryCommandBuffer* Create(const GrVkGpu* gpu, GrVkCommandPool* cmdPool);
335 explicit GrVkSecondaryCommandBuffer(VkCommandBuffer cmdBuffer, GrVkCommandPool* cmdPool) in GrVkSecondaryCommandBuffer() argument
336 : INHERITED(cmdBuffer, cmdPool) {} in GrVkSecondaryCommandBuffer()
DGrVkCommandBuffer.cpp377 GrVkCommandPool* cmdPool) { in Create() argument
381 cmdPool->vkCommandPool(), // commandPool in Create()
393 return new GrVkPrimaryCommandBuffer(cmdBuffer, cmdPool); in Create()
865 GrVkCommandPool* cmdPool) { in Create() argument
866 SkASSERT(cmdPool); in Create()
870 cmdPool->vkCommandPool(), // commandPool in Create()
882 return new GrVkSecondaryCommandBuffer(cmdBuffer, cmdPool); in Create()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationBasicEventTests.cpp94 …const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RE… in deviceResetSetEventCase() local
95 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(vk, device, *cmdPool)); in deviceResetSetEventCase()
168 …const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RE… in singleSubmissionCase() local
169 …dBuffer[COUNT] = { makeCommandBuffer(vk, device, *cmdPool), makeCommandBuffer(vk, device, *cmdPo… in singleSubmissionCase()
213 …const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RESE… in multiSubmissionCase() local
214 …CmdBuffer[COUNT] = { makeCommandBuffer(vk, device, *cmdPool), makeCommandBuffer(vk, device, *cmdPo… in multiSubmissionCase()
276 …const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_R… in secondaryCommandBufferCase() local
277 const Move<VkCommandBuffer> primaryCmdBuffer (makeCommandBuffer(vk, device, *cmdPool)); in secondaryCommandBufferCase()
282 *cmdPool, // VkCommandPool commandPool; in secondaryCommandBufferCase()
DvktSynchronizationBasicFenceTests.cpp54 …const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RESE… in basicOneFenceCase() local
55 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(vk, device, *cmdPool)); in basicOneFenceCase()
152 …const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RESE… in basicMultiFenceCase() local
153 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(vk, device, *cmdPool)); in basicMultiFenceCase()
254 …const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RESE… in basicMultiFenceWaitAllFalseCase() local
255 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(vk, device, *cmdPool)); in basicMultiFenceWaitAllFalseCase()
DvktSynchronizationOperationSingleQueueTests.cpp89 …const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RES… in iterate() local
90 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(vk, device, *cmdPool)); in iterate()
174 …const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RES… in iterate() local
175 const Move<VkCommandBuffer> cmdBuffer (makeCommandBuffer(vk, device, *cmdPool)); in iterate()
259 …const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RES… in iterate() local
260 …CmdBuffer[COUNT] = {makeCommandBuffer(vk, device, *cmdPool), makeCommandBuffer(vk, device, *cmdPo… in iterate()
407 …const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, VK_COMMAND_POOL_CRE… in iterate() local
417 ptrCmdBuffers.push_back(makeVkSharedPtr(makeCommandBuffer(vk, device, *cmdPool))); in iterate()
534 …const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_R… in iterate() local
535 …dBuffer[COUNT] = {makeCommandBuffer(vk, device, *cmdPool), makeCommandBuffer(vk, device, *cmdPo… in iterate()
DvktSynchronizationBasicSemaphoreTests.cpp74 …const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RE… in basicOneQueueCase() local
75 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(vk, device, *cmdPool)); in basicOneQueueCase()
355 Move<VkCommandPool> cmdPool[COUNT]; in basicMultiQueueCase() local
437cmdPool[FIRST] = (createCommandPool(vk, *logicalDevice, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFF… in basicMultiQueueCase()
438cmdPool[SECOND] = (createCommandPool(vk, *logicalDevice, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUF… in basicMultiQueueCase()
439 cmdBuffer[FIRST] = (makeCommandBuffer(vk, *logicalDevice, *cmdPool[FIRST])); in basicMultiQueueCase()
440 cmdBuffer[SECOND] = (makeCommandBuffer(vk, *logicalDevice, *cmdPool[SECOND])); in basicMultiQueueCase()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/query_pool/
DvktQueryPoolPerformanceTests.cpp572 Unique<VkCommandPool> cmdPool (createCommandPool(vkd, device, &cmdPoolCreateInfo)); in iterate() local
573 …Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer(vkd, device, *cmdPool, VK_COMMAND_BUFF… in iterate()
588 …Unique<VkCommandBuffer> resetCmdBuffer (allocateCommandBuffer(vkd, device, *cmdPool, VK_COMMAND_B… in iterate()
707 Unique<VkCommandPool> cmdPool (createCommandPool(vkd, device, &cmdPoolCreateInfo)); in iterate() local
708 …Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer(vkd, device, *cmdPool, VK_COMMAND_BUFF… in iterate()
724 …Unique<VkCommandBuffer> resetCmdBuffer (allocateCommandBuffer(vkd, device, *cmdPool, VK_COMMAND_B… in iterate()
857 const Unique<VkCommandPool> cmdPool(createCommandPool(vkd, device, &cmdPoolCreateInfo)); in initStateObjects() local
858 …const Unique<VkCommandBuffer> cmdBuffer(allocateCommandBuffer(vkd, device, *cmdPool, VK_COMMAND_BU… in initStateObjects()
971 const Unique<VkCommandPool> cmdPool (createCommandPool(vkd, device, &cmdPoolCreateInfo)); in iterate() local
972 …const Unique<VkCommandBuffer> resetCmdBuffer (allocateCommandBuffer(vkd, device, *cmdPool, VK_COM… in iterate()
[all …]
DvktQueryPoolStatisticsTests.cpp509 virtual tcu::TestStatus executeTest (const VkCommandPool& cmdPool,
574 const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, &cmdPoolCreateInfo)); in iterate() local
576 return executeTest (*cmdPool, *pipelineLayout, *descriptorSet, buffer, bufferSizeBytes); in iterate()
579 tcu::TestStatus ComputeInvocationsTestInstance::executeTest (const VkCommandPool& cmdPool, in executeTest() argument
630 …const Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer(vk, device, cmdPool, VK_COMMAND_B… in executeTest()
765 tcu::TestStatus executeTest (const VkCommandPool& cmdPool,
779 …u::TestStatus ComputeInvocationsSecondaryTestInstance::executeTest (const VkCommandPool& cmdPool, in executeTest() argument
847 …const Unique<VkCommandBuffer> primaryCmdBuffer (allocateCommandBuffer(vk, device, cmdPool, VK… in executeTest()
848 …const Unique<VkCommandBuffer> secondaryCmdBuffer (allocateCommandBuffer(vk, device, cmdPool, … in executeTest()
1010 tcu::TestStatus executeTest (const VkCommandPool& cmdPool,
[all …]
/third_party/skia/src/gpu/vk/
DGrVkCommandBuffer.cpp42 void GrVkCommandBuffer::freeGPUData(const GrGpu* gpu, VkCommandPool cmdPool) const { in freeGPUData()
49 SkASSERT(cmdPool != VK_NULL_HANDLE); in freeGPUData()
53 GR_VK_CALL(vkGpu->vkInterface(), FreeCommandBuffers(vkGpu->device(), cmdPool, 1, &fCmdBuffer)); in freeGPUData()
403 VkCommandPool cmdPool) { in Create() argument
407 cmdPool, // commandPool in Create()
681 void GrVkPrimaryCommandBuffer::recycleSecondaryCommandBuffers(GrVkCommandPool* cmdPool) { in recycleSecondaryCommandBuffers() argument
683 fSecondaryCommandBuffers[i].release()->recycle(cmdPool); in recycleSecondaryCommandBuffers()
911 GrVkCommandPool* cmdPool) { in Create() argument
912 SkASSERT(cmdPool); in Create()
916 cmdPool->vkCommandPool(), // commandPool in Create()
[all …]
DGrVkCommandBuffer.h209 static GrVkPrimaryCommandBuffer* Create(GrVkGpu* gpu, VkCommandPool cmdPool);
321 void recycleSecondaryCommandBuffers(GrVkCommandPool* cmdPool);
341 static GrVkSecondaryCommandBuffer* Create(GrVkGpu* gpu, GrVkCommandPool* cmdPool);
350 void recycle(GrVkCommandPool* cmdPool);
DGrVkOpsRenderPass.cpp249 SkASSERT(fGpu->cmdPool()); in init()
250 fCurrentSecondaryCommandBuffer = fGpu->cmdPool()->findOrCreateSecondaryCommandBuffer(fGpu); in init()
396 SkASSERT(fGpu->cmdPool()); in reset()
397 fCurrentSecondaryCommandBuffer.release()->recycle(fGpu->cmdPool()); in reset()
578 SkASSERT(fGpu->cmdPool()); in addAdditionalRenderPass()
579 fCurrentSecondaryCommandBuffer = fGpu->cmdPool()->findOrCreateSecondaryCommandBuffer(fGpu); in addAdditionalRenderPass()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemImageValidator.cpp213 …vk::Unique<vk::VkCommandPool> cmdPool (makeCommandPool(vk, device, PROTECTION_ENABLED, queueF… in validateImage() local
219 …vk::Unique<vk::VkCommandBuffer> resetCmdBuffer (vk::allocateCommandBuffer(vk, device, *cmdPool, … in validateImage()
235 …vk::Unique<vk::VkCommandBuffer> cmdBuffer (vk::allocateCommandBuffer(vk, device, *cmdPool, vk::… in validateImage()
DvktProtectedMemBufferValidator.hpp272 …vk::Unique<vk::VkCommandPool> cmdPool (makeCommandPool(vk, device, PROTECTION_ENABLED, queueF… in validateBuffer() local
278 …vk::Unique<vk::VkCommandBuffer> resetCmdBuffer (vk::allocateCommandBuffer(vk, device, *cmdPool, … in validateBuffer()
294 …vk::Unique<vk::VkCommandBuffer> cmdBuffer (vk::allocateCommandBuffer(vk, device, *cmdPool, vk::… in validateBuffer()
DvktProtectedMemClearColorImageTests.cpp139 …vk::Unique<vk::VkCommandPool> cmdPool (makeCommandPool(vk, device, PROTECTION_ENABLED, queueFa… in iterate() local
140 …vk::Unique<vk::VkCommandBuffer> cmdBuffer (vk::allocateCommandBuffer(vk, device, *cmdPool, vk::… in iterate()
141 …mmandBuffer> secondaryCmdBuffer (vk::allocateCommandBuffer(vk, device, *cmdPool, vk::VK_COMMAND_B… in iterate()
DvktProtectedMemCopyBufferToImageTests.cpp147 …vk::Unique<vk::VkCommandPool> cmdPool (makeCommandPool(vk, device, PROTECTION_ENABLED, queueFa… in iterate() local
148 …vk::Unique<vk::VkCommandBuffer> cmdBuffer (vk::allocateCommandBuffer(vk, device, *cmdPool, vk::… in iterate()
149 …mmandBuffer> secondaryCmdBuffer (vk::allocateCommandBuffer(vk, device, *cmdPool, vk::VK_COMMAND_B… in iterate()
DvktProtectedMemUtils.cpp616 …vk::Unique<vk::VkCommandPool> cmdPool (makeCommandPool(vk, device, PROTECTION_ENABLED, queueFa… in clearImage() local
617 …vk::Unique<vk::VkCommandBuffer> cmdBuffer (vk::allocateCommandBuffer(vk, device, *cmdPool, vk::… in clearImage()
689 …vk::Unique<vk::VkCommandPool> cmdPool (makeCommandPool(vk, device, PROTECTION_DISABLED, queueF… in uploadImage() local
690 …vk::Unique<vk::VkCommandBuffer> cmdBuffer (vk::allocateCommandBuffer(vk, device, *cmdPool, vk::… in uploadImage()
798 …vk::Unique<vk::VkCommandPool> cmdPool (makeCommandPool(vk, device, PROTECTION_ENABLED, queueFa… in copyToProtectedImage() local
799 …vk::Unique<vk::VkCommandBuffer> cmdBuffer (vk::allocateCommandBuffer(vk, device, *cmdPool, vk::… in copyToProtectedImage()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/
DvktComputeBasicComputeShaderTests.cpp241 const Unique<VkCommandPool> cmdPool(makeCommandPool(vk, device, queueFamilyIndex)); in iterate() local
242 …const Unique<VkCommandBuffer> cmdBuffer(allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND_BUF… in iterate()
412 const Unique<VkCommandPool> cmdPool(makeCommandPool(vk, device, queueFamilyIndex)); in iterate() local
413 …const Unique<VkCommandBuffer> cmdBuffer(allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND_BUF… in iterate()
585 const Unique<VkCommandPool> cmdPool(makeCommandPool(vk, device, queueFamilyIndex)); in iterate() local
586 …const Unique<VkCommandBuffer> cmdBuffer(allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND_BUF… in iterate()
782 const Unique<VkCommandPool> cmdPool(makeCommandPool(vk, device, queueFamilyIndex)); in iterate() local
783 …const Unique<VkCommandBuffer> cmdBuffer(allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND_BUF… in iterate()
983 const Unique<VkCommandPool> cmdPool(makeCommandPool(vk, device, queueFamilyIndex)); in iterate() local
984 …const Unique<VkCommandBuffer> cmdBuffer(allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND_BUF… in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageUtil.cpp219 Move<VkCommandPool> cmdPool; in readColorAttachment() local
246 cmdPool = createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, queueFamilyIndex); in readColorAttachment()
247 cmdBuffer = allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); in readColorAttachment()
277 Move<VkCommandPool> cmdPool; in readDepthAttachment() local
327 cmdPool = createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, queueFamilyIndex); in readDepthAttachment()
328 cmdBuffer = allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); in readDepthAttachment()
355 Move<VkCommandPool> cmdPool; in readStencilAttachment() local
385 cmdPool = createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, queueFamilyIndex); in readStencilAttachment()
386 cmdBuffer = allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); in readStencilAttachment()
413 Move<VkCommandPool> cmdPool; in uploadTestTextureInternal() local
[all …]
/third_party/skia/tests/
DSurfaceSemaphoreTest.cpp273 GrVkCommandPool* cmdPool = gpu->cmdPool(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
280 cmdPool->vkCommandPool(), // commandPool in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/flutter/skia/tests/
DSurfaceSemaphoreTest.cpp263 GrVkCommandPool* cmdPool = gpu->cmdPool(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
270 cmdPool->vkCommandPool(), // commandPool in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/
DvktGeometryBasicClass.cpp91 …const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RES… in iterate() local
92 …const Unique<VkCommandBuffer> cmdBuffer (allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND… in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmPhysicalStorageBufferPointerTests.cpp852 …Move<VkCommandPool> cmdPool = createCommandPool(vki, dev, VK_COMMAND_POOL_CREATE_TRANSIENT_B… in iterate() local
853 …Move<VkCommandBuffer> cmdBuffer = allocateCommandBuffer(vki, dev, *cmdPool, VK_COMMAND_BUFFER_… in iterate()
1031 …Move<VkCommandPool> cmdPool = createCommandPool(vki, dev, VK_COMMAND_POOL_CREATE_TRANSIENT_B… in iterate() local
1032 …Move<VkCommandBuffer> cmdBuffer = allocateCommandBuffer(vki, dev, *cmdPool, VK_COMMAND_BUFFER_… in iterate()
1180 …Move<VkCommandPool> cmdPool = createCommandPool(vki, dev, VK_COMMAND_POOL_CREATE_TRANSIENT_B… in iterate() local
1181 …Move<VkCommandBuffer> cmdBuffer = allocateCommandBuffer(vki, dev, *cmdPool, VK_COMMAND_BUFFER_… in iterate()

123456789