Home
last modified time | relevance | path

Searched refs:diffs_by_1 (Results 1 – 2 of 2) sorted by relevance

/external/skqp/tests/
DBlendTest.cpp32 struct Results { int diffs, diffs_0x00, diffs_0xff, diffs_by_1; }; member
37 r.diffs, r.diffs_0x00, r.diffs_0xff, r.diffs_by_1); in acceptable()
39 return r.diffs_by_1 == r.diffs // never off by more than 1 in acceptable()
55 if (SkTAbs(ideal - p) == 1) { r.diffs_by_1++; } in test()
/external/skia/tests/
DBlendTest.cpp32 struct Results { int diffs, diffs_0x00, diffs_0xff, diffs_by_1; }; member
37 r.diffs, r.diffs_0x00, r.diffs_0xff, r.diffs_by_1); in acceptable()
39 return r.diffs_by_1 == r.diffs // never off by more than 1 in acceptable()
55 if (SkTAbs(ideal - p) == 1) { r.diffs_by_1++; } in test()