Lines Matching refs:formatInfo
1484 const FormatInfo& formatInfo;
1490 , formatInfo(format)
1534 const auto image0 = loadImage(archive, formatInfo.internalFormat, 0);
1535 const auto image1 = loadImage(archive, formatInfo.internalFormat, 1);
1536 const auto image2 = loadImage(archive, formatInfo.internalFormat, 2);
1566 const bool hasAlpha = formatInfo.format == GL_RGBA;
1567 gl.renderbufferStorage(GL_RENDERBUFFER, bufferFormats[hasAlpha][formatInfo.issRGB], image0.width, image0.height);
1597 gl.texImage2D(GL_TEXTURE_2D, 0, formatInfo.sizedFormat, image2.width, image2.height, 0, formatInfo.format, GL_UNSIGNED_BYTE, image2.data.data());
1604 gl.compressedTexImage2D(GL_TEXTURE_2D, 0, formatInfo.internalFormat, image0.width, image0.height, 0, image0.data.size(), image0.data.data());
1606 gl.compressedTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, image1.width, image1.height, formatInfo.internalFormat, image1.data.size(), image1.data.data());
1625 const auto& offsetIt = offsets.find(formatInfo.internalFormat);
1677 for(const auto& formatInfo : compressedFormats)
1678 if (glu::contextSupports(m_context.getRenderContext().getType(), formatInfo.minApi))
1679 formatGroup->addChild(new CompressedFormatTest(m_context, sharedData, formatInfo));