Home | History | Annotate | Download | only in functional

Lines Matching refs:TestLog

55 using tcu::TestLog;
367 m_testCtx.getLog() << TestLog::Message << "GL_SAMPLES = " << m_numSamples << TestLog::EndMessage;
422 TestLog& log = m_testCtx.getLog();
436 log << TestLog::Image("RenderedImage", "Rendered image", renderedImg, QP_IMAGE_COMPRESSION_MODE_PNG);
460 log << TestLog::Message
464 << TestLog::EndMessage;
474 log << TestLog::Message << "Failure: Number of distinct colors detected is lower than GL_SAMPLES+1" << TestLog::EndMessage;
480 log << TestLog::Message << "The number of distinct colors detected is lower than GL_SAMPLES+1 - trying again with a slightly altered pattern" << TestLog::EndMessage;
486 log << TestLog::Message << "Success: The number of distinct colors detected is at least GL_SAMPLES+1" << TestLog::EndMessage;
631 m_testCtx.getLog() << TestLog::Message << "Additive blending enabled in order to detect (erroneously) overlapping samples" << TestLog::EndMessage;
636 TestLog& log = m_testCtx.getLog();
833 log << TestLog::Image("RenderedImage", "Rendered image", renderedImg, QP_IMAGE_COMPRESSION_MODE_PNG);
855 log << TestLog::Message << "Failure: Not all quad interiors seem unicolored - common-edge artifacts?" << TestLog::EndMessage;
856 log << TestLog::Message << "Erroneous pixels are drawn red in the following image" << TestLog::EndMessage;
857 log << TestLog::Image("RenderedImageWithErrors", "Rendered image with errors marked", renderedImg, QP_IMAGE_COMPRESSION_MODE_PNG);
858 log << TestLog::Image("ErrorsOnly", "Image with error pixels only", errorImg, QP_IMAGE_COMPRESSION_MODE_PNG);
864 log << TestLog::Message << "Quads seem OK - moving on to next pattern" << TestLog::EndMessage;
869 log << TestLog::Message << "Success: All quad interiors seem unicolored (no common-edge artifacts)" << TestLog::EndMessage;
902 TestLog& log = m_testCtx.getLog();
909 log << TestLog::Message << "Depth test enabled, depth func is GL_LESS" << TestLog::EndMessage;
910 log << TestLog::Message << "Drawing several bigger-than-viewport black or white polygons intersecting each other" << TestLog::EndMessage;
962 TestLog& log = m_testCtx.getLog();
975 log << TestLog::Message << "Drawing a pattern with glStencilFunc(GL_ALWAYS, 1, 1) and glStencilOp(GL_KEEP, GL_KEEP, GL_REPLACE)" << TestLog::EndMessage;
992 log << TestLog::Image("RenderedImgFirst", "First image rendered", renderedImgFirst, QP_IMAGE_COMPRESSION_MODE_PNG);
994 log << TestLog::Message << "Clearing color buffer to black" << TestLog::EndMessage;
1001 log << TestLog::Message << "Checking that color buffer was actually cleared to black" << TestLog::EndMessage;
1012 log << TestLog::Message << "Failure: first non-black pixel, color " << clr << ", detected at coordinates (" << x << ", " << y << ")" << TestLog::EndMessage;
1013 log << TestLog::Image("ClearedImg", "Image after clearing, erroneously non-black", clearedImg);
1020 log << TestLog::Message << "Drawing a viewport-sized quad with glStencilFunc(GL_EQUAL, 1, 1) and glStencilOp(GL_KEEP, GL_KEEP, GL_KEEP) - should result in same image as the first" << TestLog::EndMessage;
1029 log << TestLog::Image("RenderedImgSecond", "Second image rendered", renderedImgSecond, QP_IMAGE_COMPRESSION_MODE_PNG);
1040 log << TestLog::Message << "Success: The two images rendered are identical" << TestLog::EndMessage;
1098 TestLog& log = m_testCtx.getLog();
1105 log << TestLog::Message << "GL_SAMPLE_ALPHA_TO_COVERAGE is enabled" << TestLog::EndMessage;
1112 log << TestLog::Message << "GL_SAMPLE_COVERAGE is enabled" << TestLog::EndMessage;
1122 TestLog& log = m_testCtx.getLog();
1126 log << TestLog::Message << "Clearing color to black" << TestLog::EndMessage;
1134 log << TestLog::Message << "Using color mask TRUE, TRUE, TRUE, FALSE" << TestLog::EndMessage;
1149 log << TestLog::Message << "Drawing a red quad using alpha value " + de::floatToString(alphaOrCoverageValue, 2) << TestLog::EndMessage;
1158 log << TestLog::Message << "Drawing a red quad using sample coverage value " + de::floatToString(coverageValue, 2) << (isInverted ? " (inverted)" : "") << TestLog::EndMessage;
1169 log << TestLog::Image("RenderedImage", "Rendered image", renderedImg, QP_IMAGE_COMPRESSION_MODE_PNG);
1179 log << TestLog::Message << "Average red color component: " << de::floatToString((float)sumRed / 255.0f / (float)numPixels, 2) << TestLog::EndMessage;
1185 log << TestLog::Message << "Failure: Current average red color component is lower than previous" << TestLog::EndMessage;
1194 log << TestLog::Message << "Failure: Image should be completely black" << TestLog::EndMessage;
1201 log << TestLog::Message << "Failure: Image should be completely red" << TestLog::EndMessage;
1213 log << TestLog::Message
1216 << TestLog::EndMessage;
1274 TestLog& log = m_testCtx.getLog();
1279 log << TestLog::Message << "Clearing color to black" << TestLog::EndMessage;
1287 log << TestLog::Message << "GL_SAMPLE_ALPHA_TO_COVERAGE is enabled" << TestLog::EndMessage;
1288 log << TestLog::Message << "Color mask is TRUE, TRUE, TRUE, FALSE" << TestLog::EndMessage;
1294 log << TestLog::Message << "GL_SAMPLE_COVERAGE is enabled" << TestLog::EndMessage;
1297 log << TestLog::Message
1304 << TestLog::EndMessage;
1334 log << TestLog::Image("RenderedImage", "Rendered image", renderedImg, QP_IMAGE_COMPRESSION_MODE_PNG);
1341 log << TestLog::Message << "Failure: Non-zero green color component detected - should have been completely overwritten by red quad" << TestLog::EndMessage;
1347 log << TestLog::Message
1352 << TestLog::EndMessage;
1411 TestLog& log = m_testCtx.getLog();
1420 log << TestLog::Message << "Additive blending enabled in order to detect (erroneously) overlapping samples" << TestLog::EndMessage;
1422 log << TestLog::Message << "Clearing color to all-zeros" << TestLog::EndMessage;
1425 log << TestLog::Message << "Drawing the pattern with GL_SAMPLE_COVERAGE disabled" << TestLog::EndMessage;
1429 log << TestLog::Image("RenderedImageNoSampleCoverage", "Rendered image with GL_SAMPLE_COVERAGE disabled", renderedImgNoSampleCoverage, QP_IMAGE_COMPRESSION_MODE_PNG);
1431 log << TestLog::Message << "Clearing color to all-zeros" << TestLog::EndMessage;
1434 log << TestLog::Message << "Drawing the pattern with GL_SAMPLE_COVERAGE enabled, using non-inverted masks" << TestLog::EndMessage;
1436 log << TestLog::Message << "Drawing the pattern with GL_SAMPLE_COVERAGE enabled, using same sample coverage values but inverted masks" << TestLog::EndMessage;
1440 log << TestLog::Image("RenderedImageSampleCoverage", "Rendered image with GL_SAMPLE_COVERAGE enabled", renderedImgSampleCoverage, QP_IMAGE_COMPRESSION_MODE_PNG);
1451 log << TestLog::Message << "Success: The two images rendered are identical" << TestLog::EndMessage;