Searched refs:m_testCtx (Results 1 - 25 of 333) sorted by relevance

1234567891011>>

/external/deqp/modules/internal/
H A DditDelibsTests.cpp67 addChild(new SelfCheckCase(m_testCtx, "array", "dePoolArray_selfTest()", dePoolArray_selfTest));
68 addChild(new SelfCheckCase(m_testCtx, "heap", "dePoolHeap_selfTest()", dePoolHeap_selfTest));
69 addChild(new SelfCheckCase(m_testCtx, "hash", "dePoolHash_selfTest()", dePoolHash_selfTest));
70 addChild(new SelfCheckCase(m_testCtx, "set", "dePoolSet_selfTest()", dePoolSet_selfTest));
71 addChild(new SelfCheckCase(m_testCtx, "hash_set", "dePoolHashSet_selfTest()", dePoolHashSet_selfTest));
72 addChild(new SelfCheckCase(m_testCtx, "hash_array", "dePoolHashArray_selfTest()", dePoolHashArray_selfTest));
73 addChild(new SelfCheckCase(m_testCtx, "multi_set", "dePoolMultiSet_selfTest()", dePoolMultiSet_selfTest));
87 addChild(new SelfCheckCase(m_testCtx, "thread", "deThread_selfTest()", deThread_selfTest));
88 addChild(new SelfCheckCase(m_testCtx, "mutex", "deMutex_selfTest()", deMutex_selfTest));
89 addChild(new SelfCheckCase(m_testCtx, "semaphor
[all...]
H A DditTestPackage.cpp45 addChild(new TestLogTests (m_testCtx));
46 addChild(new ImageIOTests (m_testCtx));
47 addChild(new ImageCompareTests (m_testCtx));
64 addChild(new BuildInfoTests (m_testCtx));
65 addChild(new DelibsTests (m_testCtx));
66 addChild(new FrameworkTests (m_testCtx));
67 addChild(new DeqpTests (m_testCtx));
H A DditImageCompareTests.cpp75 tcu::ImageIO::loadImage(refImg, m_testCtx.getArchive(), de::FilePath::join(BASE_DIR, m_refImg).getPath());
76 tcu::ImageIO::loadImage(cmpImg, m_testCtx.getArchive(), de::FilePath::join(BASE_DIR, m_cmpImg).getPath());
86 m_testCtx.getLog() << TestLog::Float("Result", "Result metric", "", QP_KEY_TAG_NONE, result)
93 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL,
126 loadImageRGBA8(refImg, m_testCtx.getArchive(), de::FilePath::join(BASE_DIR, m_refImg).getPath());
127 loadImageRGBA8(cmpImg, m_testCtx.getArchive(), de::FilePath::join(BASE_DIR, m_cmpImg).getPath());
131 result = tcu::bilinearCompare(m_testCtx.getLog(), "CompareResult", "Image comparison result", refImg, cmpImg, m_threshold, tcu::COMPARE_LOG_EVERYTHING);
135 m_testCtx.getLog() << TestLog::Integer("CompareTime", "Comparison time", "us", QP_KEY_TAG_TIME, compareTime);
139 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL,
163 addChild(new FuzzyComparisonMetricCase(m_testCtx, "identica
[all...]
H A DditFrameworkTests.cpp71 TestLog& log = m_testCtx.getLog();
112 m_testCtx.setTestResult((numPass == m_numSubCases) ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL,
135 TestLog& log = m_testCtx.getLog();
149 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Parsing passed, should have failed");
151 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, "Parsing failed as expected");
178 addChild(new CaseListParserCase(m_testCtx, "single_case", caseList, subCases, DE_LENGTH_OF_ARRAY(subCases)));
189 addChild(new CaseListParserCase(m_testCtx, "simple_group_1", caseList, subCases, DE_LENGTH_OF_ARRAY(subCases)));
201 addChild(new CaseListParserCase(m_testCtx, "simple_group_2", caseList, subCases, DE_LENGTH_OF_ARRAY(subCases)));
218 addChild(new CaseListParserCase(m_testCtx, "two_groups", caseList, subCases, DE_LENGTH_OF_ARRAY(subCases)));
235 addChild(new CaseListParserCase(m_testCtx, "case_grou
[all...]
H A DditImageIOTests.cpp52 m_testCtx.getLog() << TestLog::Message << "Loading image from file '" << m_filename << "'" << TestLog::EndMessage;
55 tcu::ImageIO::loadImage(texture, m_testCtx.getArchive(), m_filename.c_str());
57 m_testCtx.getLog() << TestLog::Message << "Loaded " << texture.getWidth() << "x" << texture.getHeight() << "x" << texture.getDepth() << " image with format " << texture.getFormat() << TestLog::EndMessage;
68 m_testCtx.getLog() << TestLog::Message << "ERROR: expected hash " << tcu::toHex(m_expectedHash) << ", got " << tcu::toHex(hash) << TestLog::EndMessage;
69 m_testCtx.getLog() << TestLog::Image("Image", "Loaded image", texture.getAccess());
70 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Hash check failed");
73 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, "Pass");
93 addChild(new ImageReadCase(m_testCtx, "rgb24_256x256", "data/imageio/rgb24_256x256.png", 0x6efad777));
94 addChild(new ImageReadCase(m_testCtx, "rgb24_209x181", "data/imageio/rgb24_209x181.png", 0xfd6ea668));
95 addChild(new ImageReadCase(m_testCtx, "rgba32_256x25
[all...]
H A DditBuildInfoTests.cpp102 m_testCtx.getLog() << TestLog::Message << m_valueName << " = " << m_value << TestLog::EndMessage;
103 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, "Pass");
131 m_testCtx.getLog() << TestLog::Message << m_varName << " = " << logValue << TestLog::EndMessage;
133 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL,
162 m_testCtx.getLog()
167 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL,
190 addChild(new BuildInfoStringCase (m_testCtx, "date", "__DATE__", __DATE__));
191 addChild(new BuildInfoStringCase (m_testCtx, "time", "__TIME__", __TIME__));
192 addChild(new BuildInfoStringCase (m_testCtx, "de_debug", "DE_DEBUG", isDebug ? "1" : "not defined"));
193 addChild(new BuildEnumCase (m_testCtx, "de_o
[all...]
/external/deqp/modules/egl/
H A DteglApiCase.cpp47 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, "Pass");
63 m_testCtx.getLog() << TestLog::Message << "// ERROR: expected " << eglu::getErrorStr(expected) << TestLog::EndMessage;
64 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
65 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid error");
73 m_testCtx.getLog() << TestLog::Message << "// ERROR: expected " << (expected ? "EGL_TRUE" : "EGL_FALSE") << TestLog::EndMessage;
74 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
75 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid value");
83 m_testCtx.getLog() << TestLog::Message << "// ERROR: expected EGL_NO_CONTEXT" << TestLog::EndMessage;
84 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
85 m_testCtx
[all...]
/external/deqp/framework/common/
H A DtcuTestCaseWrapper.cpp32 : m_testCtx (testCtx)
44 TestLog& log = m_testCtx.getLog();
58 m_testCtx.setTestResult(QP_TEST_RESULT_RESOURCE_ERROR, "Failed to allocate memory in test case init");
59 m_testCtx.setTerminateAfter(true);
64 m_testCtx.setTestResult(e.getTestResult(), e.getMessage());
65 m_testCtx.setTerminateAfter(e.isFatal());
71 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, e.getMessage());
75 DE_ASSERT(success || m_testCtx.getTestResult() != QP_TEST_RESULT_LAST);
92 m_testCtx.getLog() << e
99 m_testCtx
[all...]
/external/deqp/modules/gles2/functional/
H A Des2fApiCase.cpp54 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, "Pass");
70 m_testCtx.getLog() << tcu::TestLog::Message << "// ERROR: expected " << glu::getErrorStr(expected) << tcu::TestLog::EndMessage;
71 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
72 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid error");
82 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
83 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid error");
92 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
93 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid boolean value");
103 m_testCtx.getLog() << tcu::TestLog::Message << "// No supported extensions available." << tcu::TestLog::EndMessage;
H A Des2fShaderStateQueryTests.cpp507 verifyShaderParam(m_testCtx, *this, shader, GL_SHADER_TYPE, shaderTypes[ndx]);
523 requireShaderCompiler(m_testCtx, *this);
528 verifyShaderParam(m_testCtx, *this, shaderVert, GL_COMPILE_STATUS, GL_FALSE);
529 verifyShaderParam(m_testCtx, *this, shaderFrag, GL_COMPILE_STATUS, GL_FALSE);
538 verifyShaderParam(m_testCtx, *this, shaderVert, GL_COMPILE_STATUS, GL_TRUE);
539 verifyShaderParam(m_testCtx, *this, shaderFrag, GL_COMPILE_STATUS, GL_TRUE);
557 requireShaderCompiler(m_testCtx, *this);
563 verifyShaderParam(m_testCtx, *this, shader, GL_INFO_LOG_LENGTH, 0);
572 if (!logLength.verifyValidity(m_testCtx))
595 m_testCtx
[all...]
/external/deqp/modules/gles2/
H A Dtes2Context.cpp41 : m_testCtx (testCtx)
47 m_renderCtx = glu::createDefaultRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), glu::ApiType::es(2,0));
H A Dtes2Context.hpp51 tcu::TestContext& getTestContext (void) { return m_testCtx; }
57 tcu::TestContext& m_testCtx; member in class:deqp::gles2::Context
H A Dtes2TestCaseWrapper.cpp56 TestLog& log = m_testCtx.getLog();
78 TestLog& log = m_testCtx.getLog();
96 m_testCtx.getLog() << e;
97 m_testCtx.setTestResult(QP_TEST_RESULT_RESOURCE_ERROR, "Resource error in context post-iteration routine");
98 m_testCtx.setTerminateAfter(true);
104 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Error in context post-iteration routine");
/external/deqp/modules/gles3/
H A Dtes3Context.cpp38 : m_testCtx (testCtx)
44 m_renderCtx = glu::createDefaultRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), glu::ApiType::es(3,0));
H A Dtes3Context.hpp51 tcu::TestContext& getTestContext (void) { return m_testCtx; }
57 tcu::TestContext& m_testCtx; member in class:deqp::gles3::Context
H A Dtes3TestCaseWrapper.cpp55 TestLog& log = m_testCtx.getLog();
96 m_testCtx.getLog() << e;
97 m_testCtx.setTestResult(QP_TEST_RESULT_RESOURCE_ERROR, "Resource error in context post-iteration routine");
98 m_testCtx.setTerminateAfter(true);
103 m_testCtx.getLog() << e;
104 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Error in context post-iteration routine");
/external/deqp/modules/gles3/functional/
H A Des3fInternalFormatQueryTests.cpp62 if (!sampleCounts.verifyValidity(m_testCtx))
65 m_testCtx.getLog() << TestLog::Message << "// sample counts is " << sampleCounts << TestLog::EndMessage;
84 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected sample count to be at least one; got " << sampleCount << TestLog::EndMessage;
85 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
86 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got invalid value");
92 m_testCtx.getLog() << TestLog::Message
95 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
96 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got invalid order");
107 if (maxSamples.verifyValidity(m_testCtx))
112 m_testCtx
[all...]
H A Des3fStringQueryTests.cpp61 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid string");
67 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid string");
101 m_testCtx.getLog() << TestLog::Message << "// ERROR: MINOR_VERSION is " << stateVersionMinor << TestLog::EndMessage;
102 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid version.");
148 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid string");
170 m_testCtx.getLog() << TestLog::Message << "// ERROR: NUM_EXTENSIONS is " << numExtensions << "; got " << extensions.size() << " extensions" << TestLog::EndMessage;
171 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
172 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got non-consistent number of extensions");
183 m_testCtx.getLog() << TestLog::Message << "// ERROR: extension " << extension << " found with GetStringi was not found in glGetString(GL_EXTENSIONS)" << TestLog::EndMessage;
184 if (m_testCtx
[all...]
H A Des3fApiCase.cpp56 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, "Pass");
73 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
74 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid error");
84 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
85 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid error");
94 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
95 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid boolean value");
/external/deqp/modules/gles31/
H A Dtes31Context.cpp39 : m_testCtx (testCtx)
43 if (m_testCtx.getCommandLine().getRunMode() == tcu::RUNMODE_EXECUTE)
60 m_renderCtx = glu::createDefaultRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), glu::ApiType::es(3,1));
H A Dtes31TestCaseWrapper.cpp55 TestLog& log = m_testCtx.getLog();
87 m_testCtx.getLog() << e;
88 m_testCtx.setTestResult(QP_TEST_RESULT_RESOURCE_ERROR, "Resource error in context post-iteration routine");
89 m_testCtx.setTerminateAfter(true);
94 m_testCtx.getLog() << e;
95 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Error in context post-iteration routine");
H A Dtes31Context.hpp51 tcu::TestContext& getTestContext (void) { return m_testCtx; }
63 tcu::TestContext& m_testCtx; member in class:deqp::gles31::Context
/external/deqp/modules/gles31/functional/
H A Des31fSampleShadingTests.cpp90 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog());
93 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, "Pass");
97 m_testCtx.getLog() << tcu::TestLog::Message << "Verifying initial value" << tcu::TestLog::EndMessage;
103 m_testCtx.getLog() << tcu::TestLog::Message << "Verifying random values" << tcu::TestLog::EndMessage;
112 if (!allOk && m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
113 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got unexpected value");
120 glu::CallLogWrapper gl(m_context.getRenderContext().getFunctions(), m_testCtx.getLog());
132 m_testCtx.getLog() << tcu::TestLog::Message << "// ERROR: Expected " << ((v) ? ("GL_TRUE") : ("GL_FALSE")) << ", got " << ((retVal == GL_TRUE) ? ("GL_TRUE") : (retVal == GL_FALSE) ? ("GL_FALSE") : ("not-a-boolean")) << tcu::TestLog::EndMessage;
141 if (!state.verifyValidity(m_testCtx))
147 m_testCtx
[all...]
H A Des31fShaderStateQueryTests.cpp93 const tcu::ScopedLogSection section(m_testCtx.getLog(), std::string(samplerTypes[typeNdx].typeStr), std::string() + "Sampler type " + samplerTypes[typeNdx].typeStr);
97 m_testCtx.getLog() << tcu::TestLog::Message << "GL_OES_texture_storage_multisample_2d_array not supported, skipping type " << samplerTypes[typeNdx].typeStr << tcu::TestLog::EndMessage;
111 m_testCtx.getLog() << tcu::TestLog::Message << "Building program with uniform sampler of type " << samplerTypes[typeNdx].typeStr << tcu::TestLog::EndMessage;
115 m_testCtx.getLog() << program;
128 m_testCtx.getLog() << tcu::TestLog::Message << "Verifying uniform type." << tcu::TestLog::EndMessage;
139 m_testCtx.getLog() << tcu::TestLog::Message << "Invalid type, expected " << samplerTypes[typeNdx].glType << ", got " << type << tcu::TestLog::EndMessage;
150 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, "Pass");
152 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Invalid uniform type");
H A Des31fInternalFormatQueryTests.cpp95 m_testCtx.getLog() << tcu::TestLog::Message << "Format must support sample count of " << glu::getGettableStateStr(samplesEnum) << tcu::TestLog::EndMessage;
100 m_testCtx.getLog() << tcu::TestLog::Message << glu::getGettableStateStr(samplesEnum) << " = " << maxSamples << tcu::TestLog::EndMessage;
104 m_testCtx.getLog() << tcu::TestLog::Message << "ERROR: minimum value of " << glu::getGettableStateStr(samplesEnum) << " is 1" << tcu::TestLog::EndMessage;
114 m_testCtx.getLog() << tcu::TestLog::Message << "GL_NUM_SAMPLE_COUNTS = " << numSampleCounts << tcu::TestLog::EndMessage;
118 m_testCtx.getLog() << tcu::TestLog::Message << "ERROR: Format MUST support some multisample configuration, got GL_NUM_SAMPLE_COUNTS = " << numSampleCounts << tcu::TestLog::EndMessage;
125 tcu::MessageBuilder samplesMsg(&m_testCtx.getLog());
154 m_testCtx.getLog() << tcu::TestLog::Message << "ERROR: Samples must be ordered descending." << tcu::TestLog::EndMessage;
165 m_testCtx.getLog() << tcu::TestLog::Message << "ERROR: Only positive SAMPLES allowed." << tcu::TestLog::EndMessage;
174 m_testCtx.getLog() << tcu::TestLog::Message << "ERROR: MAX_*_SAMPLES must be supported." << tcu::TestLog::EndMessage;
181 m_testCtx
[all...]

Completed in 1929 milliseconds

1234567891011>>