Home | History | Annotate | Download | only in tests

Lines Matching refs:pixel

104                 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bmp.rowBytes() + x * bmp.bytesPerPixel());
105 *pixel = get_src_color(x, y);
140 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bitmap->rowBytes() + x * bitmap->bytesPerPixel());
141 *pixel = get_dst_bmp_init_color(x, y, w);
195 const uint32_t* pixel = bitmap.getAddr32(bx, by);
201 SkPMColor pmPixel = convert_to_pmcolor(ct, at, pixel, &didPremul);
203 ERRORF(reporter, "Expected readback pixel value 0x%08x, got 0x%08x. "
210 if (origDstPixel != *pixel) {
212 "Expected 0x%08x, got 0x%08x", origDstPixel, *pixel);
468 // Create a black&white checked texture with 2 1-pixel rings