Home | History | Annotate | Download | only in tests

Lines Matching defs:pixels

101         intptr_t pixels = reinterpret_cast<intptr_t>(bmp.getPixels());
104 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bmp.rowBytes() + x * bmp.bytesPerPixel());
123 intptr_t pixels = reinterpret_cast<intptr_t>(bitmap->getPixels());
126 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bitmap->rowBytes() + x * bitmap->bytesPerPixel());
152 // checks the bitmap contains correct pixels after the readPixels
153 // if the bitmap was prefilled with pixels it checks that these weren't
350 // if the bitmap has pixels allocated before the readPixels,
365 // read pixels should never change the gen id
372 // if we had no pixels beforehand and the readPixels
373 // failed then our bitmap should still not have pixels