Searched refs:refColor (Results 1 - 12 of 12) sorted by relevance

/external/chromium_org/third_party/skia/tests/
H A DDrawTextTest.cpp46 SkColor refColor; local
50 refColor = ref.getColor(refX, refY);
52 refColor = bgColor;
54 if (refColor != testColor) {
H A DFontHostStreamTest.cpp51 SkColor refColor; local
55 refColor = ref.getColor(refX, refY);
57 refColor = bgColor;
59 if (refColor != testColor) {
H A DBlurTest.cpp85 SkColor refColor; local
89 refColor = ref.getColor(refX, refY);
91 refColor = bgColor;
93 if (refColor != testColor) {
/external/skia/tests/
H A DDrawTextTest.cpp46 SkColor refColor; local
50 refColor = ref.getColor(refX, refY);
52 refColor = bgColor;
54 if (refColor != testColor) {
H A DFontHostStreamTest.cpp50 SkColor refColor; local
54 refColor = ref.getColor(refX, refY);
56 refColor = bgColor;
58 if (refColor != testColor) {
H A DBlurTest.cpp85 SkColor refColor; local
89 refColor = ref.getColor(refX, refY);
91 refColor = bgColor;
93 if (refColor != testColor) {
/external/deqp/modules/gles2/functional/
H A Des2fDefaultVertexAttributeTests.cpp424 const tcu::RGBA refColor (refValue);
434 m_testCtx.getLog() << tcu::TestLog::Message << "Verifying rendered image. Expecting color " << refColor << ", threshold " << colorThreshold << tcu::TestLog::EndMessage;
441 if (de::abs(color.getRed() - refColor.getRed()) > colorThreshold.getRed() ||
442 de::abs(color.getGreen() - refColor.getGreen()) > colorThreshold.getGreen() ||
443 de::abs(color.getBlue() - refColor.getBlue()) > colorThreshold.getBlue())
H A Des2fMultisampleTests.cpp154 tcu::RGBA refColor = img.getPixel((xMin + xMax) / 2, (yMin + yMax) / 2); local
161 if (!tcu::compareThreshold(img.getPixel(x, y), refColor, tcu::RGBA(3, 3, 3, 3)))
/external/deqp/modules/gles3/functional/
H A Des3fDefaultVertexAttributeTests.cpp501 const tcu::RGBA refColor (refValue);
511 m_testCtx.getLog() << tcu::TestLog::Message << "Verifying rendered image. Expecting color " << refColor << ", threshold " << colorThreshold << tcu::TestLog::EndMessage;
518 if (de::abs(color.getRed() - refColor.getRed()) > colorThreshold.getRed() ||
519 de::abs(color.getGreen() - refColor.getGreen()) > colorThreshold.getGreen() ||
520 de::abs(color.getBlue() - refColor.getBlue()) > colorThreshold.getBlue())
H A Des3fMultisampleTests.cpp156 tcu::RGBA refColor = img.getPixel((xMin + xMax) / 2, (yMin + yMax) / 2); local
163 if (!tcu::compareThreshold(img.getPixel(x, y), refColor, tcu::RGBA(3, 3, 3, 3)))
/external/deqp/modules/gles31/functional/
H A Des31fTextureGatherTests.cpp708 static bool verifySingleColored (TestLog& log, const ConstPixelBufferAccess& result, const Vec4& refColor) argument
718 tcu::clear(idealAccess, refColor);
723 if (result.getPixel(px, py) != refColor)
1462 const Vec4 refColor (incompleteColor[componentNdx]);
1463 const bool isOk = verifySingleColored(log, rendered, refColor);
1466 log << TestLog::Message << "Note: expected color " << refColor << " for all pixels; "
H A Des31fGeometryShaderTests.cpp3403 const tcu::RGBA refColor = tcu::RGBA(barColor); local
3406 const bool isColor = tcu::allEqual(tcu::lessThan(tcu::abs(color.toIVec().swizzle(0, 1, 2) - refColor.toIVec().swizzle(0, 1, 2)), tcu::IVec3(threshold, threshold, threshold)), tcu::BVec3(true, true, true));

Completed in 530 milliseconds