Home
last modified time | relevance | path

Searched refs:cmdBuf (Results 1 – 16 of 16) sorted by relevance

/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/
DToBackendTests.cpp46 MyCommandBuffer* cmdBuf = new MyCommandBuffer; in TEST() local
47 const CommandBufferBase* base = cmdBuf; in TEST()
51 ASSERT_EQ(cmdBuf, backendCmdBuf); in TEST()
53 cmdBuf->Release(); in TEST()
56 MyCommandBuffer* cmdBuf = new MyCommandBuffer; in TEST() local
57 CommandBufferBase* base = cmdBuf; in TEST()
61 ASSERT_EQ(cmdBuf, backendCmdBuf); in TEST()
63 cmdBuf->Release(); in TEST()
70 MyCommandBuffer* cmdBuf = new MyCommandBuffer; in TEST() local
71 const Ref<CommandBufferBase> base(cmdBuf); in TEST()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiDescriptorSetTests.cpp225 const Unique<VkCommandBuffer> cmdBuf(allocateCommandBuffer(vk, device, &cmdBufParams)); in descriptorSetLayoutLifetimeGraphicsTest() local
238 beginCommandBuffer(vk, *cmdBuf, 0u); in descriptorSetLayoutLifetimeGraphicsTest()
240 vk.cmdBeginRenderPass(*cmdBuf, &renderPassBeginInfo, VK_SUBPASS_CONTENTS_INLINE); in descriptorSetLayoutLifetimeGraphicsTest()
241 vk.cmdBindPipeline(*cmdBuf, VK_PIPELINE_BIND_POINT_GRAPHICS, *graphicsPipeline); in descriptorSetLayoutLifetimeGraphicsTest()
242 vk.cmdDraw(*cmdBuf, 3u, 1u, 0, 0); in descriptorSetLayoutLifetimeGraphicsTest()
243 vk.cmdEndRenderPass(*cmdBuf); in descriptorSetLayoutLifetimeGraphicsTest()
245 endCommandBuffer(vk, *cmdBuf); in descriptorSetLayoutLifetimeGraphicsTest()
247 submitCommandsAndWait(vk, device, queue, *cmdBuf); in descriptorSetLayoutLifetimeGraphicsTest()
319 const Unique<VkCommandBuffer> cmdBuf(allocateCommandBuffer(vk, device, &cmdBufParams)); in descriptorSetLayoutLifetimeComputeTest() local
321 beginCommandBuffer(vk, *cmdBuf, 0u); in descriptorSetLayoutLifetimeComputeTest()
[all …]
DvktApiSmokeTests.cpp499 const Unique<VkCommandBuffer> cmdBuf (allocateCommandBuffer(vk, vkDevice, &cmdBufParams)); in renderTriangleTest() local
502 beginCommandBuffer(vk, *cmdBuf); in renderTriangleTest()
532 …vk.cmdPipelineBarrier(*cmdBuf, VK_PIPELINE_STAGE_HOST_BIT, VK_PIPELINE_STAGE_ALL_COMMANDS_BIT, (Vk… in renderTriangleTest()
535 …beginRenderPass(vk, *cmdBuf, *renderPass, *framebuffer, makeRect2D(0, 0, renderSize.x(), renderSiz… in renderTriangleTest()
537 vk.cmdBindPipeline(*cmdBuf, VK_PIPELINE_BIND_POINT_GRAPHICS, *pipeline); in renderTriangleTest()
540 vk.cmdBindVertexBuffers(*cmdBuf, 0u, 1u, &vertexBuffer.get(), &bindingOffset); in renderTriangleTest()
542 vk.cmdDraw(*cmdBuf, 3u, 1u, 0u, 0u); in renderTriangleTest()
543 endRenderPass(vk, *cmdBuf); in renderTriangleTest()
544 copyImageToBuffer(vk, *cmdBuf, *image, *readImageBuffer, renderSize); in renderTriangleTest()
545 endCommandBuffer(vk, *cmdBuf); in renderTriangleTest()
[all …]
DvktApiCommandBuffersTests.cpp553 const Unique<VkCommandBuffer> cmdBuf (allocateCommandBuffer(vk, vkDevice, &cmdBufParams)); in allocatePrimaryBufferTest() local
627 const Unique<VkCommandBuffer> cmdBuf (allocateCommandBuffer(vk, vkDevice, &cmdBufParams)); in allocateSecondaryBufferTest() local
820 const Unique<VkCommandBuffer> cmdBuf (allocateCommandBuffer(vk, vkDevice, &cmdBufParams)); in resetBufferImplicitlyTest() local
825 beginCommandBuffer(vk, *cmdBuf, 0u); in resetBufferImplicitlyTest()
828 vk.cmdSetEvent(*cmdBuf, *event, VK_PIPELINE_STAGE_ALL_COMMANDS_BIT); in resetBufferImplicitlyTest()
830 endCommandBuffer(vk, *cmdBuf); in resetBufferImplicitlyTest()
832 submitCommandsAndWait(vk, vkDevice, queue, cmdBuf.get()); in resetBufferImplicitlyTest()
845 beginCommandBuffer(vk, *cmdBuf, 0u); in resetBufferImplicitlyTest()
846 endCommandBuffer(vk, *cmdBuf); in resetBufferImplicitlyTest()
850 submitCommandsAndWait(vk, vkDevice, queue, cmdBuf.get()); in resetBufferImplicitlyTest()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DPersistentCommandPool.cpp50 for (vk::PrimaryCommandBuffer &cmdBuf : mFreeBuffers) in destroy()
52 cmdBuf.destroy(device, mCommandPool); in destroy()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DPersistentCommandPool.cpp61 for (vk::PrimaryCommandBuffer &cmdBuf : mFreeBuffers) in destroy()
63 cmdBuf.destroy(device, mCommandPool); in destroy()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmGraphicsShaderTestUtil.cpp3436 …const Unique<VkCommandBuffer> cmdBuf (allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND… in runAndVerifyDefaultPipeline() local
3501 …copyBufferToImage(vk, device, queue, *cmdBuf, resourceBuffer.get(), resourceImage.get(), inputImag… in runAndVerifyDefaultPipeline()
4193 beginCommandBuffer(vk, *cmdBuf); in runAndVerifyDefaultPipeline()
4230 …vk.cmdPipelineBarrier(*cmdBuf, VK_PIPELINE_STAGE_HOST_BIT, VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT, (Vk… in runAndVerifyDefaultPipeline()
4234 …vk.cmdPipelineBarrier(*cmdBuf, VK_PIPELINE_STAGE_HOST_BIT, VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT, (Vk… in runAndVerifyDefaultPipeline()
4248 vk.cmdSetScissor(*cmdBuf, 0u, 1u, &scissor); in runAndVerifyDefaultPipeline()
4250 …beginRenderPass(vk, *cmdBuf, *renderPass, *framebuffer, scissor, (deUint32)clearValue.size(), clea… in runAndVerifyDefaultPipeline()
4253 vk.cmdBindPipeline(*cmdBuf, VK_PIPELINE_BIND_POINT_GRAPHICS, *pipeline); in runAndVerifyDefaultPipeline()
4256 vk.cmdBindVertexBuffers(*cmdBuf, 0u, 1u, &vertexBuffer.get(), &bindingOffset); in runAndVerifyDefaultPipeline()
4261 vk.cmdBindVertexBuffers(*cmdBuf, 1u, 1u, &vertexInputBuffer.get(), &bindingOffset); in runAndVerifyDefaultPipeline()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/tools/pkgdata/
Dpkgdata.cpp2143 icu::CharString cmdBuf; in pkg_getOptionsFromICUConfig() local
2150 cmdBuf.append(dirBuf, status); in pkg_getOptionsFromICUConfig()
2151 if (cmdBuf[0] != 0) { in pkg_getOptionsFromICUConfig()
2152 cmdBuf.append( U_FILE_SEP_STRING, status ); in pkg_getOptionsFromICUConfig()
2154 cmdBuf.append( cmd, status ); in pkg_getOptionsFromICUConfig()
2157 fprintf(stdout, "# Calling icu-config: %s\n", cmdBuf.data()); in pkg_getOptionsFromICUConfig()
2159 p.adoptInstead(popen(cmdBuf.data(), "r")); in pkg_getOptionsFromICUConfig()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutTests.cpp1002 const Unique<VkCommandBuffer> cmdBuf (allocateCommandBuffer(vk, device, &cmdBufParams)); in ssboUnsizedArrayLengthTest() local
1005 beginCommandBuffer(vk, *cmdBuf); in ssboUnsizedArrayLengthTest()
1007 vk.cmdBindPipeline(*cmdBuf, VK_PIPELINE_BIND_POINT_COMPUTE, *pipeline); in ssboUnsizedArrayLengthTest()
1008 …vk.cmdBindDescriptorSets(*cmdBuf, VK_PIPELINE_BIND_POINT_COMPUTE, *pipelineLayout, 0u, 1u, &descSe… in ssboUnsizedArrayLengthTest()
1009 vk.cmdDispatch(*cmdBuf, 1, 1, 1); in ssboUnsizedArrayLengthTest()
1018 …vk.cmdPipelineBarrier(*cmdBuf, VK_PIPELINE_STAGE_ALL_COMMANDS_BIT, VK_PIPELINE_STAGE_HOST_BIT, (Vk… in ssboUnsizedArrayLengthTest()
1020 endCommandBuffer(vk, *cmdBuf); in ssboUnsizedArrayLengthTest()
1022 submitCommandsAndWait(vk, device, queue, cmdBuf.get()); in ssboUnsizedArrayLengthTest()
/third_party/flutter/skia/src/gpu/dawn/
DGrDawnGpu.cpp317 dawn::CommandBuffer cmdBuf = copyEncoder.Finish(); in createBackendTexture() local
318 fQueue.Submit(1, &cmdBuf); in createBackendTexture()
/third_party/icu/icu4c/source/tools/pkgdata/
Dpkgdata.cpp2181 icu::CharString cmdBuf; in getPkgDataPath() local
2186 cmdBuf.append(cmd, status); in getPkgDataPath()
2188 fprintf(stdout, "# Calling: %s\n", cmdBuf.data()); in getPkgDataPath()
2190 p.adoptInstead( popen(cmdBuf.data(), "r") ); in getPkgDataPath()
/third_party/skia/third_party/externals/icu/source/tools/pkgdata/
Dpkgdata.cpp2181 icu::CharString cmdBuf; in getPkgDataPath() local
2186 cmdBuf.append(cmd, status); in getPkgDataPath()
2188 fprintf(stdout, "# Calling: %s\n", cmdBuf.data()); in getPkgDataPath()
2190 p.adoptInstead( popen(cmdBuf.data(), "r") ); in getPkgDataPath()
/third_party/node/deps/icu-small/source/tools/pkgdata/
Dpkgdata.cpp2181 icu::CharString cmdBuf; in getPkgDataPath() local
2186 cmdBuf.append(cmd, status); in getPkgDataPath()
2188 fprintf(stdout, "# Calling: %s\n", cmdBuf.data()); in getPkgDataPath()
2190 p.adoptInstead( popen(cmdBuf.data(), "r") ); in getPkgDataPath()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationUtil.hpp300 …kCommandBufferSubmitInfoKHR makeCommonCommandBufferSubmitInfo (const vk::VkCommandBuffer cmdBuf);
DvktSynchronizationUtil.cpp1036 VkCommandBufferSubmitInfoKHR makeCommonCommandBufferSubmitInfo (const VkCommandBuffer cmdBuf) in makeCommonCommandBufferSubmitInfo() argument
1042 cmdBuf, // VkCommandBuffer commandBuffer in makeCommonCommandBufferSubmitInfo()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/device_group/
DvktDeviceGroupRendering.cpp158 …void SubmitBufferAndWaitForIdle (const DeviceDriver& vk, VkCommandBuffer cmdBuf, deUint32 dev…
333 …ance::SubmitBufferAndWaitForIdle(const DeviceDriver& vk, VkCommandBuffer cmdBuf, deUint32 deviceMa… in SubmitBufferAndWaitForIdle() argument
335 submitCommandsAndWait(vk, *m_deviceGroup, m_deviceGroupQueue, cmdBuf, true, deviceMask); in SubmitBufferAndWaitForIdle()