Home | History | Annotate | Download | only in gm

Lines Matching refs:c1

135 static inline SkPMColor compute_diff_pmcolor(SkPMColor c0, SkPMColor c1) {
136 int dr = SkGetPackedR32(c0) - SkGetPackedR32(c1);
137 int dg = SkGetPackedG32(c0) - SkGetPackedG32(c1);
138 int db = SkGetPackedB32(c0) - SkGetPackedB32(c1);
151 SkPMColor c1 = *target.getAddr32(x, y);
153 if (c0 != c1) {
154 d = compute_diff_pmcolor(c0, c1);
197 SkPMColor c1 = *bm->getAddr32(x, y);
198 if (c0 != c1) {
201 renderModeDescriptor, name.c_str(), x, y, c0, c1);