Home
last modified time | relevance | path

Searched refs:expectedColor (Results 1 – 19 of 19) sorted by relevance

/external/skia/tests/
DColorFilterTest.cpp80 SkColor expectedColor = color; in DEF_TEST() local
88 if (c != expectedColor) { in DEF_TEST()
89 expectedColor = 0; in DEF_TEST()
98 REPORTER_ASSERT(reporter, c == expectedColor); in DEF_TEST()
108 REPORTER_ASSERT(reporter, c2 == expectedColor); in DEF_TEST()
DApplyGammaTest.cpp54 uint32_t expectedColor = src & 0xff000000; in check_gamma() local
89 expectedColor |= expectedComponent << (c * 8); in check_gamma()
92 *expected = expectedColor; in check_gamma()
DSkRemoteGlyphCacheTest.cpp97 SkColor expectedColor = expected.getColor(i, j); in compare_blobs() local
100 REPORTER_ASSERT(reporter, expectedColor == actualColor); in compare_blobs()
103 int expectedChannel = (expectedColor >> (k*8)) & 0xff; in compare_blobs()
/external/skqp/tests/
DColorFilterTest.cpp80 SkColor expectedColor = color; in DEF_TEST() local
88 if (c != expectedColor) { in DEF_TEST()
89 expectedColor = 0; in DEF_TEST()
98 REPORTER_ASSERT(reporter, c == expectedColor); in DEF_TEST()
108 REPORTER_ASSERT(reporter, c2 == expectedColor); in DEF_TEST()
DApplyGammaTest.cpp54 uint32_t expectedColor = src & 0xff000000; in check_gamma() local
89 expectedColor |= expectedComponent << (c * 8); in check_gamma()
92 *expected = expectedColor; in check_gamma()
DSkRemoteGlyphCacheTest.cpp97 SkColor expectedColor = expected.getColor(i, j); in compare_blobs() local
100 REPORTER_ASSERT(reporter, expectedColor == actualColor); in compare_blobs()
103 int expectedChannel = (expectedColor >> (k*8)) & 0xff; in compare_blobs()
/external/deqp/modules/gles2/functional/
Des2fShaderFragDataTests.cpp64 …ingleColor (tcu::TestLog& log, const tcu::Surface& surface, tcu::RGBA expectedColor, tcu::RGBA thr… in compareSingleColor() argument
69 …log << TestLog::Message << "Expecting " << expectedColor << " with threshold " << threshold << Tes… in compareSingleColor()
76 const bool isOk = compareThreshold(resultColor, expectedColor, threshold); in compareSingleColor()
/external/deqp/external/openglcts/modules/common/
DglcLayoutLocationTests.cpp516 const tcu::RGBA expectedColor(255, 0, 0, 0); in iterate() local
518 if (pixel != expectedColor) in iterate()
521 << expectedColor.getRed() << ", " << expectedColor.getGreen() << ", " in iterate()
522 << expectedColor.getBlue() << ", " << expectedColor.getAlpha() << "], got [" in iterate()
/external/deqp/modules/gles3/functional/
Des3fShaderFragDataTests.cpp82 …ingleColor (tcu::TestLog& log, const tcu::Surface& surface, tcu::RGBA expectedColor, tcu::RGBA thr… in compareSingleColor() argument
87 …log << TestLog::Message << "Expecting " << expectedColor << " with threshold " << threshold << Tes… in compareSingleColor()
94 const bool isOk = compareThreshold(resultColor, expectedColor, threshold); in compareSingleColor()
/external/deqp/external/openglcts/modules/glesext/draw_buffers_indexed/
DesextcDrawBuffersIndexedBlending.cpp387 …awBuffersIndexedBlending::VerifyImg(const tcu::TextureLevel& textureLevel, tcu::RGBA expectedColor, in VerifyImg() argument
395 if (!tcu::compareThreshold(pixel, expectedColor, epsilon)) in VerifyImg()
397 m_testCtx.getLog() << tcu::TestLog::Message << "Expected value: " << expectedColor << "\n" in VerifyImg()
DesextcDrawBuffersIndexedColorMasks.hpp60 bool VerifyImg(const tcu::TextureLevel& textureLevel, tcu::RGBA expectedColor, tcu::RGBA epsilon);
DesextcDrawBuffersIndexedBlending.hpp63 bool VerifyImg(const tcu::TextureLevel& textureLevel, tcu::RGBA expectedColor, tcu::RGBA epsilon);
DesextcDrawBuffersIndexedColorMasks.cpp421 …BuffersIndexedColorMasks::VerifyImg(const tcu::TextureLevel& textureLevel, tcu::RGBA expectedColor, in VerifyImg() argument
431 if (!tcu::compareThreshold(pixel, expectedColor, epsilon)) in VerifyImg()
433 m_testCtx.getLog() << tcu::TestLog::Message << "Expected value: " << expectedColor << "\n" in VerifyImg()
/external/deqp/external/openglcts/modules/glesext/texture_border_clamp/
DesextcTextureBorderClampSamplingTexture.cpp538 OutputType expectedColor; in iterate() local
544 expectedColor = m_test_configuration.get_expected_value(); in iterate()
549 expectedColor = m_test_configuration.get_expected_value(); in iterate()
551 expectedColor = m_test_configuration.get_expected_border_color(); in iterate()
557 if (!checkResult(expectedColor, m_test_configuration.get_expected_border_color(), i)) in iterate()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelinePushConstantTests.cpp969 tcu::Vec4 expectedColor = initColor; in setReferenceColor() local
980 expectedColor[componentNdx] += m_referenceData[colorNdx + componentNdx]; in setReferenceColor()
983expectedColor = tcu::min(tcu::mod(expectedColor, tcu::Vec4(2.0f)), 2.0f - tcu::mod(expectedColor, … in setReferenceColor()
987 m_vertices[vertexNdx].color.xyzw() = expectedColor; in setReferenceColor()
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateDSTests.cpp754 const deUint32 expectedValue, const tcu::Vec4 expectedColor) in StencilParamsBasicTestInstance() argument
761 m_expectedColor = expectedColor; in StencilParamsBasicTestInstance()
904 const deUint32 expectedValue, const tcu::Vec4 expectedColor) in StencilParamsBasicTestCase() argument
909 , m_expectedColor (expectedColor) in StencilParamsBasicTestCase()
/external/deqp/modules/gles31/functional/
Des31fLayoutBindingTests.cpp327 bool drawAndVerifyResult (const Vec4& expectedColor);
626 bool LayoutBindingRenderCase::drawAndVerifyResult (const Vec4& expectedColor) in drawAndVerifyResult() argument
651 tcu::clear(reference.getAccess(), expectedColor); in drawAndVerifyResult()
652 …og::Message << "Verifying output image, fragment output color is " << expectedColor << tcu::TestLo… in drawAndVerifyResult()
/external/deqp/external/openglcts/modules/gles31/
Des31cSeparateShaderObjsTests.cpp2166 bool checkSurface(tcu::Surface surface, tcu::RGBA expectedColor) in checkSurface() argument
2173 if (surface.getPixel(x, y) != expectedColor) in checkSurface()
2607 bool checkSurface(tcu::Surface surface, tcu::RGBA expectedColor) in checkSurface() argument
2614 if (surface.getPixel(x, y) != expectedColor) in checkSurface()
/external/fonttools/Tests/ufoLib/
DUFO3_test.py4373 expectedColor = "0,0,0,1"
4374 self.assertEqual(expectedColor, info.color)