Home
last modified time | relevance | path

Searched refs:colorAttachments (Results 1 – 25 of 44) sorted by relevance

12

/external/angle/src/tests/gl_tests/
DFramebufferFetchTest.cpp393 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/
DGrMtlGpuCommandBuffer.mm40 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 =
DGrMtlCopyManager.mm192 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;
DGrMtlCopyPipelineState.mm23 pipelineDescriptor.colorAttachments[0].pixelFormat = dstPixelFormat;
DGrMtlPipelineStateBuilder.mm346 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/
Dmtl_state_cache.mm159 [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 …]
Dmtl_command_buffer.mm1107 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 …]
Dmtl_state_cache.h219 RenderPipelineColorAttachmentDesc colorAttachments[kMaxRenderTargets]; member
367 RenderPassColorAttachmentDesc colorAttachments[kMaxRenderTargets]; member
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DFramebuffer11.cpp69 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/
DvktDrawBaseClass.cpp91 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()
DvktDrawExplicitVertexParameterTests.cpp372 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()
DvktDrawDifferingInterpolationTests.cpp218 vector<VkImageView> colorAttachments (1); in iterate() local
221 colorAttachments[0] = *colorTargetView; in iterate()
223 …const FramebufferCreateInfo framebufferCreateInfo (*renderPass, colorAttachments, WIDTH, HEIGHT, … in iterate()
DvktDrawNegativeViewportHeightTests.cpp173 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()
DvktDrawAhbTests.cpp373 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/
DGrDawnOpsRenderPass.cpp70 wgpu::RenderPassColorAttachmentDescriptor* colorAttachments = { &colorAttachment }; in beginRenderPass() local
73 renderPassDescriptor.colorAttachments = colorAttachments; in beginRenderPass()
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateBaseClass.cpp159 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/
Des3fFboStateQueryTests.cpp654 } colorAttachments[] = in test() local
663 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(colorAttachments); ++ndx) in test()
664colorAttachments[ndx].internalFormat, GL_COLOR_ATTACHMENT0, colorAttachments[ndx].bitsR, colorAtta… in test()
/external/skia/src/gpu/mtl/
DGrMtlCommandBuffer.mm79 if (compatible(fPreviousRenderPassDescriptor.colorAttachments[0],
80 descriptor.colorAttachments[0], pipelineState) &&
DGrMtlPipelineStateBuilder.mm467 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/
DFramebufferD3D.cpp326 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/
DvktImageTestsUtil.cpp326 …std::vector<VkPipelineColorBlendAttachmentState> colorAttachments (colorAttachmentCount, colorB… in makeGraphicsPipeline() local
335 …(deUint32)colorAttachments.size(), // deUint32 attachme… in makeGraphicsPipeline()
336colorAttachments.size() != 0 ? &colorAttachments[0] : DE_NULL, // const VkPipelineColorBlendAttach… in makeGraphicsPipeline()
/external/deqp/external/vulkancts/modules/vulkan/binding_model/
DvktBindingDescriptorUpdateTests.cpp570 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/
DvktPipelineFramebufferAttachmentTests.cpp409 vector<SharedPtrVkImageView> colorAttachments; in test() local
459colorAttachments.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
1111colorAttachments.push_back(makeSharedPtr(makeImageView(vk, device, ! caseDef.multisample ? *colorI… in testDifferentAttachmentSizes()
1112 attachmentHandles.push_back(**colorAttachments.back()); in testDifferentAttachmentSizes()
DvktPipelineRenderToImageTests.cpp992 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/
DvktRenderPassTests.cpp588 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 …]

12