Lines Matching refs:attachment

2671         GLenum target, GLenum attachment,  in s_glFramebufferRenderbuffer()  argument
2677 SET_ERROR_IF(!GLESv2Validation::framebufferAttachment(ctx, attachment), GL_INVALID_ENUM); in s_glFramebufferRenderbuffer()
2678 state->attachRbo(target, attachment, renderbuffer); in s_glFramebufferRenderbuffer()
2680 … ctx->m_glFramebufferRenderbuffer_enc(self, target, attachment, renderbuffertarget, renderbuffer); in s_glFramebufferRenderbuffer()
2718 GLenum target, GLenum attachment, in s_glFramebufferTexture2D() argument
2724 SET_ERROR_IF(!GLESv2Validation::framebufferAttachment(ctx, attachment), GL_INVALID_ENUM); in s_glFramebufferTexture2D()
2725 state->attachTextureObject(target, attachment, texture); in s_glFramebufferTexture2D()
2727 ctx->m_glFramebufferTexture2D_enc(self, target, attachment, textarget, texture, level); in s_glFramebufferTexture2D()
2731 GLenum target, GLenum attachment, in s_glFramebufferTexture3DOES() argument
2736 state->attachTextureObject(target, attachment, texture); in s_glFramebufferTexture3DOES()
2738 …ctx->m_glFramebufferTexture3DOES_enc(self, target, attachment, textarget, texture, level, zoffset); in s_glFramebufferTexture3DOES()
2742 GLenum target, GLenum attachment, GLenum pname, GLint* params) { in s_glGetFramebufferAttachmentParameteriv() argument
2748 !state->attachmentHasObject(target, attachment), in s_glGetFramebufferAttachmentParameteriv()
2753 (!state->attachmentHasObject(target, attachment) || in s_glGetFramebufferAttachmentParameteriv()
2754 state->getBoundFramebufferAttachmentType(target, attachment) != in s_glGetFramebufferAttachmentParameteriv()
2756 !state->attachmentHasObject(target, attachment) ? in s_glGetFramebufferAttachmentParameteriv()
2758 SET_ERROR_IF(attachment == GL_DEPTH_STENCIL_ATTACHMENT && in s_glGetFramebufferAttachmentParameteriv()
2764 (attachment == GL_BACK || in s_glGetFramebufferAttachmentParameteriv()
2765 attachment == GL_FRONT), in s_glGetFramebufferAttachmentParameteriv()
2767 ctx->m_glGetFramebufferAttachmentParameteriv_enc(self, target, attachment, pname, params); in s_glGetFramebufferAttachmentParameteriv()
2771 GLenum attachment) const { in isCompleteFbo()
2773 state->getBoundFramebufferFormat(target, attachment, &fbo_format_info); in isCompleteFbo()
2792 if (attachment == GL_STENCIL_ATTACHMENT) { in isCompleteFbo()
3815 void GL2Encoder::s_glFramebufferTextureLayer(void* self, GLenum target, GLenum attachment, GLuint t… in s_glFramebufferTextureLayer() argument
3820 SET_ERROR_IF(!GLESv2Validation::framebufferAttachment(ctx, attachment), GL_INVALID_ENUM); in s_glFramebufferTextureLayer()
3825 state->attachTextureObject(target, attachment, texture); in s_glFramebufferTextureLayer()
3833 ctx->m_glFramebufferTextureLayer_enc(self, target, attachment, texture, level, layer); in s_glFramebufferTextureLayer()