Searched refs:testColor (Results 1 - 14 of 14) sorted by relevance

/external/chromium_org/third_party/skia/tests/
H A DDrawTextTest.cpp43 SkColor testColor = test.getColor(x, y); local
54 if (refColor != testColor) {
H A DFontHostStreamTest.cpp48 SkColor testColor = test.getColor(x, y); local
59 if (refColor != testColor) {
H A DBlurTest.cpp82 SkColor testColor = test.getColor(x, y); local
93 if (refColor != testColor) {
H A DSurfaceTest.cpp249 const SkColor testColor = 0x01020304; local
290 EXPECT_COPY_ON_WRITE(clear(testColor))
H A DWritePixelsTest.cpp235 SkPMColor testColor = getCanvasColor(cx, cy); local
236 REPORTER_ASSERT(reporter, check = (canvasPixel == testColor));
/external/skia/tests/
H A DDrawTextTest.cpp43 SkColor testColor = test.getColor(x, y); local
54 if (refColor != testColor) {
H A DFontHostStreamTest.cpp47 SkColor testColor = test.getColor(x, y); local
58 if (refColor != testColor) {
H A DBlurTest.cpp82 SkColor testColor = test.getColor(x, y); local
93 if (refColor != testColor) {
H A DSurfaceTest.cpp228 const SkColor testColor = 0x01020304; local
269 EXPECT_COPY_ON_WRITE(clear(testColor))
H A DWritePixelsTest.cpp241 SkPMColor testColor = getCanvasColor(cx, cy); local
242 REPORTER_ASSERT(reporter, check = (canvasPixel == testColor));
/external/chromium_org/third_party/skia/tools/skpdiff/
H A DSkPMetric.cpp415 LAB testColor;
417 testLAB->readPixel(x, y, &testColor);
418 float contrastA = baselineColor.a - testColor.a;
419 float contrastB = baselineColor.b - testColor.b;
/external/deqp/modules/gles31/functional/
H A Des31fSampleVariableTests.cpp51 virtual bool verify (const tcu::RGBA& testColor, const tcu::IVec2& position) const = 0;
70 bool verify (const tcu::RGBA& testColor, const tcu::IVec2& position) const argument
73 return !tcu::boolAny(tcu::greaterThan(tcu::abs(m_color.toIVec().swizzle(0, 1, 2) - testColor.toIVec().swizzle(0, 1, 2)), tcu::IVec3(m_threshold)));
98 bool verify (const tcu::RGBA& testColor, const tcu::IVec2& position) const argument
104 if (testColor.getRed() != 0)
106 if (testColor.getGreen() == 0)
108 if (testColor.getBlue() != 255)
126 bool verify (const tcu::RGBA& testColor, const tcu::IVec2& position) const argument
129 return testColor.getRed() == 0;
143 bool verify (const tcu::RGBA& testColor, cons
166 verify(const tcu::RGBA& testColor, const tcu::IVec2& position) const argument
189 verify(const tcu::RGBA& testColor, const tcu::IVec2& position) const argument
[all...]
H A Des31fGeometryShaderTests.cpp1951 const tcu::RGBA testColor = m_glResult->getPixel(x + dx, y + dy); local
1952 const tcu::IVec4 colDiff = tcu::abs(testColor.toIVec() - refcolor.toIVec());
/external/skia/tools/skpdiff/
H A DSkPMetric.cpp415 LAB testColor;
417 testLAB->readPixel(x, y, &testColor);
418 float contrastA = baselineColor.a - testColor.a;
419 float contrastB = baselineColor.b - testColor.b;

Completed in 1063 milliseconds