Home | History | Annotate | Download | only in ports

Lines Matching defs:bitmap

182     //Get the size of the bitmap.
189 //Exit early if we're only looking for the bitmap bounds.
215 piBitmapSourceOriginal.get() //Input bitmap to convert
232 //Copy the pixels into the bitmap.
309 const SkBitmap* bitmap;
312 bitmap = &bitmapOrig;
317 bitmap = &bitmapCopy;
321 if (!bitmap->isOpaque()) {
322 SkAutoLockPixels alp(*bitmap);
324 uint8_t* pixels = reinterpret_cast<uint8_t*>(bitmap->getPixels());
325 for (int y = 0; y < bitmap->height(); ++y) {
326 for (int x = 0; x < bitmap->width(); ++x) {
327 uint8_t* bytes = pixels + y * bitmap->rowBytes() + x * bitmap->bytesPerPixel();
401 const UINT width = bitmap->width();
402 const UINT height = bitmap->height();
420 SkAutoLockPixels alp(*bitmap);
421 const UINT stride = (UINT) bitmap->rowBytes();
426 , reinterpret_cast<BYTE*>(bitmap->getPixels()));