Lines Matching defs:log
364 // Query and log number of samples per pixel.
422 TestLog& log = m_testCtx.getLog();
432 // Read and log rendered image.
436 log << TestLog::Image("RenderedImage", "Rendered image", renderedImg, QP_IMAGE_COMPRESSION_MODE_PNG);
460 log << TestLog::Message
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;
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();
912 log << TestLog::Message << "Depth test enabled, depth func is GL_LESS" << TestLog::EndMessage;
913 log << TestLog::Message << "Drawing several bigger-than-viewport black or white polygons intersecting each other" << TestLog::EndMessage;
974 TestLog& log = m_testCtx.getLog();
987 log << TestLog::Message << "Drawing a pattern with glStencilFunc(GL_ALWAYS, 1, 1) and glStencilOp(GL_KEEP, GL_KEEP, GL_REPLACE)" << TestLog::EndMessage;
1004 log << TestLog::Image("RenderedImgFirst", "First image rendered", renderedImgFirst, QP_IMAGE_COMPRESSION_MODE_PNG);
1006 log << TestLog::Message << "Clearing color buffer to black" << TestLog::EndMessage;
1013 log << TestLog::Message << "Checking that color buffer was actually cleared to black" << TestLog::EndMessage;
1024 log << TestLog::Message << "Failure: first non-black pixel, color " << clr << ", detected at coordinates (" << x << ", " << y << ")" << TestLog::EndMessage;
1025 log << TestLog::Image("ClearedImg", "Image after clearing, erroneously non-black", clearedImg);
1032 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;
1041 log << TestLog::Image("RenderedImgSecond", "Second image rendered", renderedImgSecond, QP_IMAGE_COMPRESSION_MODE_PNG);
1043 bool passed = tcu::pixelThresholdCompare(log,
1052 log << TestLog::Message << "Success: The two images rendered are identical" << TestLog::EndMessage;
1111 TestLog& log = m_testCtx.getLog();
1118 log << TestLog::Message << "GL_SAMPLE_ALPHA_TO_COVERAGE is enabled" << TestLog::EndMessage;
1125 log << TestLog::Message << "GL_SAMPLE_COVERAGE is enabled" << TestLog::EndMessage;
1135 TestLog& log = m_testCtx.getLog();
1139 log << TestLog::Message << "Clearing color to black" << TestLog::EndMessage;
1147 log << TestLog::Message << "Using color mask TRUE, TRUE, TRUE, FALSE" << TestLog::EndMessage;
1162 log << TestLog::Message << "Drawing a red quad using alpha value " + de::floatToString(alphaOrCoverageValue, 2) << TestLog::EndMessage;
1171 log << TestLog::Message << "Drawing a red quad using sample coverage value " + de::floatToString(coverageValue, 2) << (isInverted ? " (inverted)" : "") << TestLog::EndMessage;
1178 // Read ang log image.
1182 log << TestLog::Image("RenderedImage", "Rendered image", renderedImg, QP_IMAGE_COMPRESSION_MODE_PNG);
1192 log << TestLog::Message << "Average red color component: " << de::floatToString((float)sumRed / 255.0f / (float)numPixels, 2) << TestLog::EndMessage;
1198 log << TestLog::Message << "Failure: Current average red color component is lower than previous" << TestLog::EndMessage;
1207 log << TestLog::Message << "Failure: Image should be completely black" << TestLog::EndMessage;
1214 log << TestLog::Message << "Failure: Image should be completely red" << TestLog::EndMessage;
1226 log << TestLog::Message
1287 TestLog& log = m_testCtx.getLog();
1292 log << TestLog::Message << "Clearing color to black" << TestLog::EndMessage;
1300 log << TestLog::Message << "GL_SAMPLE_ALPHA_TO_COVERAGE is enabled" << TestLog::EndMessage;
1301 log << TestLog::Message << "Color mask is TRUE, TRUE, TRUE, FALSE" << TestLog::EndMessage;
1307 log << TestLog::Message << "GL_SAMPLE_COVERAGE is enabled" << TestLog::EndMessage;
1310 log << TestLog::Message
1347 log << TestLog::Image("RenderedImage", "Rendered image", renderedImg, QP_IMAGE_COMPRESSION_MODE_PNG);
1354 log << TestLog::Message << "Failure: Non-zero green color component detected - should have been completely overwritten by red quad" << TestLog::EndMessage;
1360 log << TestLog::Message
1424 TestLog& log = m_testCtx.getLog();
1433 log << TestLog::Message << "Additive blending enabled in order to detect (erroneously) overlapping samples" << TestLog::EndMessage;
1435 log << TestLog::Message << "Clearing color to all-zeros" << TestLog::EndMessage;
1438 log << TestLog::Message << "Drawing the pattern with GL_SAMPLE_COVERAGE disabled" << TestLog::EndMessage;
1442 log << TestLog::Image("RenderedImageNoSampleCoverage", "Rendered image with GL_SAMPLE_COVERAGE disabled", renderedImgNoSampleCoverage, QP_IMAGE_COMPRESSION_MODE_PNG);
1444 log << TestLog::Message << "Clearing color to all-zeros" << TestLog::EndMessage;
1447 log << TestLog::Message << "Drawing the pattern with GL_SAMPLE_COVERAGE enabled, using non-inverted masks" << TestLog::EndMessage;
1449 log << TestLog::Message << "Drawing the pattern with GL_SAMPLE_COVERAGE enabled, using same sample coverage values but inverted masks" << TestLog::EndMessage;
1453 log << TestLog::Image("RenderedImageSampleCoverage", "Rendered image with GL_SAMPLE_COVERAGE enabled", renderedImgSampleCoverage, QP_IMAGE_COMPRESSION_MODE_PNG);
1455 bool passed = tcu::pixelThresholdCompare(log,
1464 log << TestLog::Message << "Success: The two images rendered are identical" << TestLog::EndMessage;