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

1234567891011>>

/external/deqp/modules/internal/
H A DditDelibsTests.cpp81 addChild(new SelfCheckCase(m_testCtx, "array", "dePoolArray_selfTest()", dePoolArray_selfTest));
82 addChild(new SelfCheckCase(m_testCtx, "heap", "dePoolHeap_selfTest()", dePoolHeap_selfTest));
83 addChild(new SelfCheckCase(m_testCtx, "hash", "dePoolHash_selfTest()", dePoolHash_selfTest));
84 addChild(new SelfCheckCase(m_testCtx, "set", "dePoolSet_selfTest()", dePoolSet_selfTest));
85 addChild(new SelfCheckCase(m_testCtx, "hash_set", "dePoolHashSet_selfTest()", dePoolHashSet_selfTest));
86 addChild(new SelfCheckCase(m_testCtx, "hash_array", "dePoolHashArray_selfTest()", dePoolHashArray_selfTest));
87 addChild(new SelfCheckCase(m_testCtx, "multi_set", "dePoolMultiSet_selfTest()", dePoolMultiSet_selfTest));
107 m_testCtx.getLog() << TestLog::Message << getDescription() << " returned " << m_func() << TestLog::EndMessage;
108 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, "Pass");
126 addChild(new SelfCheckCase(m_testCtx, "threa
[all...]
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::Image("RefImage", "Reference Image", refImg)
90 m_testCtx.getLog() << TestLog::Float("Result", "Result metric", "", QP_KEY_TAG_NONE, result)
97 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL,
130 loadImageRGBA8(refImg, m_testCtx.getArchive(), de::FilePath::join(BASE_DIR, m_refImg).getPath());
131 loadImageRGBA8(cmpImg, m_testCtx.getArchive(), de::FilePath::join(BASE_DIR, m_cmpImg).getPath());
135 result = tcu::bilinearCompare(m_testCtx.getLog(), "CompareResult", "Image comparison result", refImg, cmpImg, m_threshold, tcu::COMPARE_LOG_EVERYTHING);
139 m_testCtx.getLog() << TestLog::Integer("CompareTime", "Comparison time", "us", QP_KEY_TAG_TIME, compareTime);
143 m_testCtx
[all...]
H A DditSeedBuilderTests.cpp53 TestLog& log = m_testCtx.getLog();
63 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid seed");
65 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, "Pass");
85 TestLog& log = m_testCtx.getLog();
103 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Seed seems to only depends on first value.");
105 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Seed seems to only depends on second value.");
107 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, "Pass");
123 addChild(new SeedBuilderTest<bool>(m_testCtx, true, 132088003u, "bool_true", "Seed from boolean true."));
124 addChild(new SeedBuilderTest<bool>(m_testCtx, false, 50600761u, "bool_false", "Seed from boolean false."));
126 addChild(new SeedBuilderTest<deInt8>(m_testCtx,
[all...]
H A DditTestPackage.cpp49 addChild(createSRGB8ConversionTest(m_testCtx));
63 addChild(new TestLogTests (m_testCtx));
64 addChild(new ImageIOTests (m_testCtx));
65 addChild(new ImageCompareTests (m_testCtx));
66 addChild(new TextureTests (m_testCtx));
67 addChild(createSeedBuilderTests (m_testCtx));
111 addChild(new BuildInfoTests (m_testCtx));
112 addChild(new DelibsTests (m_testCtx));
113 addChild(new FrameworkTests (m_testCtx));
114 addChild(new DeqpTests (m_testCtx));
[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", "internal/data/imageio/rgb24_256x256.png", 0x6efad777));
94 addChild(new ImageReadCase(m_testCtx, "rgb24_209x181", "internal/data/imageio/rgb24_209x181.png", 0xfd6ea668));
95 addChild(new ImageReadCase(m_testCtx, "rgba32_256x25
[all...]
H A DditFrameworkTests.cpp84 TestLog& log = m_testCtx.getLog();
125 m_testCtx.setTestResult((numPass == m_numSubCases) ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL,
148 TestLog& log = m_testCtx.getLog();
162 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Parsing passed, should have failed");
164 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, "Parsing failed as expected");
191 addChild(new CaseListParserCase(m_testCtx, "single_case", caseList, subCases, DE_LENGTH_OF_ARRAY(subCases)));
202 addChild(new CaseListParserCase(m_testCtx, "simple_group_1", caseList, subCases, DE_LENGTH_OF_ARRAY(subCases)));
214 addChild(new CaseListParserCase(m_testCtx, "simple_group_2", caseList, subCases, DE_LENGTH_OF_ARRAY(subCases)));
231 addChild(new CaseListParserCase(m_testCtx, "two_groups", caseList, subCases, DE_LENGTH_OF_ARRAY(subCases)));
248 addChild(new CaseListParserCase(m_testCtx, "case_grou
[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, "de_debug", "DE_DEBUG", isDebug ? "1" : "not defined"));
191 addChild(new BuildEnumCase (m_testCtx, "de_os", "DE_OS", DE_OS, getOsName));
192 addChild(new BuildEnumCase (m_testCtx, "de_cpu", "DE_CPU", DE_CPU, getCpuName));
193 addChild(new BuildEnumCase (m_testCtx, "de_compile
[all...]
/external/deqp/modules/gles31/
H A Dtes31Context.cpp39 : m_testCtx (testCtx)
43 if (m_testCtx.getCommandLine().getRunMode() == tcu::RUNMODE_EXECUTE)
62 m_renderCtx = glu::createDefaultRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), glu::ApiType::es(3, 2));
66 m_renderCtx = glu::createDefaultRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), glu::ApiType::es(3, 1));
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/egl/
H A DteglApiCase.cpp69 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, "Pass");
90 m_testCtx.getLog() << TestLog::Message << "// ERROR expected: " << eglu::getErrorStr(expected) << ", Got: " << eglu::getErrorStr(err) << TestLog::EndMessage;
91 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
92 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid error");
101 m_testCtx.getLog() << TestLog::Message << "// ERROR expected: " << eglu::getErrorStr(expectedA) << " or " << eglu::getErrorStr(expectedB) << ", Got: " << eglu::getErrorStr(err) << TestLog::EndMessage;
102 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
103 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid error");
111 m_testCtx.getLog() << TestLog::Message << "// ERROR expected: " << eglu::getBooleanStr(expected) << ", Got: " << eglu::getBooleanStr(got) << TestLog::EndMessage;
112 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
113 m_testCtx
[all...]
/external/deqp/modules/glshared/
H A DglsShaderLibrary.cpp39 : m_testCtx (testCtx)
47 return new tcu::TestCaseGroup(m_testCtx, name.c_str(), description.c_str(), children);
52 return new ShaderLibraryCase(m_testCtx, m_renderCtx, m_contextInfo, name.c_str(), description.c_str(), spec);
56 tcu::TestContext& m_testCtx; member in class:deqp::gls::__anon4618::CaseFactory
64 : m_testCtx (testCtx)
76 CaseFactory caseFactory (m_testCtx, m_renderCtx, m_contextInfo);
78 return glu::sl::parseFile(m_testCtx.getArchive(), fileName, &caseFactory);
/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");
97 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
98 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid boolean value");
108 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
/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
/external/deqp/framework/common/
H A DtcuTestSessionExecutor.cpp49 : m_testCtx (testCtx)
165 TestLog& log = m_testCtx.getLog();
171 m_testCtx.setTestResult(QP_TEST_RESULT_LAST, "");
172 m_testCtx.setTerminateAfter(false);
186 m_testCtx.setTestResult(QP_TEST_RESULT_RESOURCE_ERROR, "Failed to allocate memory in test case init");
187 m_testCtx.setTerminateAfter(true);
193 m_testCtx.setTestResult(e.getTestResult(), e.getMessage());
194 m_testCtx.setTerminateAfter(e.isFatal());
200 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, e.getMessage());
204 DE_ASSERT(initOk || m_testCtx
[all...]
/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");
99 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
100 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid boolean value");
H A Des3fDefaultVertexArrayObjectTests.cpp52 glu::CallLogWrapper gl(m_context.getRenderContext().getFunctions(), m_testCtx.getLog());
54 m_testCtx.getLog() << tcu::TestLog::Message
66 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, "Pass");
/external/deqp/modules/gles31/functional/
H A Des31fAndroidExtensionPackES31ATests.cpp93 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog());
96 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, "Pass");
97 m_testCtx.getLog()
106 if (result.verifyValidity(m_testCtx) && result < m_limit)
108 m_testCtx.getLog()
113 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Too low implementation limit");
138 m_testCtx.getLog()
145 m_testCtx.getLog()
150 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, "Pass");
154 m_testCtx
[all...]
H A Des31fProgramPipelineStateQueryTests.cpp103 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog());
104 tcu::ResultCollector result (m_testCtx.getLog(), " // ERROR: ");
107 const tcu::ScopedLogSection section(m_testCtx.getLog(), "VtxProg", "Vertex program");
108 m_testCtx.getLog() << vtxProgram;
112 const tcu::ScopedLogSection section(m_testCtx.getLog(), "FrgProg", "Fragment program");
113 m_testCtx.getLog() << frgProgram;
120 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, "Pass");
130 const tcu::ScopedLogSection section(m_testCtx.getLog(), "Initial", "Initial");
135 const tcu::ScopedLogSection section(m_testCtx.getLog(), "Set", "Set");
142 result.setTestContextResult(m_testCtx);
[all...]
H A Des31fDefaultVertexArrayObjectTests.cpp54 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog());
56 m_testCtx.getLog() << tcu::TestLog::Message
68 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, "Pass");

Completed in 309 milliseconds

1234567891011>>