Searched refs:attachmentObject (Results 1 – 2 of 2) sorted by relevance
1126 const FramebufferAttachment *attachmentObject = framebuffer->getAttachment(context, attachment); in QueryFramebufferAttachmentParameteriv() local1128 if (attachmentObject == nullptr) in QueryFramebufferAttachmentParameteriv()1158 *params = attachmentObject->type(); in QueryFramebufferAttachmentParameteriv()1162 *params = attachmentObject->id(); in QueryFramebufferAttachmentParameteriv()1166 *params = attachmentObject->mipLevel(); in QueryFramebufferAttachmentParameteriv()1171 TextureTarget face = attachmentObject->cubeMapFace(); in QueryFramebufferAttachmentParameteriv()1174 *params = ToGLenum(attachmentObject->cubeMapFace()); in QueryFramebufferAttachmentParameteriv()1185 *params = attachmentObject->getRedSize(); in QueryFramebufferAttachmentParameteriv()1189 *params = attachmentObject->getGreenSize(); in QueryFramebufferAttachmentParameteriv()1193 *params = attachmentObject->getBlueSize(); in QueryFramebufferAttachmentParameteriv()[all …]
5203 const FramebufferAttachment *attachmentObject = framebuffer->getAttachment(context, attachment); in ValidateGetFramebufferAttachmentParameterivBase() local5204 if (attachmentObject) in ValidateGetFramebufferAttachmentParameterivBase()5206 ASSERT(attachmentObject->type() == GL_RENDERBUFFER || in ValidateGetFramebufferAttachmentParameterivBase()5207 attachmentObject->type() == GL_TEXTURE || in ValidateGetFramebufferAttachmentParameterivBase()5208 attachmentObject->type() == GL_FRAMEBUFFER_DEFAULT); in ValidateGetFramebufferAttachmentParameterivBase()5213 if (attachmentObject->type() != GL_RENDERBUFFER && in ValidateGetFramebufferAttachmentParameterivBase()5214 attachmentObject->type() != GL_TEXTURE) in ValidateGetFramebufferAttachmentParameterivBase()5222 if (attachmentObject->type() != GL_TEXTURE) in ValidateGetFramebufferAttachmentParameterivBase()5230 if (attachmentObject->type() != GL_TEXTURE) in ValidateGetFramebufferAttachmentParameterivBase()5246 if (attachmentObject->type() != GL_TEXTURE) in ValidateGetFramebufferAttachmentParameterivBase()