Home
last modified time | relevance | path

Searched refs:renderPassDesc (Results 1 – 25 of 38) sorted by relevance

12

/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DTextureSubresourceTests.cpp78 utils::ComboRenderPassDescriptor renderPassDesc({view}); in DrawTriangle() local
79 renderPassDesc.cColorAttachments[0].clearColor = {0.0f, 0.0f, 0.0f, 1.0f}; in DrawTriangle()
80 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPassDesc); in DrawTriangle()
127 utils::ComboRenderPassDescriptor renderPassDesc({renderView}); in SampleAndDraw() local
128 renderPassDesc.cColorAttachments[0].clearColor = {0.0f, 0.0f, 0.0f, 1.0f}; in SampleAndDraw()
129 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPassDesc); in SampleAndDraw()
DDepthStencilCopyTests.cpp96 utils::ComboRenderPassDescriptor renderPassDesc({}, texture.CreateView(&viewDesc)); in InitializeDepthTextureRegion() local
97 renderPassDesc.cDepthStencilAttachmentInfo.clearDepth = clearDepth; in InitializeDepthTextureRegion()
105 wgpu::RenderPassEncoder pass = commandEncoder.BeginRenderPass(&renderPassDesc); in InitializeDepthTextureRegion()
127 utils::ComboRenderPassDescriptor renderPassDesc({}, texture.CreateView(&viewDesc)); in InitializeDepthStencilTextureRegion() local
128 renderPassDesc.cDepthStencilAttachmentInfo.clearDepth = clearDepth; in InitializeDepthStencilTextureRegion()
129 renderPassDesc.cDepthStencilAttachmentInfo.clearStencil = clearStencil; in InitializeDepthStencilTextureRegion()
140 wgpu::RenderPassEncoder pass = commandEncoder.BeginRenderPass(&renderPassDesc); in InitializeDepthStencilTextureRegion()
DSwapChainValidationTests.cpp89 utils::ComboRenderPassDescriptor renderPassDesc({view}); in CheckTextureView() local
92 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPassDesc); in CheckTextureView()
264 utils::ComboRenderPassDescriptor renderPassDesc({view, secondTexture.CreateView()}); in TEST_P() local
266 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPassDesc); in TEST_P()
DTextureZeroInitTests.cpp880 utils::ComboRenderPassDescriptor renderPassDesc({renderTexture.CreateView()}); in TEST_P() local
881 renderPassDesc.cColorAttachments[0].clearColor = {1.0, 1.0, 1.0, 1.0}; in TEST_P()
882 renderPassDesc.cColorAttachments[0].loadOp = wgpu::LoadOp::Clear; in TEST_P()
883 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPassDesc); in TEST_P()
938 utils::ComboRenderPassDescriptor renderPassDesc({attachmentView}); in TEST_P() local
939 renderPassDesc.cColorAttachments[0].clearColor = {1.0, 1.0, 1.0, 1.0}; in TEST_P()
940 renderPassDesc.cColorAttachments[0].loadOp = wgpu::LoadOp::Clear; in TEST_P()
941 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPassDesc); in TEST_P()
1165 utils::ComboRenderPassDescriptor renderPassDesc({renderTexture.CreateView()}); in TEST_P() local
1166 renderPassDesc.cColorAttachments[0].clearColor = {0.0, 0.0, 0.0, 0.0}; in TEST_P()
[all …]
DDepthBiasTests.cpp93 utils::ComboRenderPassDescriptor renderPassDesc({mRenderTarget.CreateView()}, in RunDepthBiasTest() local
95 renderPassDesc.cDepthStencilAttachmentInfo.clearDepth = depthClear; in RunDepthBiasTest()
116 wgpu::RenderPassEncoder pass = commandEncoder.BeginRenderPass(&renderPassDesc); in RunDepthBiasTest()
DTextureFormatTests.cpp242 utils::ComboRenderPassDescriptor renderPassDesc({renderTarget.CreateView()}); in DoSampleTest() local
243 wgpu::RenderPassEncoder renderPass = encoder.BeginRenderPass(&renderPassDesc); in DoSampleTest()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DTextureSubresourceTests.cpp58 utils::ComboRenderPassDescriptor renderPassDesc({renderView}); in TestRenderPass() local
64 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPassDesc); in TestRenderPass()
77 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPassDesc); in TestRenderPass()
94 wgpu::RenderPassEncoder pass1 = encoder.BeginRenderPass(&renderPassDesc); in TestRenderPass()
98 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPassDesc); in TestRenderPass()
/third_party/skia/tests/graphite/
DCommandBufferTest.cpp62 RenderPassDesc renderPassDesc = {}; in DEF_GRAPHITE_TEST_FOR_CONTEXTS() local
63 renderPassDesc.fColorAttachment.fTextureProxy = target; in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
64 renderPassDesc.fColorAttachment.fLoadOp = LoadOp::kClear; in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
65 renderPassDesc.fColorAttachment.fStoreOp = StoreOp::kStore; in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
66 renderPassDesc.fClearColor = { 1, 0, 0, 1 }; // red in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
69 commandBuffer->beginRenderPass(renderPassDesc); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
/third_party/skia/experimental/graphite/src/
DCommandBuffer.cpp27 void CommandBuffer::beginRenderPass(const RenderPassDesc& renderPassDesc) { in beginRenderPass() argument
28 this->onBeginRenderPass(renderPassDesc); in beginRenderPass()
30 auto& colorInfo = renderPassDesc.fColorAttachment; in beginRenderPass()
/third_party/flutter/skia/src/gpu/mtl/
DGrMtlGpuCommandBuffer.mm286 auto renderPassDesc = [MTLRenderPassDescriptor renderPassDescriptor];
287 renderPassDesc.colorAttachments[0].texture =
289 renderPassDesc.colorAttachments[0].slice = 0;
290 renderPassDesc.colorAttachments[0].level = 0;
292 renderPassDesc.colorAttachments[0].clearColor =
294 renderPassDesc.colorAttachments[0].loadAction =
296 renderPassDesc.colorAttachments[0].storeAction =
302 renderPassDesc.stencilAttachment.texture = stencil->stencilView();
304 renderPassDesc.stencilAttachment.clearStencil = 0;
305 renderPassDesc.stencilAttachment.loadAction =
[all …]
DGrMtlGpu.mm1059 auto renderPassDesc = [MTLRenderPassDescriptor renderPassDescriptor];
1060 renderPassDesc.colorAttachments[0].texture = colorTexture;
1061 renderPassDesc.colorAttachments[0].slice = 0;
1062 renderPassDesc.colorAttachments[0].level = 0;
1063 renderPassDesc.colorAttachments[0].resolveTexture = resolveTexture;
1064 renderPassDesc.colorAttachments[0].slice = 0;
1065 renderPassDesc.colorAttachments[0].level = 0;
1066 renderPassDesc.colorAttachments[0].loadAction = MTLLoadActionLoad;
1067 renderPassDesc.colorAttachments[0].storeAction = MTLStoreActionMultisampleResolve;
1070 this->commandBuffer()->getRenderCommandEncoder(renderPassDesc, nullptr, nullptr);
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DCopyTextureForBrowserHelper.cpp378 RenderPassDescriptor renderPassDesc; in DoCopyTextureForBrowser() local
379 renderPassDesc.colorAttachmentCount = 1; in DoCopyTextureForBrowser()
380 renderPassDesc.colorAttachments = &colorAttachmentDesc; in DoCopyTextureForBrowser()
383 AcquireRef(encoder->APIBeginRenderPass(&renderPassDesc)); in DoCopyTextureForBrowser()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DVulkanSecondaryCommandBuffer.cpp40 const RenderPassDesc &renderPassDesc, in InitializeRenderPassInheritanceInfo() argument
44 ANGLE_TRY(contextVk->getCompatibleRenderPass(renderPassDesc, &compatibleRenderPass)); in InitializeRenderPassInheritanceInfo()
DUtilsVk.cpp1924 const vk::RenderPassDesc &renderPassDesc, in startRenderPass() argument
1929 ANGLE_TRY(contextVk->getCompatibleRenderPass(renderPassDesc, &compatibleRenderPass)); in startRenderPass()
1955 framebuffer, renderArea, renderPassDesc, renderPassAttachmentOps, in startRenderPass()
2161 vk::RenderPassDesc renderPassDesc; in clearImage() local
2162 renderPassDesc.setSamples(dst->getSamples()); in clearImage()
2163 renderPassDesc.packColorAttachment(0, dstActualFormat.id); in clearImage()
2170 pipelineDesc.setRenderPassDesc(renderPassDesc); in clearImage()
2173 ANGLE_TRY(startRenderPass(contextVk, dst, &destView.get(), renderPassDesc, renderArea, in clearImage()
2819 vk::RenderPassDesc renderPassDesc; in copyImage() local
2820 renderPassDesc.setSamples(dst->getSamples()); in copyImage()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
Dmtl_render_utils.mm653 const RenderPassDesc &renderPassDesc = cmdEncoder->renderPassDesc();
655 renderPassDesc.populateRenderPipelineOutputDesc(&pipelineDesc.outputDescriptor);
1295 const RenderPassDesc &renderPassDesc = cmdEncoder->renderPassDesc();
1297 renderPassDesc.populateRenderPipelineOutputDesc(clearWriteMaskArray,
1305 ensureRenderPipelineStateCacheInitialized(contextMtl, renderPassDesc.numColorAttachments);
1306 RenderPipelineCache &cache = mClearRenderPipelineCache[renderPassDesc.numColorAttachments];
1365 const RenderPassDesc &renderPassDesc = cmdEncoder->renderPassDesc();
1366 if (renderPassDesc.numColorAttachments == 0)
1370 if (!renderPassDesc.depthAttachment.texture)
1374 if (!renderPassDesc.stencilAttachment.texture)
[all …]
DContextMtl.mm1528 mRenderEncoder.renderPassDesc().equalIgnoreLoadStoreOptions(desc);
2158 ASSERT(mRenderEncoder.renderPassDesc().colorAttachments[0].texture == mDummyXFBRenderTexture);
2335 const mtl::RenderPassDesc &renderPassDesc = mRenderEncoder.renderPassDesc();
2337 if (!renderPassDesc.depthAttachment.texture)
2343 if (!renderPassDesc.stencilAttachment.texture)
2389 const mtl::RenderPassDesc &renderPassDesc = mRenderEncoder.renderPassDesc();
2391 renderPassDesc.populateRenderPipelineOutputDesc(mBlendDescArray,
/third_party/skia/experimental/graphite/src/mtl/
DMtlCommandBuffer.mm67 void CommandBuffer::onBeginRenderPass(const RenderPassDesc& renderPassDesc) {
91 auto& colorInfo = renderPassDesc.fColorAttachment;
96 const std::array<float, 4>& clearColor = renderPassDesc.fClearColor;
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DUtilsVk.cpp803 const vk::RenderPassDesc &renderPassDesc, in startRenderPass() argument
808 ANGLE_TRY(contextVk->getCompatibleRenderPass(renderPassDesc, &compatibleRenderPass)); in startRenderPass()
832 ANGLE_TRY(image->beginRenderPass(contextVk, framebuffer, renderArea, renderPassDesc, in startRenderPass()
1374 vk::RenderPassDesc renderPassDesc; in copyImage() local
1375 renderPassDesc.setSamples(dest->getSamples()); in copyImage()
1376 renderPassDesc.packColorAttachment(0, destFormat.angleFormatID); in copyImage()
1384 pipelineDesc.setRenderPassDesc(renderPassDesc); in copyImage()
1417 startRenderPass(contextVk, dest, destView, renderPassDesc, renderArea, &commandBuffer)); in copyImage()
DCommandGraph.h110 const vk::RenderPassDesc &renderPassDesc,
324 const RenderPassDesc &renderPassDesc,
DCommandGraph.cpp271 const RenderPassDesc &renderPassDesc, in beginRenderPass() argument
282 mCurrentWritingNode->storeRenderPassInfo(framebuffer, renderArea, renderPassDesc, in beginRenderPass()
426 const vk::RenderPassDesc &renderPassDesc, in storeRenderPassInfo() argument
430 mRenderPassDesc = renderPassDesc; in storeRenderPassInfo()
DUtilsVk.h321 const vk::RenderPassDesc &renderPassDesc,
Dvk_cache_utils.h406 void setRenderPassDesc(const RenderPassDesc &renderPassDesc);
408 const RenderPassDesc &renderPassDesc);
/third_party/skia/src/gpu/dawn/
DGrDawnGpu.cpp777 wgpu::RenderPassDescriptor renderPassDesc; in onRegenerateMipMapLevels() local
778 renderPassDesc.colorAttachmentCount = 1; in onRegenerateMipMapLevels()
779 renderPassDesc.colorAttachments = colorAttachments; in onRegenerateMipMapLevels()
780 wgpu::RenderPassEncoder rpe = commandEncoder.BeginRenderPass(&renderPassDesc); in onRegenerateMipMapLevels()
/third_party/skia/third_party/externals/dawn/src/tests/white_box/
DD3D12DescriptorHeapTests.cpp760 utils::ComboRenderPassDescriptor renderPassDesc({textureView}); in TEST_P() local
761 renderPassDesc.cColorAttachments[0].loadOp = wgpu::LoadOp::Clear; in TEST_P()
762 renderPassDesc.cColorAttachments[0].clearColor = {0.0f, 1.0f, 0.0f, 1.0f}; in TEST_P()
766 auto pass = encoder.BeginRenderPass(&renderPassDesc); in TEST_P()
/third_party/skia/src/gpu/mtl/
DGrMtlGpu.mm1609 auto renderPassDesc = [[MTLRenderPassDescriptor alloc] init];
1610 auto colorAttachment = renderPassDesc.colorAttachments[0];
1617 this->commandBuffer()->getRenderCommandEncoder(renderPassDesc, nullptr, nullptr);
1643 auto renderPassDesc = [MTLRenderPassDescriptor new];
1644 auto colorAttachment = renderPassDesc.colorAttachments[0];
1650 renderPassDesc.stencilAttachment = stencil;
1656 this->commandBuffer()->getRenderCommandEncoder(renderPassDesc, nullptr);

12