Lines Matching defs:format
866 void clearColorBuffer (sglr::Context& ctx, const tcu::TextureFormat& format, const tcu::Vec4& value)
868 const tcu::TextureChannelClass fmtClass = tcu::getTextureChannelClass(format.type);
891 void readPixels (sglr::Context& ctx, tcu::Surface& dst, int x, int y, int width, int height, const tcu::TextureFormat& format, const tcu::Vec4& scale, const tcu::Vec4& bias)
893 tcu::TextureFormat readFormat = getFramebufferReadFormat(format);
899 ctx.readPixels(x, y, width, height, transferFmt.format, transferFmt.dataType, &data[0]);
931 const char* getFormatName (deUint32 format)
933 switch (format)
992 TCU_FAIL("Unknown format");
996 glu::DataType getFragmentOutputType (const tcu::TextureFormat& format)
998 switch (tcu::getTextureChannelClass(format.type))
1012 DE_FATAL("Unknown format");
1017 tcu::TextureFormat getFramebufferReadFormat (const tcu::TextureFormat& format)
1019 switch (tcu::getTextureChannelClass(format.type))
1035 DE_FATAL("Unknown format");
1054 tcu::RGBA getFormatThreshold (const tcu::TextureFormat& format)
1056 const tcu::IVec4 bits = tcu::getTextureFormatMantissaBitDepth(format);
1066 const tcu::TextureFormat format = glu::mapGLInternalFormat(glFormat);
1068 return getFormatThreshold(format);