Lines Matching refs:attachment
160 void setAttachment(GrGLenum attachmentPoint, const FramebufferAttachment* attachment) { in setAttachment() argument
166 fAttachments[(int)AttachmentPoint::kStencil].reset(SkRef(attachment)); in setAttachment()
169 fAttachments[(int)AttachmentPoint::kDepth].reset(SkRef(attachment)); in setAttachment()
172 fAttachments[(int)AttachmentPoint::kColor].reset(SkRef(attachment)); in setAttachment()
178 for (auto& attachment : fAttachments) { in notifyAttachmentDeleteWhileBound() local
179 if (attachment.get() == deleted) { in notifyAttachmentDeleteWhileBound()
180 attachment.reset(nullptr); in notifyAttachmentDeleteWhileBound()
187 for (auto& attachment : fAttachments) { in numSamples() local
188 if (!attachment) { in numSamples()
192 GrAlwaysAssert(attachment->numSamples() == numSamples); in numSamples()
195 numSamples = attachment->numSamples(); in numSamples()
398 GrGLvoid framebufferRenderbuffer(GrGLenum target, GrGLenum attachment, in framebufferRenderbuffer() argument
409 framebuffer->setAttachment(attachment, renderbuffer); in framebufferRenderbuffer()
412 GrGLvoid namedFramebufferRenderbuffer(GrGLuint framebuffer, GrGLenum attachment, in namedFramebufferRenderbuffer() argument
422 GrGLvoid framebufferTexture2D(GrGLenum target, GrGLenum attachment, GrGLenum textarget, in framebufferTexture2D() argument
427 framebuffer->setAttachment(attachment, this->getSingleTextureObject()); in framebufferTexture2D()
430 GrGLvoid framebufferTexture2DMultisample(GrGLenum target, GrGLenum attachment, in framebufferTexture2DMultisample() argument
436 GrGLvoid namedFramebufferTexture1D(GrGLuint framebuffer, GrGLenum attachment, in namedFramebufferTexture1D() argument
442 GrGLvoid namedFramebufferTexture2D(GrGLuint framebuffer, GrGLenum attachment, in namedFramebufferTexture2D() argument
448 GrGLvoid namedFramebufferTexture3D(GrGLuint framebuffer, GrGLenum attachment, in namedFramebufferTexture3D() argument