Home
last modified time | relevance | path

Searched refs:fColorAttachment (Results 1 – 14 of 14) sorted by relevance

/third_party/skia/src/gpu/mtl/
DGrMtlRenderTarget.h38 GrMtlAttachment* colorAttachment() const { return fColorAttachment.get(); } in colorAttachment()
39 id<MTLTexture> colorMTLTexture() const { return fColorAttachment->mtlTexture(); } in colorMTLTexture()
46 if (fColorAttachment->numSamples() == 1) { in nonMSAAAttachment()
47 return fColorAttachment.get(); in nonMSAAAttachment()
74 sk_sp<GrMtlAttachment> fColorAttachment; variable
DGrMtlRenderTarget.mm30 , fColorAttachment(std::move(colorAttachment)) function
42 , fColorAttachment(std::move(colorAttachment)) function
95 SkASSERT(nil == fColorAttachment);
101 info.fTexture.reset(GrRetainPtrFromId(fColorAttachment->mtlTexture()));
106 return GrBackendFormat::MakeMtl(fColorAttachment->mtlFormat());
148 fColorAttachment = nil;
154 fColorAttachment = nil;
DGrMtlFramebuffer.h23 GrMtlAttachment* colorAttachment() { return fColorAttachment.get(); } in colorAttachment()
34 sk_sp<GrMtlAttachment> fColorAttachment; variable
DGrMtlFramebuffer.mm27 : fColorAttachment(std::move(colorAttachment)) function
/third_party/skia/src/gpu/vk/
DGrVkRenderTarget.cpp61 , fColorAttachment(std::move(colorAttachment)) in GrVkRenderTarget()
64 SkASSERT(fColorAttachment); in GrVkRenderTarget()
66 if (fColorAttachment->numSamples() == 1 && fColorAttachment->supportsInputAttachmentUsage()) { in GrVkRenderTarget()
71 fResolveAttachment = fColorAttachment; in GrVkRenderTarget()
75 (fResolveAttachment->isProtected() == fColorAttachment->isProtected())); in GrVkRenderTarget()
76 SkASSERT(SkToBool(fColorAttachment->vkUsageFlags() & VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT)); in GrVkRenderTarget()
95 SkASSERT(!fColorAttachment); in GrVkRenderTarget()
206 return fColorAttachment->backendFormat(); in backendFormat()
210 if (fColorAttachment->numSamples() == 1) { in nonMSAAAttachment()
211 return fColorAttachment.get(); in nonMSAAAttachment()
[all …]
DGrVkRenderTarget.h57 return fColorAttachment.get(); in colorAttachment()
82 return fResolveAttachment ? fResolveAttachment.get() : fColorAttachment.get(); in externalAttachment()
165 fResolveAttachment ? fResolveAttachment.get() : fColorAttachment.get(); in onSetRelease()
171 sk_sp<GrVkImage> fColorAttachment; variable
DGrVkFramebuffer.h73 GrVkImage* colorAttachment() { return fColorAttachment.get(); } in colorAttachment()
93 sk_sp<GrVkImage> fColorAttachment; variable
DGrVkFramebuffer.cpp73 , fColorAttachment(std::move(colorAttachment)) in GrVkFramebuffer()
86 , fColorAttachment(std::move(colorAttachment)) in GrVkFramebuffer()
/third_party/skia/experimental/graphite/src/
DDrawContext.cpp117 desc.fColorAttachment.fTextureProxy = sk_ref_sp(fDrawPasses[0]->target()); in snapRenderPassTask()
118 std::tie(desc.fColorAttachment.fLoadOp, desc.fColorAttachment.fStoreOp) = fDrawPasses[0]->ops(); in snapRenderPassTask()
DRenderPassTask.cpp40 if (fRenderPassDesc.fColorAttachment.fTextureProxy) { in addCommands()
41 auto target = fRenderPassDesc.fColorAttachment.fTextureProxy; in addCommands()
DCommandBuffer.cpp30 auto& colorInfo = renderPassDesc.fColorAttachment; in beginRenderPass()
DCommandBuffer.h33 AttachmentDesc fColorAttachment; member
/third_party/skia/tests/graphite/
DCommandBufferTest.cpp63 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()
/third_party/skia/experimental/graphite/src/mtl/
DMtlCommandBuffer.mm91 auto& colorInfo = renderPassDesc.fColorAttachment;