/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | FramebufferFetchTest.cpp | 400 GLenum colorAttachments[kMaxColorBuffer] = {GL_COLOR_ATTACHMENT0, GL_COLOR_ATTACHMENT1, in MultipleRenderTargetTest() local 417 glFramebufferTexture2D(GL_FRAMEBUFFER, colorAttachments[i], GL_TEXTURE_2D, in MultipleRenderTargetTest() 420 glDrawBuffers(kMaxColorBuffer, &colorAttachments[0]); in MultipleRenderTargetTest() 433 glReadBuffer(colorAttachments[0]); in MultipleRenderTargetTest() 435 glReadBuffer(colorAttachments[1]); in MultipleRenderTargetTest() 437 glReadBuffer(colorAttachments[2]); in MultipleRenderTargetTest() 439 glReadBuffer(colorAttachments[3]); in MultipleRenderTargetTest() 454 GLenum colorAttachments[kMaxColorBuffer] = {GL_COLOR_ATTACHMENT0, GL_COLOR_ATTACHMENT1, in MultipleRenderTargetArrayTest() local 471 glFramebufferTexture2D(GL_FRAMEBUFFER, colorAttachments[i], GL_TEXTURE_2D, in MultipleRenderTargetArrayTest() 474 glDrawBuffers(kMaxColorBuffer, &colorAttachments[0]); in MultipleRenderTargetArrayTest() [all …]
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/metal/ |
D | CommandBufferMTL.mm | 54 auto& attachmentInfo = renderPass->colorAttachments[i]; 57 descriptor.colorAttachments[i].loadAction = MTLLoadActionClear; 58 descriptor.colorAttachments[i].clearColor = 62 descriptor.colorAttachments[i].loadAction = MTLLoadActionLoad; 65 descriptor.colorAttachments[i].texture = 67 descriptor.colorAttachments[i].level = attachmentInfo.view->GetBaseMipLevel(); 68 descriptor.colorAttachments[i].slice = attachmentInfo.view->GetBaseArrayLayer(); 72 descriptor.colorAttachments[i].resolveTexture = 74 descriptor.colorAttachments[i].resolveLevel = 76 descriptor.colorAttachments[i].resolveSlice = [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/ |
D | CommandBufferMTL.mm | 71 auto& attachmentInfo = renderPass->colorAttachments[attachment]; 75 descriptor.colorAttachments[i].loadAction = MTLLoadActionClear; 76 descriptor.colorAttachments[i].clearColor = MTLClearColorMake( 82 descriptor.colorAttachments[i].loadAction = MTLLoadActionLoad; 86 descriptor.colorAttachments[i].texture = 88 descriptor.colorAttachments[i].level = attachmentInfo.view->GetBaseMipLevel(); 89 descriptor.colorAttachments[i].slice = attachmentInfo.view->GetBaseArrayLayer(); 93 descriptor.colorAttachments[i].resolveTexture = 95 descriptor.colorAttachments[i].resolveLevel = 97 descriptor.colorAttachments[i].resolveSlice = [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/ |
D | mtl_state_cache.mm | 159 [objCDesc.colorAttachments setObject:ToObjC(desc.outputDescriptor.colorAttachments[i]) 618 if (colorAttachments[i] != rhs.colorAttachments[i]) 634 this->colorAttachments[colorIndex].writeMask = MTLColorWriteMaskNone; 745 auto &renderPassColorAttachment = this->colorAttachments[i]; 753 outputDescriptor.colorAttachments[i].reset(texture->pixelFormat(), 760 outputDescriptor.colorAttachments[i].reset(texture->pixelFormat(), 767 outputDescriptor.colorAttachments[i].writeMask &= texture->getColorWritableMask(); 772 outputDescriptor.colorAttachments[i].blendingEnabled = false; 773 outputDescriptor.colorAttachments[i].pixelFormat = MTLPixelFormatInvalid; 780 outputDescriptor.colorAttachments[i].reset(); [all …]
|
/third_party/flutter/skia/src/gpu/mtl/ |
D | GrMtlGpuCommandBuffer.mm | 221 fRenderPassDesc.colorAttachments[0].clearColor = MTLClearColorMake(color.fR, color.fG, color.fB, 223 fRenderPassDesc.colorAttachments[0].loadAction = MTLLoadActionClear; 225 fRenderPassDesc.colorAttachments[0].loadAction = MTLLoadActionLoad; 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 = 318 fRenderPassDesc.colorAttachments[0].loadAction = MTLLoadActionLoad;
|
D | GrMtlCommandBuffer.mm | 75 if (compatible(fPreviousRenderPassDescriptor.colorAttachments[0], 76 descriptor.colorAttachments[0], pipelineState) &&
|
/third_party/flutter/skia/third_party/externals/dawn/examples/ |
D | CHelloTriangle.cpp | 135 DawnRenderPassColorAttachmentDescriptor* colorAttachments = {&colorAttachment}; in frame() local 143 renderpassInfo.colorAttachments = &colorAttachments; in frame()
|
/third_party/flutter/skia/third_party/externals/imgui/examples/ |
D | imgui_impl_metal.mm | 153 _sampleCount = renderPassDescriptor.colorAttachments[0].texture.sampleCount; 154 _colorPixelFormat = renderPassDescriptor.colorAttachments[0].texture.pixelFormat; 374 … pipelineDescriptor.colorAttachments[0].pixelFormat = self.framebufferDescriptor.colorPixelFormat; 375 pipelineDescriptor.colorAttachments[0].blendingEnabled = YES; 376 pipelineDescriptor.colorAttachments[0].rgbBlendOperation = MTLBlendOperationAdd; 377 pipelineDescriptor.colorAttachments[0].alphaBlendOperation = MTLBlendOperationAdd; 378 pipelineDescriptor.colorAttachments[0].sourceRGBBlendFactor = MTLBlendFactorSourceAlpha; 379 pipelineDescriptor.colorAttachments[0].sourceAlphaBlendFactor = MTLBlendFactorSourceAlpha; 380 …pipelineDescriptor.colorAttachments[0].destinationRGBBlendFactor = MTLBlendFactorOneMinusSourceAlp… 381 …pipelineDescriptor.colorAttachments[0].destinationAlphaBlendFactor = MTLBlendFactorOneMinusSourceA…
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | Framebuffer11.cpp | 68 const auto &colorAttachments = mState.getColorAttachments(); in markAttachmentsDirty() local 71 const gl::FramebufferAttachment &colorAttachment = colorAttachments[drawBuffer]; in markAttachmentsDirty() 294 const auto &colorAttachments = mState.getColorAttachments(); in blitImpl() local 297 for (size_t colorAttachment = 0; colorAttachment < colorAttachments.size(); in blitImpl() 300 const gl::FramebufferAttachment &drawBuffer = colorAttachments[colorAttachment]; in blitImpl()
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/ |
D | CommandEncoder.cpp | 456 DAWN_TRY(ValidateRenderPassColorAttachment(device, descriptor->colorAttachments[i], in ValidateRenderPassDescriptor() 703 if (descriptor->colorAttachments[i] != nullptr) { in BeginRenderPass() 705 cmd->colorAttachments[i].view = descriptor->colorAttachments[i]->attachment; in BeginRenderPass() 706 cmd->colorAttachments[i].resolveTarget = in BeginRenderPass() 707 descriptor->colorAttachments[i]->resolveTarget; in BeginRenderPass() 708 cmd->colorAttachments[i].loadOp = descriptor->colorAttachments[i]->loadOp; in BeginRenderPass() 709 cmd->colorAttachments[i].storeOp = descriptor->colorAttachments[i]->storeOp; in BeginRenderPass() 710 cmd->colorAttachments[i].clearColor = descriptor->colorAttachments[i]->clearColor; in BeginRenderPass() 1143 RenderPassColorAttachmentInfo* colorAttachment = &renderPass->colorAttachments[i]; in ValidateRenderPass()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | Framebuffer11.cpp | 69 const auto &colorAttachments = mState.getColorAttachments(); in markAttachmentsDirty() local 72 const gl::FramebufferAttachment &colorAttachment = colorAttachments[drawBuffer]; in markAttachmentsDirty() 295 const auto &colorAttachments = mState.getColorAttachments(); in blitImpl() local 298 for (size_t colorAttachment = 0; colorAttachment < colorAttachments.size(); in blitImpl() 301 const gl::FramebufferAttachment &drawBuffer = colorAttachments[colorAttachment]; in blitImpl()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | RenderPassDescriptorValidationTests.cpp | 104 std::array<wgpu::RenderPassColorAttachment, kMaxColorAttachments + 1> colorAttachments; in TEST_F() local 105 for (uint32_t i = 0; i < colorAttachments.size(); i++) { in TEST_F() 106 colorAttachments[i].view = in TEST_F() 108 colorAttachments[i].resolveTarget = nullptr; in TEST_F() 109 colorAttachments[i].clearColor = {0.0f, 0.0f, 0.0f, 0.0f}; in TEST_F() 110 colorAttachments[i].loadOp = wgpu::LoadOp::Clear; in TEST_F() 111 colorAttachments[i].storeOp = wgpu::StoreOp::Store; in TEST_F() 118 renderPass.colorAttachments = colorAttachments.data(); in TEST_F() 127 renderPass.colorAttachments = colorAttachments.data(); in TEST_F()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | CommandEncoder.cpp | 344 ValidateRenderPassColorAttachment(device, descriptor->colorAttachments[i], in ValidateRenderPassDescriptor() 571 TextureViewBase* view = descriptor->colorAttachments[i].view; in APIBeginRenderPass() 572 TextureViewBase* resolveTarget = descriptor->colorAttachments[i].resolveTarget; in APIBeginRenderPass() 574 cmd->colorAttachments[index].view = view; in APIBeginRenderPass() 575 cmd->colorAttachments[index].resolveTarget = resolveTarget; in APIBeginRenderPass() 576 cmd->colorAttachments[index].loadOp = descriptor->colorAttachments[i].loadOp; in APIBeginRenderPass() 577 cmd->colorAttachments[index].storeOp = descriptor->colorAttachments[i].storeOp; in APIBeginRenderPass() 578 cmd->colorAttachments[index].clearColor = in APIBeginRenderPass() 579 descriptor->colorAttachments[i].clearColor; in APIBeginRenderPass()
|
/third_party/skia/src/gpu/dawn/ |
D | GrDawnOpsRenderPass.cpp | 70 wgpu::RenderPassColorAttachment* colorAttachments = { &colorAttachment }; in beginRenderPass() local 73 renderPassDescriptor.colorAttachments = colorAttachments; in beginRenderPass()
|
/third_party/skia/third_party/externals/imgui/backends/ |
D | imgui_impl_metal.mm | 169 _sampleCount = renderPassDescriptor.colorAttachments[0].texture.sampleCount; 170 _colorPixelFormat = renderPassDescriptor.colorAttachments[0].texture.pixelFormat; 390 … pipelineDescriptor.colorAttachments[0].pixelFormat = self.framebufferDescriptor.colorPixelFormat; 391 pipelineDescriptor.colorAttachments[0].blendingEnabled = YES; 392 pipelineDescriptor.colorAttachments[0].rgbBlendOperation = MTLBlendOperationAdd; 393 pipelineDescriptor.colorAttachments[0].sourceRGBBlendFactor = MTLBlendFactorSourceAlpha; 394 …pipelineDescriptor.colorAttachments[0].destinationRGBBlendFactor = MTLBlendFactorOneMinusSourceAlp… 395 pipelineDescriptor.colorAttachments[0].alphaBlendOperation = MTLBlendOperationAdd; 396 pipelineDescriptor.colorAttachments[0].sourceAlphaBlendFactor = MTLBlendFactorOne; 397 …pipelineDescriptor.colorAttachments[0].destinationAlphaBlendFactor = MTLBlendFactorOneMinusSourceA…
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
D | CommandBufferGL.cpp | 287 if (renderPass->colorAttachments[i].resolveTarget.Get() != nullptr) { in ResolveMultisampledRenderTargets() 295 renderPass->colorAttachments[i].view->GetTexture(); in ResolveMultisampledRenderTargets() 298 ASSERT(renderPass->colorAttachments[i].view->GetBaseMipLevel() == 0); in ResolveMultisampledRenderTargets() 306 renderPass->colorAttachments[i].resolveTarget->GetTexture(); in ResolveMultisampledRenderTargets() 309 renderPass->colorAttachments[i].resolveTarget->GetBaseMipLevel(); in ResolveMultisampledRenderTargets() 317 renderPass->colorAttachments[i].resolveTarget->GetBaseArrayLayer(); in ResolveMultisampledRenderTargets() 594 TextureViewBase* textureView = renderPass->colorAttachments[i].view.Get(); in ExecuteRenderPass() 664 const auto& attachmentInfo = renderPass->colorAttachments[i]; in ExecuteRenderPass()
|
/third_party/skia/third_party/externals/imgui/examples/example_glfw_metal/ |
D | main.mm | 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;
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/ |
D | vktDynamicStateBaseClass.cpp | 159 std::vector<vk::VkImageView> colorAttachments(1); in initFramebuffer() local 160 colorAttachments[0] = *m_colorTargetView; in initFramebuffer() 162 …const FramebufferCreateInfo framebufferCreateInfo(*m_renderPass, colorAttachments, WIDTH, HEIGHT, … in initFramebuffer()
|
/third_party/skia/third_party/externals/imgui/examples/example_sdl_metal/ |
D | main.mm | 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;
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fFboStateQueryTests.cpp | 654 } colorAttachments[] = in test() local 663 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(colorAttachments); ++ndx) in test() 664 …colorAttachments[ndx].internalFormat, GL_COLOR_ATTACHMENT0, colorAttachments[ndx].bitsR, colorAtta… in test()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawMultipleInterpolationTests.cpp | 571 std::vector<vk::VkRenderingAttachmentInfoKHR> colorAttachments(imagesCount, in render() local 589 colorAttachments[i].imageView = **multisampleViews[i]; in render() 590 colorAttachments[i].resolveMode = vk::VK_RESOLVE_MODE_AVERAGE_BIT; in render() 591 colorAttachments[i].resolveImageView = **colorTargetViews[i]; in render() 594 colorAttachments[i].imageView = **colorTargetViews[i]; in render() 606 colorAttachments.data(), // const VkRenderingAttachmentInfoKHR* pColorAttachments; in render()
|
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/ |
D | GPUCommandEncoder.cpp | 41 if (!conv(desc.colorAttachments, desc.colorAttachmentCount, descriptor.colorAttachments) || in beginRenderPass()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | FramebufferD3D.cpp | 357 const auto &colorAttachments = mState.getColorAttachments(); in getColorAttachmentsForRender() local 361 for (size_t attachmentIndex = 0; attachmentIndex < colorAttachments.size(); ++attachmentIndex) in getColorAttachmentsForRender() 364 const gl::FramebufferAttachment &colorAttachment = colorAttachments[attachmentIndex]; in getColorAttachmentsForRender()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | FramebufferD3D.cpp | 325 const auto &colorAttachments = mState.getColorAttachments(); in getColorAttachmentsForRender() local 329 for (size_t attachmentIndex = 0; attachmentIndex < colorAttachments.size(); ++attachmentIndex) in getColorAttachmentsForRender() 332 const gl::FramebufferAttachment &colorAttachment = colorAttachments[attachmentIndex]; in getColorAttachmentsForRender()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineFramebufferAttachmentTests.cpp | 409 vector<SharedPtrVkImageView> colorAttachments; in test() local 459 …colorAttachments.push_back(makeSharedPtr(makeImageView(vk, device, ! caseDef.multisample ? *colorI… in test() 461 attachmentHandles.push_back(**colorAttachments.back()); in test() 1048 vector<SharedPtrVkImageView> colorAttachments; in testDifferentAttachmentSizes() local 1111 …colorAttachments.push_back(makeSharedPtr(makeImageView(vk, device, ! caseDef.multisample ? *colorI… in testDifferentAttachmentSizes() 1112 attachmentHandles.push_back(**colorAttachments.back()); in testDifferentAttachmentSizes() 1458 vector<SharedPtrVkImageView> colorAttachments; in testInputResolveSameAttachment() local 1516 …colorAttachments.push_back(makeSharedPtr(makeImageView(vk, device, *msColorImage, imageViewType, C… in testInputResolveSameAttachment() 1517 attachmentHandles.push_back(**colorAttachments.back()); in testInputResolveSameAttachment() 1519 …colorAttachments.push_back(makeSharedPtr(makeImageView(vk, device, *colorImage, imageViewType, COL… in testInputResolveSameAttachment() [all …]
|