• Home
  • Raw
  • Download

Lines Matching refs:bmp

102     static SkBitmap bmp;  in make_src_bitmap()  local
103 if (bmp.isNull()) { in make_src_bitmap()
104 bmp.allocN32Pixels(DEV_W, DEV_H); in make_src_bitmap()
105 intptr_t pixels = reinterpret_cast<intptr_t>(bmp.getPixels()); in make_src_bitmap()
108 …SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bmp.rowBytes() + x * bmp.bytesPerPixe… in make_src_bitmap()
113 return bmp; in make_src_bitmap()
351 SkBitmap bmp; in test_readpixels() local
352 init_bitmap(&bmp, srcRect, bmi, in test_readpixels()
357 bool startsWithPixels = !bmp.isNull(); in test_readpixels()
359 fill_dst_bmp_with_init_data(&bmp); in test_readpixels()
362 bool success = surface->readPixels(bmp, srcRect.fLeft, srcRect.fTop); in test_readpixels()
374 check_read(reporter, bmp, srcRect.fLeft, srcRect.fTop, in test_readpixels()
380 REPORTER_ASSERT(reporter, bmp.isNull()); in test_readpixels()
417 SkBitmap bmp; in test_readpixels_texture() local
418 init_bitmap(&bmp, srcRect, bmi, in test_readpixels_texture()
423 bool startsWithPixels = !bmp.isNull(); in test_readpixels_texture()
426 fill_dst_bmp_with_init_data(&bmp); in test_readpixels_texture()
431 bool success = sContext->readPixels(bmp.info(), bmp.getPixels(), in test_readpixels_texture()
432 bmp.rowBytes(), in test_readpixels_texture()
434 check_read(reporter, bmp, srcRect.fLeft, srcRect.fTop, in test_readpixels_texture()
454 SkBitmap bmp = make_src_bitmap(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
467 bmp.getPixels(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
468 bmp.rowBytes()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()