Lines Matching refs:GrAttachment
668 GrAttachment* stencil = rt->getStencilAttachment(useMSAASurface); in attachStencilAttachment()
689 GrAttachment::ComputeSharedAttachmentUniqueKey(*this->caps(), in attachStencilAttachment()
692 GrAttachment::UsageFlags::kStencilAttachment, in attachStencilAttachment()
698 auto keyedStencil = this->findByUniqueKey<GrAttachment>(sbKey); in attachStencilAttachment()
716 sk_sp<GrAttachment> GrResourceProvider::getDiscardableMSAAAttachment(SkISize dimensions, in getDiscardableMSAAAttachment()
739 GrAttachment::ComputeSharedAttachmentUniqueKey(*this->caps(), in getDiscardableMSAAAttachment()
742 GrAttachment::UsageFlags::kColorAttachment, in getDiscardableMSAAAttachment()
748 auto msaaAttachment = this->findByUniqueKey<GrAttachment>(key); in getDiscardableMSAAAttachment()
760 sk_sp<GrAttachment> GrResourceProvider::makeMSAAAttachment(SkISize dimensions, in makeMSAAAttachment()
795 sk_sp<GrAttachment> GrResourceProvider::refScratchMSAAAttachment(SkISize dimensions, in refScratchMSAAAttachment()
812 GrAttachment::ComputeScratchKey(*this->caps(), in refScratchMSAAAttachment()
815 GrAttachment::UsageFlags::kColorAttachment, in refScratchMSAAAttachment()
824 GrAttachment* attachment = static_cast<GrAttachment*>(resource); in refScratchMSAAAttachment()
826 return sk_sp<GrAttachment>(attachment); in refScratchMSAAAttachment()