Searched refs:attachmentObject (Results 1 – 4 of 4) sorted by relevance
991 const FramebufferAttachment *attachmentObject = framebuffer->getAttachment(context, attachment); in QueryFramebufferAttachmentParameteriv() local993 if (attachmentObject == nullptr) in QueryFramebufferAttachmentParameteriv()1023 *params = attachmentObject->type(); in QueryFramebufferAttachmentParameteriv()1027 *params = attachmentObject->id(); in QueryFramebufferAttachmentParameteriv()1031 *params = attachmentObject->mipLevel(); in QueryFramebufferAttachmentParameteriv()1036 TextureTarget face = attachmentObject->cubeMapFace(); in QueryFramebufferAttachmentParameteriv()1039 *params = ToGLenum(attachmentObject->cubeMapFace()); in QueryFramebufferAttachmentParameteriv()1050 *params = attachmentObject->getRedSize(); in QueryFramebufferAttachmentParameteriv()1054 *params = attachmentObject->getGreenSize(); in QueryFramebufferAttachmentParameteriv()1058 *params = attachmentObject->getBlueSize(); in QueryFramebufferAttachmentParameteriv()[all …]
4017 const FramebufferAttachment *attachmentObject = framebuffer->getAttachment(context, attachment); in ValidateGetFramebufferAttachmentParameterivBase() local4018 if (attachmentObject) in ValidateGetFramebufferAttachmentParameterivBase()4020 ASSERT(attachmentObject->type() == GL_RENDERBUFFER || in ValidateGetFramebufferAttachmentParameterivBase()4021 attachmentObject->type() == GL_TEXTURE || in ValidateGetFramebufferAttachmentParameterivBase()4022 attachmentObject->type() == GL_FRAMEBUFFER_DEFAULT); in ValidateGetFramebufferAttachmentParameterivBase()4027 if (attachmentObject->type() != GL_RENDERBUFFER && in ValidateGetFramebufferAttachmentParameterivBase()4028 attachmentObject->type() != GL_TEXTURE) in ValidateGetFramebufferAttachmentParameterivBase()4036 if (attachmentObject->type() != GL_TEXTURE) in ValidateGetFramebufferAttachmentParameterivBase()4044 if (attachmentObject->type() != GL_TEXTURE) in ValidateGetFramebufferAttachmentParameterivBase()4060 if (attachmentObject->type() != GL_TEXTURE) in ValidateGetFramebufferAttachmentParameterivBase()
1132 const FramebufferAttachment *attachmentObject = framebuffer->getAttachment(context, attachment); in QueryFramebufferAttachmentParameteriv() local1134 if (attachmentObject == nullptr) in QueryFramebufferAttachmentParameteriv()1164 *params = attachmentObject->type(); in QueryFramebufferAttachmentParameteriv()1168 *params = attachmentObject->id(); in QueryFramebufferAttachmentParameteriv()1172 *params = attachmentObject->mipLevel(); in QueryFramebufferAttachmentParameteriv()1177 TextureTarget face = attachmentObject->cubeMapFace(); in QueryFramebufferAttachmentParameteriv()1180 *params = ToGLenum(attachmentObject->cubeMapFace()); in QueryFramebufferAttachmentParameteriv()1191 *params = attachmentObject->getRedSize(); in QueryFramebufferAttachmentParameteriv()1195 *params = attachmentObject->getGreenSize(); in QueryFramebufferAttachmentParameteriv()1199 *params = attachmentObject->getBlueSize(); in QueryFramebufferAttachmentParameteriv()[all …]
5431 const FramebufferAttachment *attachmentObject = framebuffer->getAttachment(context, attachment); in ValidateGetFramebufferAttachmentParameterivBase() local5432 if (attachmentObject) in ValidateGetFramebufferAttachmentParameterivBase()5434 ASSERT(attachmentObject->type() == GL_RENDERBUFFER || in ValidateGetFramebufferAttachmentParameterivBase()5435 attachmentObject->type() == GL_TEXTURE || in ValidateGetFramebufferAttachmentParameterivBase()5436 attachmentObject->type() == GL_FRAMEBUFFER_DEFAULT); in ValidateGetFramebufferAttachmentParameterivBase()5441 if (attachmentObject->type() != GL_RENDERBUFFER && in ValidateGetFramebufferAttachmentParameterivBase()5442 attachmentObject->type() != GL_TEXTURE) in ValidateGetFramebufferAttachmentParameterivBase()5451 if (attachmentObject->type() != GL_TEXTURE) in ValidateGetFramebufferAttachmentParameterivBase()5460 if (attachmentObject->type() != GL_TEXTURE) in ValidateGetFramebufferAttachmentParameterivBase()5477 if (attachmentObject->type() != GL_TEXTURE) in ValidateGetFramebufferAttachmentParameterivBase()