/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | ClipSpaceTests.cpp | 73 utils::ComboRenderPassDescriptor renderPassDescriptor({colorTexture.CreateView()}, in TEST_P() local 75 renderPassDescriptor.cColorAttachments[0].clearColor = {0.0, 1.0, 0.0, 1.0}; in TEST_P() 76 renderPassDescriptor.cColorAttachments[0].loadOp = wgpu::LoadOp::Clear; in TEST_P() 80 renderPassDescriptor.cDepthStencilAttachmentInfo.clearDepth = 0.5f; in TEST_P() 81 renderPassDescriptor.cDepthStencilAttachmentInfo.depthLoadOp = wgpu::LoadOp::Clear; in TEST_P() 84 wgpu::RenderPassEncoder renderPass = commandEncoder.BeginRenderPass(&renderPassDescriptor); in TEST_P()
|
D | TextureZeroInitTests.cpp | 481 utils::ComboRenderPassDescriptor renderPassDescriptor({srcTexture.CreateView()}, in TEST_P() local 483 renderPassDescriptor.cDepthStencilAttachmentInfo.depthLoadOp = wgpu::LoadOp::Load; in TEST_P() 485 renderPassDescriptor.cDepthStencilAttachmentInfo.clearDepth = 0.5f; in TEST_P() 486 renderPassDescriptor.cDepthStencilAttachmentInfo.stencilLoadOp = wgpu::LoadOp::Clear; in TEST_P() 487 renderPassDescriptor.cDepthStencilAttachmentInfo.clearStencil = 0; in TEST_P() 488 renderPassDescriptor.cDepthStencilAttachmentInfo.depthStoreOp = wgpu::StoreOp::Store; in TEST_P() 489 renderPassDescriptor.cDepthStencilAttachmentInfo.stencilStoreOp = wgpu::StoreOp::Store; in TEST_P() 492 auto pass = encoder.BeginRenderPass(&renderPassDescriptor); in TEST_P() 523 utils::ComboRenderPassDescriptor renderPassDescriptor({srcTexture.CreateView()}, in TEST_P() local 525 renderPassDescriptor.cDepthStencilAttachmentInfo.depthLoadOp = wgpu::LoadOp::Clear; in TEST_P() [all …]
|
D | CullingTests.cpp | 77 utils::ComboRenderPassDescriptor renderPassDescriptor({colorTexture.CreateView()}); in DoTest() local 78 renderPassDescriptor.cColorAttachments[0].clearColor = {0.0, 0.0, 1.0, 1.0}; in DoTest() 79 renderPassDescriptor.cColorAttachments[0].loadOp = wgpu::LoadOp::Clear; in DoTest() 82 wgpu::RenderPassEncoder renderPass = commandEncoder.BeginRenderPass(&renderPassDescriptor); in DoTest()
|
D | BufferZeroInitTests.cpp | 108 utils::ComboRenderPassDescriptor renderPassDescriptor( local 110 renderPassDescriptor.cColorAttachments[0].clearColor = color; 111 wgpu::RenderPassEncoder renderPass = encoder.BeginRenderPass(&renderPassDescriptor); 276 utils::ComboRenderPassDescriptor renderPassDescriptor({colorAttachment.CreateView()}); in TestBufferZeroInitAsVertexBuffer() local 279 wgpu::RenderPassEncoder renderPass = encoder.BeginRenderPass(&renderPassDescriptor); in TestBufferZeroInitAsVertexBuffer() 323 utils::ComboRenderPassDescriptor renderPassDescriptor({colorAttachment.CreateView()}); in TestBufferZeroInitAsIndexBuffer() local 326 wgpu::RenderPassEncoder renderPass = encoder.BeginRenderPass(&renderPassDescriptor); in TestBufferZeroInitAsIndexBuffer() 363 utils::ComboRenderPassDescriptor renderPassDescriptor({colorAttachment.CreateView()}); in TestBufferZeroInitAsIndirectBufferForDrawIndirect() local 364 renderPassDescriptor.cColorAttachments[0].loadOp = wgpu::LoadOp::Load; in TestBufferZeroInitAsIndirectBufferForDrawIndirect() 373 wgpu::RenderPassEncoder renderPass = encoder.BeginRenderPass(&renderPassDescriptor); in TestBufferZeroInitAsIndirectBufferForDrawIndirect() [all …]
|
D | DepthStencilLoadOpTests.cpp | 85 utils::ComboRenderPassDescriptor renderPassDescriptor({}, textureViews[mipLevel]); in SetUp() local 86 renderPassDescriptor.cDepthStencilAttachmentInfo.clearDepth = in SetUp() 88 renderPassDescriptor.cDepthStencilAttachmentInfo.clearStencil = in SetUp() 90 renderPassDescriptors.push_back(renderPassDescriptor); in SetUp()
|
D | CreatePipelineAsyncTests.cpp | 81 utils::ComboRenderPassDescriptor renderPassDescriptor({outputTexture.CreateView()}); in ValidateCreateRenderPipelineAsync() local 82 renderPassDescriptor.cColorAttachments[0].loadOp = wgpu::LoadOp::Clear; in ValidateCreateRenderPipelineAsync() 83 renderPassDescriptor.cColorAttachments[0].clearColor = {1.f, 0.f, 0.f, 1.f}; in ValidateCreateRenderPipelineAsync() 89 encoder.BeginRenderPass(&renderPassDescriptor); in ValidateCreateRenderPipelineAsync() 294 utils::ComboRenderPassDescriptor renderPassDescriptor({outputTexture.CreateView()}); in TEST_P() local 295 renderPassDescriptor.cColorAttachments[0].loadOp = wgpu::LoadOp::Clear; in TEST_P() 296 renderPassDescriptor.cColorAttachments[0].clearColor = {1.f, 0.f, 0.f, 1.f}; in TEST_P() 301 wgpu::RenderPassEncoder renderPassEncoder = encoder.BeginRenderPass(&renderPassDescriptor); in TEST_P()
|
D | RenderPassLoadOpTests.cpp | 114 utils::ComboRenderPassDescriptor renderPassDescriptor({texture.CreateView()}); in TestIntegerClearColor() local 115 renderPassDescriptor.cColorAttachments[0].clearColor = clearColor; in TestIntegerClearColor() 117 wgpu::RenderPassEncoder renderPass = encoder.BeginRenderPass(&renderPassDescriptor); in TestIntegerClearColor()
|
D | StorageTextureTests.cpp | 574 utils::ComboRenderPassDescriptor renderPassDescriptor({outputTexture.CreateView()}); in CheckDrawsGreen() local 575 renderPassDescriptor.cColorAttachments[0].loadOp = wgpu::LoadOp::Clear; in CheckDrawsGreen() 576 renderPassDescriptor.cColorAttachments[0].clearColor = {1.f, 0.f, 0.f, 1.f}; in CheckDrawsGreen() 578 wgpu::RenderPassEncoder renderPassEncoder = encoder.BeginRenderPass(&renderPassDescriptor); in CheckDrawsGreen() 640 utils::ComboRenderPassDescriptor renderPassDescriptor({dummyOutputTexture.CreateView()}); in WriteIntoStorageTextureInRenderPass() local 641 wgpu::RenderPassEncoder renderPassEncoder = encoder.BeginRenderPass(&renderPassDescriptor); in WriteIntoStorageTextureInRenderPass()
|
D | IOSurfaceWrappingTests.cpp | 352 utils::ComboRenderPassDescriptor renderPassDescriptor({ioSurfaceView}, {}); in DoClearTest() local 353 renderPassDescriptor.cColorAttachments[0].clearColor = {1 / 255.0f, 2 / 255.0f, 3 / 255.0f, in DoClearTest() 358 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPassDescriptor); in DoClearTest()
|
D | D3D12ResourceWrappingTests.cpp | 328 utils::ComboRenderPassDescriptor renderPassDescriptor({wrappedView}, {}); in ClearImage() local 329 renderPassDescriptor.cColorAttachments[0].clearColor = clearColor; in ClearImage() 332 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPassDescriptor); in ClearImage()
|
/third_party/skia/src/gpu/dawn/ |
D | GrDawnOpsRenderPass.cpp | 71 wgpu::RenderPassDescriptor renderPassDescriptor; in beginRenderPass() local 72 renderPassDescriptor.colorAttachmentCount = 1; in beginRenderPass() 73 renderPassDescriptor.colorAttachments = colorAttachments; in beginRenderPass() 83 renderPassDescriptor.depthStencilAttachment = &depthStencilAttachment; in beginRenderPass() 85 renderPassDescriptor.depthStencilAttachment = nullptr; in beginRenderPass() 87 return fEncoder.BeginRenderPass(&renderPassDescriptor); in beginRenderPass()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | RenderPipelineValidationTests.cpp | 472 utils::ComboRenderPassDescriptor renderPassDescriptor( in TEST_F() local 476 wgpu::RenderPassEncoder renderPass = encoder.BeginRenderPass(&renderPassDescriptor); in TEST_F() 488 utils::ComboRenderPassDescriptor renderPassDescriptor( in TEST_F() local 492 wgpu::RenderPassEncoder renderPass = encoder.BeginRenderPass(&renderPassDescriptor); in TEST_F() 505 utils::ComboRenderPassDescriptor renderPassDescriptor( in TEST_F() local 509 wgpu::RenderPassEncoder renderPass = encoder.BeginRenderPass(&renderPassDescriptor); in TEST_F() 521 utils::ComboRenderPassDescriptor renderPassDescriptor( in TEST_F() local 525 wgpu::RenderPassEncoder renderPass = encoder.BeginRenderPass(&renderPassDescriptor); in TEST_F() 555 utils::ComboRenderPassDescriptor renderPassDescriptor( in TEST_F() local 559 wgpu::RenderPassEncoder renderPass = encoder.BeginRenderPass(&renderPassDescriptor); in TEST_F() [all …]
|
D | StorageTextureValidationTests.cpp | 700 utils::ComboRenderPassDescriptor renderPassDescriptor({outputAttachment.CreateView()}); in TEST_F() local 713 wgpu::RenderPassEncoder renderPassEncoder = encoder.BeginRenderPass(&renderPassDescriptor); in TEST_F() 729 utils::ComboRenderPassDescriptor renderPassDescriptor({outputAttachment.CreateView()}); in TEST_F() local 746 wgpu::RenderPassEncoder renderPassEncoder = encoder.BeginRenderPass(&renderPassDescriptor); in TEST_F() 766 utils::ComboRenderPassDescriptor renderPassDescriptor({storageTexture.CreateView()}); in TEST_F() local 778 wgpu::RenderPassEncoder renderPassEncoder = encoder.BeginRenderPass(&renderPassDescriptor); in TEST_F()
|
/third_party/skia/third_party/externals/imgui/examples/example_glfw_metal/ |
D | main.mm | 77 MTLRenderPassDescriptor *renderPassDescriptor = [MTLRenderPassDescriptor new]; 102 …renderPassDescriptor.colorAttachments[0].clearColor = MTLClearColorMake(clear_color[0] * clear_col… 103 renderPassDescriptor.colorAttachments[0].texture = drawable.texture; 104 renderPassDescriptor.colorAttachments[0].loadAction = MTLLoadActionClear; 105 renderPassDescriptor.colorAttachments[0].storeAction = MTLStoreActionStore; 106 …ndEncoder> renderEncoder = [commandBuffer renderCommandEncoderWithDescriptor:renderPassDescriptor]; 110 ImGui_ImplMetal_NewFrame(renderPassDescriptor);
|
/third_party/skia/third_party/externals/imgui/examples/example_sdl_metal/ |
D | main.mm | 76 MTLRenderPassDescriptor* renderPassDescriptor = [MTLRenderPassDescriptor new]; 110 …renderPassDescriptor.colorAttachments[0].clearColor = MTLClearColorMake(clear_color[0] * clear_col… 111 renderPassDescriptor.colorAttachments[0].texture = drawable.texture; 112 renderPassDescriptor.colorAttachments[0].loadAction = MTLLoadActionClear; 113 renderPassDescriptor.colorAttachments[0].storeAction = MTLStoreActionStore; 114 …ndEncoder> renderEncoder = [commandBuffer renderCommandEncoderWithDescriptor:renderPassDescriptor]; 118 ImGui_ImplMetal_NewFrame(renderPassDescriptor);
|
/third_party/vk-gl-cts/external/amber/src/src/dawn/ |
D | engine_dawn.cc | 115 ::dawn::RenderPassDescriptor renderPassDescriptor; 908 ::dawn::RenderPassDescriptor* renderPassDescriptor = in DoClear() 909 &helper.renderPassDescriptor; in DoClear() 912 encoder.BeginRenderPass(renderPassDescriptor); in DoClear() 1188 renderPassDescriptor.colorAttachmentCount = in CreateRenderPassDescriptor() 1199 renderPassDescriptor.colorAttachments = colorAttachmentsInfoPtr; in CreateRenderPassDescriptor() 1232 renderPassDescriptor.depthStencilAttachment = &depthStencilAttachmentInfo; in CreateRenderPassDescriptor() 1234 renderPassDescriptor.depthStencilAttachment = nullptr; in CreateRenderPassDescriptor() 1303 ::dawn::RenderPassDescriptor* renderPassDescriptor = in DoDrawRect() 1304 &helper.renderPassDescriptor; in DoDrawRect() [all …]
|
/third_party/skia/third_party/externals/imgui/backends/ |
D | imgui_impl_metal.mm | 48 - (instancetype)initWithRenderPassDescriptor:(MTLRenderPassDescriptor *)renderPassDescriptor; 103 void ImGui_ImplMetal_NewFrame(MTLRenderPassDescriptor *renderPassDescriptor) 107 …fferDescriptor = [[FramebufferDescriptor alloc] initWithRenderPassDescriptor:renderPassDescriptor]; 165 - (instancetype)initWithRenderPassDescriptor:(MTLRenderPassDescriptor *)renderPassDescriptor 169 _sampleCount = renderPassDescriptor.colorAttachments[0].texture.sampleCount; 170 _colorPixelFormat = renderPassDescriptor.colorAttachments[0].texture.pixelFormat; 171 _depthPixelFormat = renderPassDescriptor.depthAttachment.texture.pixelFormat; 172 _stencilPixelFormat = renderPassDescriptor.stencilAttachment.texture.pixelFormat;
|
D | imgui_impl_metal.h | 20 IMGUI_IMPL_API void ImGui_ImplMetal_NewFrame(MTLRenderPassDescriptor* renderPassDescriptor);
|
/third_party/skia/third_party/externals/imgui/examples/example_apple_metal/ |
D | main.mm | 144 MTLRenderPassDescriptor* renderPassDescriptor = view.currentRenderPassDescriptor; 145 if (renderPassDescriptor == nil) 152 ImGui_ImplMetal_NewFrame(renderPassDescriptor); 204 …renderPassDescriptor.colorAttachments[0].clearColor = MTLClearColorMake(clear_color.x * clear_colo… 205 …ndEncoder> renderEncoder = [commandBuffer renderCommandEncoderWithDescriptor:renderPassDescriptor];
|
/third_party/skia/third_party/externals/dawn/src/tests/white_box/ |
D | EGLImageWrappingTests.cpp | 325 utils::ComboRenderPassDescriptor renderPassDescriptor({eglImageView}, {}); in DoClearTest() local 326 renderPassDescriptor.cColorAttachments[0].clearColor = {1 / 255.0f, 2 / 255.0f, 3 / 255.0f, in DoClearTest() 331 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPassDescriptor); in DoClearTest()
|
D | VulkanImageWrappingTestsDmaBuf.cpp | 337 utils::ComboRenderPassDescriptor renderPassDescriptor({wrappedView}, {}); in ClearImage() local 338 renderPassDescriptor.cColorAttachments[0].clearColor = clearColor; in ClearImage() 339 renderPassDescriptor.cColorAttachments[0].loadOp = wgpu::LoadOp::Clear; in ClearImage() 342 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPassDescriptor); in ClearImage()
|
D | VulkanImageWrappingTestsOpaqueFD.cpp | 437 utils::ComboRenderPassDescriptor renderPassDescriptor({wrappedView}, {}); in ClearImage() local 438 renderPassDescriptor.cColorAttachments[0].clearColor = clearColor; in ClearImage() 441 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPassDescriptor); in ClearImage()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/ |
D | TextureMTL.mm | 540 [MTLRenderPassDescriptor renderPassDescriptor]; 606 descriptor = [MTLRenderPassDescriptor renderPassDescriptor];
|
D | CommandBufferMTL.mm | 65 [MTLRenderPassDescriptor renderPassDescriptor]; 199 [MTLRenderPassDescriptor renderPassDescriptor];
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlOpsRenderPass.mm | 196 // adjust the renderPassDescriptor to load from it.
|