/external/angle/src/tests/gl_tests/ |
D | FramebufferFetchTest.cpp | 393 GLenum colorAttachments[kMaxColorBuffer] = {GL_COLOR_ATTACHMENT0, GL_COLOR_ATTACHMENT1, in MultipleRenderTargetTest() local 410 glFramebufferTexture2D(GL_FRAMEBUFFER, colorAttachments[i], GL_TEXTURE_2D, in MultipleRenderTargetTest() 413 glDrawBuffers(kMaxColorBuffer, &colorAttachments[0]); in MultipleRenderTargetTest() 426 glReadBuffer(colorAttachments[0]); in MultipleRenderTargetTest() 428 glReadBuffer(colorAttachments[1]); in MultipleRenderTargetTest() 430 glReadBuffer(colorAttachments[2]); in MultipleRenderTargetTest() 432 glReadBuffer(colorAttachments[3]); in MultipleRenderTargetTest() 447 GLenum colorAttachments[kMaxColorBuffer] = {GL_COLOR_ATTACHMENT0, GL_COLOR_ATTACHMENT1, in MultipleRenderTargetArrayTest() local 464 glFramebufferTexture2D(GL_FRAMEBUFFER, colorAttachments[i], GL_TEXTURE_2D, in MultipleRenderTargetArrayTest() 467 glDrawBuffers(kMaxColorBuffer, &colorAttachments[0]); in MultipleRenderTargetArrayTest() [all …]
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlGpuCommandBuffer.mm | 40 fRenderPassDesc.colorAttachments[0].loadAction = MTLLoadActionLoad; 190 fRenderPassDesc.colorAttachments[0].clearColor = MTLClearColorMake(color.fR, color.fG, color.fB, 192 fRenderPassDesc.colorAttachments[0].loadAction = MTLLoadActionClear; 195 fRenderPassDesc.colorAttachments[0].loadAction = MTLLoadActionLoad; 241 renderPassDesc.colorAttachments[0].texture = 243 renderPassDesc.colorAttachments[0].slice = 0; 244 renderPassDesc.colorAttachments[0].level = 0; 246 renderPassDesc.colorAttachments[0].clearColor = 248 renderPassDesc.colorAttachments[0].loadAction = 250 renderPassDesc.colorAttachments[0].storeAction =
|
D | GrMtlCopyManager.mm | 192 renderPassDesc.colorAttachments[0].texture = dstTex; 193 renderPassDesc.colorAttachments[0].slice = 0; 194 renderPassDesc.colorAttachments[0].level = 0; 195 renderPassDesc.colorAttachments[0].loadAction = canDiscardOutsideDstRect ? MTLLoadActionDontCare 197 renderPassDesc.colorAttachments[0].storeAction = MTLStoreActionStore;
|
D | GrMtlCopyPipelineState.mm | 23 pipelineDescriptor.colorAttachments[0].pixelFormat = dstPixelFormat;
|
D | GrMtlPipelineStateBuilder.mm | 346 pipelineDescriptor.colorAttachments[0] = create_color_attachment(this->config(), pipeline); 351 SkASSERT(pipelineDescriptor.colorAttachments[0]); 364 pipelineDescriptor.colorAttachments[0].pixelFormat,
|
/external/angle/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; 744 auto &renderPassColorAttachment = this->colorAttachments[i]; 752 outputDescriptor.colorAttachments[i].reset(texture->pixelFormat(), 759 outputDescriptor.colorAttachments[i].reset(texture->pixelFormat(), 766 outputDescriptor.colorAttachments[i].writeMask &= texture->getColorWritableMask(); 771 outputDescriptor.colorAttachments[i].blendingEnabled = false; 772 outputDescriptor.colorAttachments[i].pixelFormat = MTLPixelFormatInvalid; 779 outputDescriptor.colorAttachments[i].reset(); [all …]
|
D | mtl_command_buffer.mm | 1107 objCRenderPassDesc.colorAttachments[i].storeAction = 1108 mRenderPassDesc.colorAttachments[i].storeAction; 1109 finalizeLoadStoreAction(objCRenderPassDesc.colorAttachments[i]); 1184 if (mRenderPassDesc.colorAttachments[i].storeAction == MTLStoreActionDontCare) 1187 mRenderPassDesc.colorAttachments[i].loadAction = MTLLoadActionClear; 1188 mRenderPassDesc.colorAttachments[i].clearColor = 1193 mRenderPassDesc.colorAttachments[i].loadAction = MTLLoadActionLoad; 1293 initAttachmentWriteDependencyAndScissorRect(mRenderPassDesc.colorAttachments[i]); 1814 mRenderPassDesc.colorAttachments[colorAttachmentIndex].storeAction = action; 1867 if (mCachedRenderPassDescObjC.get().colorAttachments[colorAttachmentIndex].texture) [all …]
|
D | mtl_state_cache.h | 219 RenderPipelineColorAttachmentDesc colorAttachments[kMaxRenderTargets]; member 367 RenderPassColorAttachmentDesc colorAttachments[kMaxRenderTargets]; member
|
/external/angle/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()
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawBaseClass.cpp | 91 std::vector<vk::VkImageView> colorAttachments(1); in initialize() local 92 colorAttachments[0] = *m_colorTargetView; in initialize() 94 …const FramebufferCreateInfo framebufferCreateInfo(*m_renderPass, colorAttachments, WIDTH, HEIGHT, … in initialize()
|
D | vktDrawExplicitVertexParameterTests.cpp | 372 vector<VkImageView> colorAttachments; in iterate() local 373 colorAttachments.push_back(*colorTargetView); in iterate() 383 colorAttachments.push_back(*multisampleTargetView); in iterate() 408 …const FramebufferCreateInfo framebufferCreateInfo (*renderPass, colorAttachments, WIDTH, HEIGHT, … in iterate()
|
D | vktDrawDifferingInterpolationTests.cpp | 218 vector<VkImageView> colorAttachments (1); in iterate() local 221 colorAttachments[0] = *colorTargetView; in iterate() 223 …const FramebufferCreateInfo framebufferCreateInfo (*renderPass, colorAttachments, WIDTH, HEIGHT, … in iterate()
|
D | vktDrawNegativeViewportHeightTests.cpp | 173 std::vector<VkImageView> colorAttachments(1); in NegativeViewportHeightTestInstance() local 174 colorAttachments[0] = *m_colorTargetView; in NegativeViewportHeightTestInstance() 176 …const FramebufferCreateInfo framebufferCreateInfo(*m_renderPass, colorAttachments, WIDTH, HEIGHT, … in NegativeViewportHeightTestInstance()
|
D | vktDrawAhbTests.cpp | 373 vector<VkImageView> colorAttachments; in iterate() local 400 colorAttachments.push_back(*imageViews.back()); in iterate() 432 …const FramebufferCreateInfo framebufferCreateInfo (*renderPass, colorAttachments, WIDTH, HEIGHT… in iterate()
|
/external/skia/src/gpu/dawn/ |
D | GrDawnOpsRenderPass.cpp | 70 wgpu::RenderPassColorAttachmentDescriptor* colorAttachments = { &colorAttachment }; in beginRenderPass() local 73 renderPassDescriptor.colorAttachments = colorAttachments; in beginRenderPass()
|
/external/deqp/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()
|
/external/deqp/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()
|
/external/skia/src/gpu/mtl/ |
D | GrMtlCommandBuffer.mm | 79 if (compatible(fPreviousRenderPassDescriptor.colorAttachments[0], 80 descriptor.colorAttachments[0], pipelineState) &&
|
D | GrMtlPipelineStateBuilder.mm | 467 pipelineDescriptor.colorAttachments[0] = mtlColorAttachment; 525 pipelineDescriptor.colorAttachments[0] = create_color_attachment(pixelFormat, 535 SkASSERT(pipelineDescriptor.colorAttachments[0]); 718 pipelineDescriptor.colorAttachments[0].pixelFormat,
|
/external/angle/src/libANGLE/renderer/d3d/ |
D | FramebufferD3D.cpp | 326 const auto &colorAttachments = mState.getColorAttachments(); in getColorAttachmentsForRender() local 330 for (size_t attachmentIndex = 0; attachmentIndex < colorAttachments.size(); ++attachmentIndex) in getColorAttachmentsForRender() 333 const gl::FramebufferAttachment &colorAttachment = colorAttachments[attachmentIndex]; in getColorAttachmentsForRender()
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageTestsUtil.cpp | 326 …std::vector<VkPipelineColorBlendAttachmentState> colorAttachments (colorAttachmentCount, colorB… in makeGraphicsPipeline() local 335 …(deUint32)colorAttachments.size(), // deUint32 attachme… in makeGraphicsPipeline() 336 …colorAttachments.size() != 0 ? &colorAttachments[0] : DE_NULL, // const VkPipelineColorBlendAttach… in makeGraphicsPipeline()
|
/external/deqp/external/vulkancts/modules/vulkan/binding_model/ |
D | vktBindingDescriptorUpdateTests.cpp | 570 const std::vector<vk::VkAttachmentReference> colorAttachments(1u, colorRef); in iterate() local 578 static_cast<deUint32>(colorAttachments.size()), // deUint32 colorAttachmentCount; in iterate() 579 colorAttachments.data(), // const VkAttachmentReference* pColorAttachments; in iterate() 975 const std::vector<vk::VkAttachmentReference> colorAttachments(1u, colorRef); in iterate() local 983 static_cast<deUint32>(colorAttachments.size()), // deUint32 colorAttachmentCount in iterate() 984 colorAttachments.data(), // const VkAttachmentReference* pColorAttachments in iterate()
|
/external/deqp/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()
|
D | vktPipelineRenderToImageTests.cpp | 992 vector<SharedPtrVkImageView> colorAttachments; in testWithSizeReduction() local 1078 colorAttachments.push_back(makeSharedPtr( in testWithSizeReduction() 1080 attachmentHandles.push_back(**colorAttachments.back()); in testWithSizeReduction() 1307 vector<SharedPtrVkImageView> colorAttachments; in drawToMipLevel() local 1318 colorAttachments.push_back(makeSharedPtr(makeImageView( in drawToMipLevel() 1321 attachmentHandles.push_back(**colorAttachments.back()); in drawToMipLevel()
|
/external/deqp/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassTests.cpp | 588 const vector<AttachmentReference>& colorAttachments, in Subpass() argument 596 , m_colorAttachments (colorAttachments) in Subpass() 905 const vector<AttachmentReference>& colorAttachments = subpass.getColorAttachments(); in logRenderPassInfo() local 934 if (!colorAttachments.empty()) in logRenderPassInfo() 938 for (size_t colorNdx = 0; colorNdx < colorAttachments.size(); colorNdx++) in logRenderPassInfo() 941 const AttachmentReference& colorAttachment = colorAttachments[colorNdx]; in logRenderPassInfo() 1621 deUint32 getAttachmentNdx (const vector<AttachmentReference>& colorAttachments, size_t ndx) in getAttachmentNdx() argument 1623 …return (colorAttachments[ndx].getAttachment() == VK_ATTACHMENT_UNUSED) ? (deUint32)ndx : colorAtta… in getAttachmentNdx() 3112 const vector<AttachmentReference>& colorAttachments = subpass.getColorAttachments(); in renderReferenceValues() local 3115 for (size_t attachmentNdx = 0; attachmentNdx < colorAttachments.size(); attachmentNdx++) in renderReferenceValues() [all …]
|