Lines Matching defs:log

150 inline int compareImages (tcu::TestLog& log, const ConstPixelBufferAccess& test, const ConstPixelBufferAccess& ref, const PixelBufferAccess& diffMask, int kernelRadius, bool (*pixelCmp)(const tcu::IVec4& a, const tcu::IVec4& b))
226 log << TestLog::Message << deviatingPixels << " deviating pixel(s) found." << TestLog::EndMessage;
227 log << TestLog::Message << faultyPixels << " faulty pixel(s) found." << TestLog::EndMessage;
243 int compareBlackNonBlackImages (tcu::TestLog& log, const ConstPixelBufferAccess& test, const ConstPixelBufferAccess& ref, const PixelBufferAccess& diffMask, int kernelRadius)
245 return compareImages(log, test, ref, diffMask, kernelRadius, compareBlackNonBlackPixels);
260 int compareColoredImages (tcu::TestLog& log, const ConstPixelBufferAccess& test, const ConstPixelBufferAccess& ref, const PixelBufferAccess& diffMask, int kernelRadius)
262 return compareImages(log, test, ref, diffMask, kernelRadius, compareColoredPixels);
273 bool checkHalfFilledImageOverdraw (tcu::TestLog& log, const tcu::RenderTarget& m_renderTarget, const ConstPixelBufferAccess& image, const PixelBufferAccess& output)
299 log << TestLog::Message << "Faulty pixel(s) found." << TestLog::EndMessage;
517 tcu::TestLog& log = m_testCtx.getLog();
518 sglr::GLContext glesContext (m_context.getRenderContext(), log, 0, tcu::IVec4(0, 0, TEST_CANVAS_SIZE, TEST_CANVAS_SIZE));
528 // log the purpose of the test
529 log << TestLog::Message << "Viewport: left=" << m_viewport.left << "\tbottom=" << m_viewport.bottom << "\twidth=" << m_viewport.width << "\theight=" << m_viewport.height << TestLog::EndMessage;
530 log << TestLog::Message << "Rendering points with point size " << m_pointSize << ". Coordinates:" << TestLog::EndMessage;
532 log << TestLog::Message
573 log << TestLog::Message << "Comparing images... " << TestLog::EndMessage;
574 log << TestLog::Message << "Deviation within radius of " << kernelRadius << " is allowed." << TestLog::EndMessage;
576 faultyPixels = compareBlackNonBlackImages(log, testSurface.getAccess(), refSurface.getAccess(), diffMask.getAccess(), kernelRadius);
580 log << TestLog::ImageSet("Images", "Image comparison")
654 tcu::TestLog& log = m_testCtx.getLog();
655 sglr::GLContext glesContext (m_context.getRenderContext(), log, 0, tcu::IVec4(0, 0, TEST_CANVAS_SIZE, TEST_CANVAS_SIZE));
665 // log the purpose of the test
666 log << TestLog::Message << "Viewport: left=" << m_viewport.left << "\tbottom=" << m_viewport.bottom << "\twidth=" << m_viewport.width << "\theight=" << m_viewport.height << TestLog::EndMessage;
667 log << TestLog::Message << "Rendering lines with line width " << m_lineWidth << ". Coordinates:" << TestLog::EndMessage;
673 log << TestLog::Message << "\tfrom (x=" << m_lines[ndx].p0.x() << "\ty=" << m_lines[ndx].p0.y() << "\tz=" << m_lines[ndx].p0.z() << "\tw=" << m_lines[ndx].p0.w() << ")\t" << fromProperties << TestLog::EndMessage;
674 log << TestLog::Message << "\tto (x=" << m_lines[ndx].p1.x() << "\ty=" << m_lines[ndx].p1.y() << "\tz=" << m_lines[ndx].p1.z() << "\tw=" << m_lines[ndx].p1.w() << ")\t" << toProperties << TestLog::EndMessage;
675 log << TestLog::Message << TestLog::EndMessage;
753 tcu::TestLog& log = m_testCtx.getLog();
756 log << TestLog::Message << "Comparing images... " << TestLog::EndMessage;
757 log << TestLog::Message << "Deviation within radius of " << m_searchKernelSize << " is allowed." << TestLog::EndMessage;
758 log << TestLog::Message << faultyLimit << " faulty pixels are allowed." << TestLog::EndMessage;
760 faultyPixels = compareBlackNonBlackImages(log, testImageAccess, referenceImageAccess, diffMask.getAccess(), m_searchKernelSize);
764 log << TestLog::ImageSet("Images", "Image comparison")
773 log << TestLog::Message << "Wide line support is optional, reporting compatibility warning." << TestLog::EndMessage;
797 tcu::TestLog& log = m_testCtx.getLog();
807 log << TestLog::Message << "Comparing images... " << TestLog::EndMessage;
808 log << TestLog::Message << "Deviation within radius of " << kernelRadius << " is allowed." << TestLog::EndMessage;
809 log << TestLog::Message << faultyLimit << " faulty pixels are allowed." << TestLog::EndMessage;
811 faultyPixels = compareColoredImages(log, testImageAccess, referenceImageAccess, diffMask.getAccess(), kernelRadius);
815 log << TestLog::ImageSet("Images", "Image comparison")
828 if (!tcu::fuzzyCompare(log, "Images", "", referenceImageAccess, testImageAccess, threshold, tcu::COMPARE_LOG_ON_ERROR))
832 log << TestLog::Message << "Wide line support is optional, reporting compatibility warning." << TestLog::EndMessage;
878 tcu::TestLog& log = m_testCtx.getLog();
879 sglr::GLContext glesContext (m_context.getRenderContext(), log, 0, tcu::IVec4(0, 0, TEST_CANVAS_SIZE, TEST_CANVAS_SIZE));
889 // log the purpose of the test
890 log << TestLog::Message << "Viewport: left=" << m_viewport.left << "\tbottom=" << m_viewport.bottom << "\twidth=" << m_viewport.width << "\theight=" << m_viewport.height << TestLog::EndMessage;
891 log << TestLog::Message << "Rendering triangles. Coordinates:" << TestLog::EndMessage;
901 log << TestLog::Message << "\tv0 (x=" << m_polys[ndx].p0.x() << "\ty=" << m_polys[ndx].p0.y() << "\tz=" << m_polys[ndx].p0.z() << "\tw=" << m_polys[ndx].p0.w() << ")\t" << v0Properties << "\t" << c0Properties << TestLog::EndMessage;
902 log << TestLog::Message << "\tv1 (x=" << m_polys[ndx].p1.x() << "\ty=" << m_polys[ndx].p1.y() << "\tz=" << m_polys[ndx].p1.z() << "\tw=" << m_polys[ndx].p1.w() << ")\t" << v1Properties << "\t" << c1Properties << TestLog::EndMessage;
903 log << TestLog::Message << "\tv2 (x=" << m_polys[ndx].p2.x() << "\ty=" << m_polys[ndx].p2.y() << "\tz=" << m_polys[ndx].p2.z() << "\tw=" << m_polys[ndx].p2.w() << ")\t" << v2Properties << "\t" << c2Properties << TestLog::EndMessage;
904 log << TestLog::Message << TestLog::EndMessage;
955 tcu::TestLog& log = m_testCtx.getLog();
959 log << TestLog::Message << "Comparing images... " << TestLog::EndMessage;
960 log << TestLog::Message << "Deviation within radius of " << kernelRadius << " is allowed." << TestLog::EndMessage;
961 log << TestLog::Message << faultyLimit << " faulty pixels are allowed." << TestLog::EndMessage;
963 faultyPixels = compareBlackNonBlackImages(log, testImageAccess, referenceImageAccess, diffMask.getAccess(), kernelRadius);
967 log << TestLog::ImageSet("Images", "Image comparison")
994 tcu::TestLog& log = m_testCtx.getLog();
1003 log << TestLog::Message << "Comparing images... " << TestLog::EndMessage;
1004 log << TestLog::Message << "Deviation within radius of " << kernelRadius << " is allowed." << TestLog::EndMessage;
1005 log << TestLog::Message << faultyLimit << " faulty pixels are allowed." << TestLog::EndMessage;
1006 faultyPixels = compareColoredImages(log, testImageAccess, referenceImageAccess, diffMask.getAccess(), kernelRadius);
1010 log << TestLog::ImageSet("Images", "Image comparison")
1023 if (!tcu::fuzzyCompare(log, "Images", "", referenceImageAccess, testImageAccess, threshold, tcu::COMPARE_LOG_ON_ERROR))
1052 tcu::TestLog& log = m_testCtx.getLog();
1053 sglr::GLContext glesContext (m_context.getRenderContext(), log, 0, tcu::IVec4(0, 0, TEST_CANVAS_SIZE, TEST_CANVAS_SIZE));
1071 log << TestLog::Message << "Checking for overdraw " << TestLog::EndMessage;
1072 overdrawOk = checkHalfFilledImageOverdraw(log, m_context.getRenderTarget(), testSurface.getAccess(), outputImage.getAccess());
1076 log << TestLog::ImageSet("Images", "Image comparison")
1092 log << TestLog::Message << "Comparing images... " << TestLog::EndMessage;
1093 log << TestLog::Message << "Deviation within radius of " << kernelRadius << " is allowed." << TestLog::EndMessage;
1097 faultyPixels = compareBlackNonBlackImages(log, testSurface.getAccess(), refSurface.getAccess(), diffMask.getAccess(), kernelRadius);
1101 log << TestLog::ImageSet("Images", "Image comparison")
1146 tcu::TestLog& log = m_testCtx.getLog();
1148 // log the purpose of the test
1149 log << TestLog::Message << "Viewport: left=" << m_viewport.left << "\tbottom=" << m_viewport.bottom << "\twidth=" << m_viewport.width << "\theight=" << m_viewport.height << TestLog::EndMessage;
1150 log << TestLog::Message << "Rendering triangles. Coordinates:" << TestLog::EndMessage;
1157 log << TestLog::Message << "\tv0 (x=" << m_triangles[ndx].v0.x() << "\ty=" << m_triangles[ndx].v0.y() << "\tz=" << m_triangles[ndx].v0.z() << "\tw=" << m_triangles[ndx].v0.w() << ")\t" << v0Properties << TestLog::EndMessage;
1158 log << TestLog::Message << "\tv1 (x=" << m_triangles[ndx].v1.x() << "\ty=" << m_triangles[ndx].v1.y() << "\tz=" << m_triangles[ndx].v1.z() << "\tw=" << m_triangles[ndx].v1.w() << ")\t" << v1Properties << TestLog::EndMessage;
1159 log << TestLog::Message << "\tv2 (x=" << m_triangles[ndx].v2.x() << "\ty=" << m_triangles[ndx].v2.y() << "\tz=" << m_triangles[ndx].v2.z() << "\tw=" << m_triangles[ndx].v2.w() << ")\t" << v2Properties << TestLog::EndMessage;
1160 log << TestLog::Message << TestLog::EndMessage;