Lines Matching refs:cctx
313 static void checkAttachmentCompleteness (Checker& cctx, const Attachment& attachment,
335 cctx.require(textureLayer(*texAtt) < ltex->numLayers,
340 cctx.require(image->width > 0 && image->height > 0, GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT);
346 cctx.require((flags & formatFlag(attPoint)) != 0, GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT);
348 cctx.canRequire((flags & REQUIRED_RENDERABLE) != 0,
397 const UniquePtr<Checker> cctx(m_factory.createChecker());
404 cctx->require((flags & TEXTURE_VALID) != 0, GL_INVALID_ENUM);
405 cctx->require((flags & TEXTURE_VALID) != 0, GL_INVALID_OPERATION);
406 cctx->require((flags & TEXTURE_VALID) != 0, GL_INVALID_VALUE);
413 cctx->require((flags & RENDERBUFFER_VALID) != 0, GL_INVALID_ENUM);
418 cctx->require(!atts.empty(), GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT);
425 checkAttachmentCompleteness(*cctx, att, attPoint, image, m_formats);
426 cctx->check(it->first, *it->second, image);
429 return cctx->getStatusCodes();