Home | History | Annotate | Download | only in tests

Lines Matching refs:pixels

105         intptr_t pixels = reinterpret_cast<intptr_t>(bmp.getPixels());
108 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bmp.rowBytes() + x * bmp.bytesPerPixel());
129 intptr_t pixels = reinterpret_cast<intptr_t>(bitmap->getPixels());
134 uint8_t* alpha = reinterpret_cast<uint8_t*>(pixels + y * bitmap->rowBytes() + x);
137 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bitmap->rowBytes() + x * bitmap->bytesPerPixel());
164 // checks the bitmap contains correct pixels after the readPixels
165 // if the bitmap was prefilled with pixels it checks that these weren't
355 // if the bitmap has pixels allocated before the readPixels,
370 // read pixels should never change the gen id
378 // if we had no pixels beforehand and the readPixels
379 // failed then our bitmap should still not have pixels
421 // if the bitmap has pixels allocated before the readPixels,
483 // The five reference pixels are: red, green, blue, white, black.
546 // Enough space for 5 pixels when color type is F16, more than enough space in other cases.
556 // This conversion is legal, but we won't get the "reference" pixels since we cannot