/external/deqp/modules/egl/ |
H A D | teglNativeColorMappingTests.cpp | 83 deUint32 createGLES2Program (const glw::Functions& gl, TestLog& log) argument 176 log.startShaderProgram(linkStatus != 0, programInfoLog.c_str()); 178 log << TestLog::Shader(QP_SHADER_TYPE_VERTEX, vertexShaderSource, vertexCompileStatus != 0, vertexInfoLog); 179 log << TestLog::Shader(QP_SHADER_TYPE_FRAGMENT, fragmentShaderSource, fragmentCompileStatus != 0, fragmentInfoLog); 181 log.endShaderProgram(); 243 bool validate (TestLog& log, EGLDisplay display, EGLConfig config, const tcu::TextureLevel& result, const tcu::Vec4& color) argument 269 return tcu::intThresholdCompare(log, "Result compare", "Compare results", reference.getAccess(), result.getAccess(), tcu::UVec4(1u, 1u, 1u, (bitDepth.w() > 0 ? 1u : std::numeric_limits<deUint32>::max())), tcu::COMPARE_LOG_RESULT); 304 void logConfigInfo (TestLog& log, EGLDisplay display, EGLConfig config, NativeColorMappingCase::NativeType nativeType, int waitFrames) argument 306 log << TestLog::Message << "EGL_RED_SIZE: " << eglu::getConfigAttribInt(display, config, EGL_RED_SIZE) << TestLog::EndMessage; 307 log << TestLo 318 testNativeWindow(TestLog& log, eglu::NativeDisplay& nativeDisplay, eglu::NativeWindow& nativeWindow, EGLDisplay display, EGLContext context, EGLConfig config, const glw::Functions& gl, bool renderColor, int waitFrames, size_t colorCount, const tcu::Vec4* colors) argument 360 testNativePixmap(TestLog& log, eglu::NativeDisplay& nativeDisplay, eglu::NativePixmap& nativePixmap, EGLDisplay display, EGLContext context, EGLConfig config, const glw::Functions& gl, bool renderColor, size_t colorCount, const tcu::Vec4* colors) argument 400 testNativePixmapCopy(TestLog& log, eglu::NativePixmap& nativePixmap, EGLDisplay display, EGLContext context, EGLConfig config, const glw::Functions& gl, bool renderColor, size_t colorCount, const tcu::Vec4* colors) argument [all...] |
H A D | teglQueryContextTests.cpp | 94 tcu::TestLog& log = m_testCtx.getLog(); local 104 log << TestLog::Message << "Creating window surface with config ID " << configId << TestLog::EndMessage; 118 log << e; 123 log << TestLog::Message << TestLog::EndMessage; 128 log << TestLog::Message << "Creating pixmap surface with config ID " << configId << TestLog::EndMessage; 142 log << e; 147 log << TestLog::Message << TestLog::EndMessage; 152 log << TestLog::Message << "Creating pbuffer surface with config ID " << configId << TestLog::EndMessage; 172 log << e; 177 log << TestLo 186 TestLog& log = m_testCtx.getLog(); local 245 TestLog& log = m_testCtx.getLog(); local 285 TestLog& log = m_testCtx.getLog(); local 325 TestLog& log = m_testCtx.getLog(); local 372 TestLog& log = m_testCtx.getLog(); local 459 tcu::TestLog& log = m_testCtx.getLog(); local [all...] |
H A D | teglQuerySurfaceTests.cpp | 52 static void logSurfaceAttribute (tcu::TestLog& log, EGLint attribute, EGLint value) argument 57 log << TestLog::Message << " " << name << ": " << valueFmt << TestLog::EndMessage; 60 static void logSurfaceAttributes (tcu::TestLog& log, const tcu::egl::Surface& surface, const EGLint* attributes, int num) argument 66 logSurfaceAttribute(log, attrib, surface.getAttribute(attrib)); 70 static void logCommonSurfaceAttributes (tcu::TestLog& log, const tcu::egl::Surface& surface) argument 87 logSurfaceAttributes(log, surface, attributes, DE_LENGTH_OF_ARRAY(attributes)); 90 static void logPbufferSurfaceAttributes (tcu::TestLog& log, const tcu::egl::Surface& surface) argument 100 logSurfaceAttributes(log, surface, attributes, DE_LENGTH_OF_ARRAY(attributes)); 119 tcu::TestLog& log = m_testCtx.getLog(); local 129 log << TestLo 252 tcu::TestLog& log = m_testCtx.getLog(); local 302 tcu::TestLog& log = m_testCtx.getLog(); local 332 tcu::TestLog& log = m_testCtx.getLog(); local 362 tcu::TestLog& log = m_testCtx.getLog(); local 465 tcu::TestLog& log = m_testCtx.getLog(); local 575 tcu::TestLog& log = m_testCtx.getLog(); local 602 tcu::TestLog& log = m_testCtx.getLog(); local 629 tcu::TestLog& log = m_testCtx.getLog(); local [all...] |
/external/deqp/modules/gles2/accuracy/ |
H A D | es2aVaryingInterpolationTests.cpp | 152 TestLog& log = m_testCtx.getLog(); local 190 log << program; 221 log << TestLog::Message << "a_coords = " << ((tcu::Vec3(0.0f) - bias)/scale) << " -> " << ((tcu::Vec3(1.0f) - bias)/scale) << TestLog::EndMessage; 222 log << TestLog::Message << "u_scale = " << scale << TestLog::EndMessage; 223 log << TestLog::Message << "u_bias = " << bias << TestLog::EndMessage; 271 int score = tcu::measurePixelDiffAccuracy(log, "Result", "Image comparison result", reference, rendered, bestScoreDiff, worstScoreDiff, tcu::COMPARE_LOG_EVERYTHING);
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fBufferTestUtil.cpp | 75 bool compareByteArrays (tcu::TestLog& log, const deUint8* resPtr, const deUint8* refPtr, int numBytes) argument 84 log << TestLog::Section("Verify", "Verification result"); 102 log << TestLog::Message << len << " byte difference at offset " << diffSpanStart << "\n" 108 log << TestLog::Message << "(output too long, truncated)" << TestLog::EndMessage; 122 log << TestLog::Message << len << " byte difference at offset " << diffSpanStart << "\n" 128 log << TestLog::Message << "(output too long, truncated)" << TestLog::EndMessage; 131 log << TestLog::Message << (isOk ? "Verification passed." : "Verification FAILED!") << TestLog::EndMessage; 132 log << TestLog::EndSection;
|
H A D | es2fColorClearTest.cpp | 102 TestLog& log = m_testCtx.getLog(); local 276 log << TestLog::ImageSet("Result", "Resulting framebuffer") 289 log << TestLog::ImageSet("Result", "Resulting framebuffer")
|
H A D | es2fDepthRangeTests.cpp | 142 TestLog& log = m_testCtx.getLog(); local 160 log << program; 257 bool isOk = tcu::fuzzyCompare(log, "Result", "Image comparison result", referenceFrame, renderedFrame, 0.05f, tcu::COMPARE_LOG_RESULT); 291 TestLog& log = m_testCtx.getLog(); local 310 log << program; 390 bool isOk = tcu::fuzzyCompare(log, "Result", "Image comparison result", referenceFrame, renderedFrame, 0.05f, tcu::COMPARE_LOG_RESULT);
|
H A D | es2fDepthStencilClearTests.cpp | 165 TestLog& log = m_testCtx.getLog(); local 184 log << *m_visProgram;
|
H A D | es2fDitheringTests.cpp | 241 TestLog& log = m_testCtx.getLog(); local 256 log << TestLog::Message << "Dithering is " << (m_ditheringEnabled ? "enabled" : "disabled") << TestLog::EndMessage; 263 log << TestLog::Message << "Drawing a " << (isVerticallyIncreasing ? "vertically" : "horizontally") << " increasing gradient" << TestLog::EndMessage; 275 log << TestLog::Image(isVerticallyIncreasing ? "VerGradient" : "HorGradient", 298 log << TestLog::Message << "First failure at pixel (" << x << ", " << y << ") (not printing further errors)" << TestLog::EndMessage; 309 log << TestLog::Image("ColorChoiceErrorMask", "Error mask for color choices", errorMask); 332 log << TestLog::Message 351 TestLog& log = m_testCtx.getLog(); local 364 log << TestLog::Message << "Dithering is " << (m_ditheringEnabled ? "enabled" : "disabled") << TestLog::EndMessage; 371 log << TestLo [all...] |
H A D | es2fFboApiTest.cpp | 27 * + Makes it possible to easily log all relevant calls into test log. 119 TestLog& log = testCtx.getLog(); local 120 log << TestLog::Message << "// Querying " << getAttachmentName(attachment) << " " << getAttachmentParameterName(pname) << TestLog::EndMessage; 128 log << TestLog::Message << "// Pass" << TestLog::EndMessage; 131 log << TestLog::Message << "// Fail, expected " << getAttachmentParameterValueName(expectedValue) << " without error" << TestLog::EndMessage;
|
H A D | es2fFloatStateQueryTests.cpp | 71 StateVerifier (const glw::Functions& gl, tcu::TestLog& log, const char* testNamePostfix); 90 StateVerifier::StateVerifier (const glw::Functions& gl, tcu::TestLog& log, const char* testNamePostfix) argument 91 : glu::CallLogWrapper (gl, log) 111 GetBooleanVerifier (const glw::Functions& gl, tcu::TestLog& log); 119 GetBooleanVerifier::GetBooleanVerifier (const glw::Functions& gl, tcu::TestLog& log) argument 120 : StateVerifier(gl, log, "_getboolean") 253 GetIntegerVerifier (const glw::Functions& gl, tcu::TestLog& log); 261 GetIntegerVerifier::GetIntegerVerifier (const glw::Functions& gl, tcu::TestLog& log) argument 262 : StateVerifier(gl, log, "_getinteger") 438 GetInteger64Verifier (const glw::Functions& gl, tcu::TestLog& log); 446 GetInteger64Verifier(const glw::Functions& gl, tcu::TestLog& log) argument 631 GetFloatVerifier(const glw::Functions& gl, tcu::TestLog& log) argument [all...] |
H A D | es2fShaderBuiltinVarTests.cpp | 272 TestLog& log = m_testCtx.getLog(); local 295 log << program; 342 bool isOk = tcu::pixelThresholdCompare(log, "Result", "Image comparison result", refImg, testImg, threshold, tcu::COMPARE_LOG_RESULT); 366 TestLog& log = m_testCtx.getLog(); local 389 log << program; 434 bool isOk = tcu::pixelThresholdCompare(log, "Result", "Image comparison result", refImg, testImg, threshold, tcu::COMPARE_LOG_RESULT); 453 TestLog& log = m_testCtx.getLog(); local 498 log << program; 551 bool isOk = tcu::fuzzyCompare(log, "Result", "Image comparison result", refImg, testImg, threshold, tcu::COMPARE_LOG_RESULT); 574 TestLog& log local [all...] |
H A D | es2fTextureFormatTests.cpp | 110 TestLog& log = m_testCtx.getLog(); local 117 log << TestLog::Message << "2D texture, " << fmtName.str() << ", " << m_width << "x" << m_height 138 TestLog& log = m_testCtx.getLog(); local 160 log << TestLog::Message << "Texture parameters:" 193 // Compare and log. 194 bool isOk = compareImages(log, referenceFrame, renderedFrame, threshold); 256 TestLog& log = m_testCtx.getLog(); local 266 log << TestLog::Message << "Cube map texture, " << fmtName.str() << ", " << m_width << "x" << m_height 315 TestLog& log = m_testCtx.getLog(); local 337 log << TestLo 449 TestLog& log = m_testCtx.getLog(); local 560 TestLog& log = m_testCtx.getLog(); local [all...] |
/external/deqp/modules/gles3/accuracy/ |
H A D | es3aVaryingInterpolationTests.cpp | 155 TestLog& log = m_testCtx.getLog(); local 197 log << program; 228 log << TestLog::Message << "a_coords = " << ((tcu::Vec3(0.0f) - bias)/scale) << " -> " << ((tcu::Vec3(1.0f) - bias)/scale) << TestLog::EndMessage; 229 log << TestLog::Message << "u_scale = " << scale << TestLog::EndMessage; 230 log << TestLog::Message << "u_bias = " << bias << TestLog::EndMessage; 278 int score = tcu::measurePixelDiffAccuracy(log, "Result", "Image comparison result", reference, rendered, bestScoreDiff, worstScoreDiff, tcu::COMPARE_LOG_EVERYTHING);
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fBooleanStateQueryTests.cpp | 48 StateVerifier (const glw::Functions& gl, tcu::TestLog& log, const char* testNamePostfix); 59 StateVerifier::StateVerifier (const glw::Functions& gl, tcu::TestLog& log, const char* testNamePostfix) argument 60 : glu::CallLogWrapper (gl, log) 80 IsEnabledVerifier (const glw::Functions& gl, tcu::TestLog& log); 85 IsEnabledVerifier::IsEnabledVerifier (const glw::Functions& gl, tcu::TestLog& log) argument 86 : StateVerifier(gl, log, "_isenabled") 121 GetBooleanVerifier (const glw::Functions& gl, tcu::TestLog& log); 126 GetBooleanVerifier::GetBooleanVerifier (const glw::Functions& gl, tcu::TestLog& log) argument 127 : StateVerifier(gl, log, "_getboolean") 190 GetIntegerVerifier (const glw::Functions& gl, tcu::TestLog& log); 196 GetIntegerVerifier(const glw::Functions& gl, tcu::TestLog& log) argument 265 GetInteger64Verifier(const glw::Functions& gl, tcu::TestLog& log) argument 334 GetFloatVerifier(const glw::Functions& gl, tcu::TestLog& log) argument [all...] |
H A D | es3fBufferMapTests.cpp | 66 TestLog& log = m_testCtx.getLog(); local 86 isOk = compareByteArrays(log, (const deUint8*)ptr, refBuf.getPtr(m_mapOffset), m_mapSize); 487 TestLog& log = m_testCtx.getLog(); local 512 if (!compareByteArrays(log, (const deUint8*)ptr, refBuf.getPtr(m_mapOffset), m_mapSize))
|
H A D | es3fColorClearTest.cpp | 102 TestLog& log = m_testCtx.getLog(); local 276 log << TestLog::ImageSet("Result", "Resulting framebuffer") 289 log << TestLog::ImageSet("Result", "Resulting framebuffer")
|
H A D | es3fDepthStencilClearTests.cpp | 165 TestLog& log = m_testCtx.getLog(); local 187 log << *m_visProgram;
|
H A D | es3fDitheringTests.cpp | 241 TestLog& log = m_testCtx.getLog(); local 256 log << TestLog::Message << "Dithering is " << (m_ditheringEnabled ? "enabled" : "disabled") << TestLog::EndMessage; 263 log << TestLog::Message << "Drawing a " << (isVerticallyIncreasing ? "vertically" : "horizontally") << " increasing gradient" << TestLog::EndMessage; 275 log << TestLog::Image(isVerticallyIncreasing ? "VerGradient" : "HorGradient", 298 log << TestLog::Message << "First failure at pixel (" << x << ", " << y << ") (not printing further errors)" << TestLog::EndMessage; 309 log << TestLog::Image("ColorChoiceErrorMask", "Error mask for color choices", errorMask); 332 log << TestLog::Message 351 TestLog& log = m_testCtx.getLog(); local 364 log << TestLog::Message << "Dithering is " << (m_ditheringEnabled ? "enabled" : "disabled") << TestLog::EndMessage; 371 log << TestLo [all...] |
H A D | es3fFboApiTests.cpp | 27 * + Makes it possible to easily log all relevant calls into test log. 115 TestLog& log = testCtx.getLog(); local 116 log << TestLog::Message << "// Querying " << getAttachmentName(attachment) << " " << getAttachmentParameterName(pname) << TestLog::EndMessage; 124 log << TestLog::Message << "// Pass" << TestLog::EndMessage; 127 log << TestLog::Message << "// Fail, expected " << getAttachmentParameterValueName(expectedValue) << " without error" << TestLog::EndMessage; 553 tcu::TestLog& log = m_context.getTestContext().getLog(); local 554 sglr::GLContext context(m_context.getRenderContext(), log, sglr::GLCONTEXT_LOG_CALLS, tcu::IVec4(0, 0, m_context.getRenderContext().getRenderTarget().getWidth(), m_context.getRenderContext().getRenderTarget().getHeight()));
|
H A D | es3fFloatStateQueryTests.cpp | 71 StateVerifier (const glw::Functions& gl, tcu::TestLog& log, const char* testNamePostfix); 91 StateVerifier::StateVerifier (const glw::Functions& gl, tcu::TestLog& log, const char* testNamePostfix) argument 92 : glu::CallLogWrapper (gl, log) 112 GetBooleanVerifier (const glw::Functions& gl, tcu::TestLog& log); 121 GetBooleanVerifier::GetBooleanVerifier (const glw::Functions& gl, tcu::TestLog& log) argument 122 : StateVerifier(gl, log, "_getboolean") 285 GetIntegerVerifier (const glw::Functions& gl, tcu::TestLog& log); 294 GetIntegerVerifier::GetIntegerVerifier (const glw::Functions& gl, tcu::TestLog& log) argument 295 : StateVerifier(gl, log, "_getinteger") 491 GetInteger64Verifier (const glw::Functions& gl, tcu::TestLog& log); 500 GetInteger64Verifier(const glw::Functions& gl, tcu::TestLog& log) argument 706 GetFloatVerifier(const glw::Functions& gl, tcu::TestLog& log) argument [all...] |
H A D | es3fFragDepthTests.cpp | 125 TestLog& log = m_testCtx.getLog(); local 152 log << basicQuadProgram; 193 log << program; 264 bool isOk = tcu::fuzzyCompare(log, "Result", "Image comparison result", referenceFrame, renderedFrame, 0.05f, tcu::COMPARE_LOG_RESULT); 296 TestLog& log = m_testCtx.getLog(); local 322 log << program; 366 log << program; 416 bool isOk = tcu::fuzzyCompare(log, "Result", "Image comparison result", referenceFrame, renderedFrame, 0.05f, tcu::COMPARE_LOG_RESULT);
|
H A D | es3fRasterizerDiscardTests.cpp | 248 TestLog& log = m_testCtx.getLog(); local 256 log << TestLog::Section(header, header); 270 log << TestLog::Message << "ERROR: " << e.what() << "." << TestLog::EndMessage << TestLog::EndSection; 276 log << TestLog::Message << "ERROR: " << e.what() << "." << TestLog::EndMessage << TestLog::EndSection; 286 log << TestLog::Message << "Scissor test enabled: glScissor(0, 0, " << renderTarget.getWidth() << ", " << renderTarget.getHeight() << ")" << TestLog::EndMessage; 408 log << TestLog::Image ("Result image", "Result image", pixels); 409 log << TestLog::Message << "Test result: " << (testOk ? "Passed!" : "Failed!") << TestLog::EndMessage; 413 log << TestLog::Message << "Primitive or buffer clear was not discarded." << TestLog::EndMessage << TestLog::EndSection; 418 log << TestLog::Message << "Primitive or buffer clear was discarded correctly." << TestLog::EndMessage << TestLog::EndSection;
|
H A D | es3fTextureStateQueryTests.cpp | 52 TexParamVerifier (const glw::Functions& gl, tcu::TestLog& log, const char* testNamePostfix); 63 TexParamVerifier::TexParamVerifier (const glw::Functions& gl, tcu::TestLog& log, const char* testNamePostfix) argument 64 : glu::CallLogWrapper (gl, log) 81 GetTexParameterIVerifier (const glw::Functions& gl, tcu::TestLog& log); 87 GetTexParameterIVerifier::GetTexParameterIVerifier (const glw::Functions& gl, tcu::TestLog& log) argument 88 : TexParamVerifier(gl, log, "_gettexparameteri") 136 GetTexParameterFVerifier (const glw::Functions& gl, tcu::TestLog& log); 142 GetTexParameterFVerifier::GetTexParameterFVerifier (const glw::Functions& gl, tcu::TestLog& log) argument 143 : TexParamVerifier(gl, log, "_gettexparameterf")
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fDebugTests.cpp | 306 std::stringstream log; local 363 log << "Extra instances of message were found: (" << id << ") with " 366 return VerificationResult(QP_TEST_RESULT_FAIL, "Extra instances of a deterministic message were present", log.str()); 370 log << "Instances of message were missing: (" << id << ") with " 373 return VerificationResult(QP_TEST_RESULT_FAIL, "Message missing", log.str()); 380 log << "Extra instances of message were found but the message is non-deterministic(warning): (" << id << ") with " 383 return VerificationResult(QP_TEST_RESULT_QUALITY_WARNING, "Extra instances of a message were present", log.str()); 387 log << "Instances of message were missing but the message is non-deterministic(warning): (" << id << ") with " 390 return VerificationResult(QP_TEST_RESULT_QUALITY_WARNING, "Message missing", log.str()); 397 log << "Extr 449 TestLog& log = m_testCtx.getLog(); local 473 TestLog& log = m_testCtx.getLog(); local 492 TestLog& log = m_testCtx.getLog(); local 514 TestLog& log = m_testCtx.getLog(); local 577 tcu::TestLog& log = m_testCtx.getLog(); local 645 tcu::TestLog& log = m_testCtx.getLog(); local 669 TestLog& log = m_testCtx.getLog(); local [all...] |