HomeSort by relevance Sort by last modified time
    Searched refs:m_testCtx (Results 1 - 25 of 333) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/deqp/modules/internal/
ditDelibsTests.cpp 67 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, "semaphore", "deSemaphore_selfTest()", deSemaphore_selfTest))
    [all...]
ditTestPackage.cpp 45 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));
ditImageCompareTests.cpp 75 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, "identical", "cube_ref.png", "cube_ref.png", 0.0f, 0.000001f))
    [all...]
ditImageIOTests.cpp 52 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_256x256", "data/imageio/rgba32_256x256.png", 0xcf4883da))
    [all...]
ditFrameworkTests.cpp 41 addChild(new SelfCheckCase(m_testCtx, "float_format","tcu::FloatFormat_selfTest()",
57 addChild(new CommonFrameworkTests(m_testCtx));
ditBuildInfoTests.cpp 102 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_os", "DE_OS", DE_OS, getOsName))
    [all...]
  /external/deqp/modules/egl/
teglApiCase.cpp 47 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.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid value")
    [all...]
  /external/deqp/framework/common/
tcuTestCaseWrapper.cpp 32 : 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");
63 m_testCtx.setTestResult(QP_TEST_RESULT_RESOURCE_ERROR, e.getMessage());
69 m_testCtx.setTestResult(QP_TEST_RESULT_NOT_SUPPORTED, e.getMessage());
75 m_testCtx.setTestResult(QP_TEST_RESULT_INTERNAL_ERROR, e.getMessage());
81 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, e.getMessage());
85 DE_ASSERT(success || m_testCtx.getTestResult() != QP_TEST_RESULT_LAST);
102 m_testCtx.getLog() << e
109 m_testCtx.getLog() << TestLog::Integer("TestDuration", "Test case duration in microseconds", "us", QP_KEY_TA (…)
    [all...]
  /external/deqp/modules/gles3/functional/
es3fInternalFormatQueryTests.cpp 62 if (!sampleCounts.verifyValidity(m_testCtx))
65 m_testCtx.getLog() << TestLog::Message << "// sample counts is " << sampleCounts << TestLog::EndMessage;
71 m_testCtx.getLog() << TestLog::Message << "// ERROR: integer internal formats should have NUM_SAMPLE_COUNTS = 0; got " << sampleCounts << TestLog::EndMessage;
72 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
73 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got invalid value");
93 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected sample count to be at least one; got " << sampleCount << TestLog::EndMessage;
94 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS)
95 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got invalid value");
101 m_testCtx.getLog() << TestLog::Message
104 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS
    [all...]
es3fStringQueryTests.cpp 61 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.getTestResult() == QP_TEST_RESULT_PASS
    [all...]
es3fApiCase.cpp 56 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/gles2/functional/
es2fApiCase.cpp 54 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;
es2fShaderStateQueryTests.cpp 507 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.getLog() << TestLog::Message << "// ERROR: Expected length " << logLength-1 << "; got " << written (…)
    [all...]
  /external/deqp/modules/gles2/
tes2Context.cpp 41 : m_testCtx (testCtx)
47 m_renderCtx = glu::createDefaultRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), glu::ApiType::es(2,0));
tes2Context.hpp 51 tcu::TestContext& getTestContext (void) { return m_testCtx; }
57 tcu::TestContext& m_testCtx;
tes2TestCaseWrapper.cpp 56 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");
103 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Error in context post-iteration routine");
  /external/deqp/modules/gles3/
tes3Context.cpp 38 : m_testCtx (testCtx)
44 m_renderCtx = glu::createDefaultRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), glu::ApiType::es(3,0));
tes3Context.hpp 51 tcu::TestContext& getTestContext (void) { return m_testCtx; }
57 tcu::TestContext& m_testCtx;
tes3TestCaseWrapper.cpp 55 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");
102 m_testCtx.getLog() << e;
103 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Error in context post-iteration routine");
  /external/deqp/modules/gles31/
tes31Context.cpp 39 : 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));
tes31TestCaseWrapper.cpp 55 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");
93 m_testCtx.getLog() << e;
94 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Error in context post-iteration routine");
tes31Context.hpp 51 tcu::TestContext& getTestContext (void) { return m_testCtx; }
63 tcu::TestContext& m_testCtx;
  /external/deqp/modules/gles31/functional/
es31fSampleShadingTests.cpp 90 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.getLog() << tcu::TestLog::Message << "// ERROR: Expected " << ((v) ? ("GL_TRUE") : ("GL_FALSE")) < (…)
    [all...]
es31fShaderStateQueryTests.cpp 93 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");
es31fInternalFormatQueryTests.cpp 90 m_testCtx.getLog() << tcu::TestLog::Message << "Format must support sample count of " << glu::getGettableStateStr(samplesEnum) << tcu::TestLog::EndMessage;
95 m_testCtx.getLog() << tcu::TestLog::Message << glu::getGettableStateStr(samplesEnum) << " = " << maxSamples << tcu::TestLog::EndMessage;
99 m_testCtx.getLog() << tcu::TestLog::Message << "ERROR: minimum value of " << glu::getGettableStateStr(samplesEnum) << " is 1" << tcu::TestLog::EndMessage;
109 m_testCtx.getLog() << tcu::TestLog::Message << "GL_NUM_SAMPLE_COUNTS = " << numSampleCounts << tcu::TestLog::EndMessage;
113 m_testCtx.getLog() << tcu::TestLog::Message << "ERROR: Format MUST support some multisample configuration, got GL_NUM_SAMPLE_COUNTS = " << numSampleCounts << tcu::TestLog::EndMessage;
120 tcu::MessageBuilder samplesMsg(&m_testCtx.getLog());
149 m_testCtx.getLog() << tcu::TestLog::Message << "ERROR: Samples must be ordered descending." << tcu::TestLog::EndMessage;
160 m_testCtx.getLog() << tcu::TestLog::Message << "ERROR: Only positive SAMPLES allowed." << tcu::TestLog::EndMessage;
169 m_testCtx.getLog() << tcu::TestLog::Message << "ERROR: MAX_*_SAMPLES must be supported." << tcu::TestLog::EndMessage;
176 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, "Pass")
    [all...]

Completed in 679 milliseconds

1 2 3 4 5 6 7 8 91011>>