Home | History | Annotate | Download | only in mac

Lines Matching full:bitmap

8     SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(info);
9 delete bitmap;
80 SkBitmap* bitmap = prepareForImageRef(bm, &bitsPerComponent, &info);
81 if (NULL == bitmap) {
85 const int w = bitmap->width();
86 const int h = bitmap->height();
87 const size_t s = bitmap->getSize();
89 // our provider "owns" the bitmap*, and will take care of deleting it
90 // we initially lock it, so we can access the pixels. The bitmap will be deleted in the release
92 bitmap->lockPixels();
93 CGDataProviderRef dataRef = CGDataProviderCreateWithData(bitmap, bitmap->getPixels(), s,
98 bitmap->bytesPerPixel() * 8,
99 bitmap->rowBytes(), space, info, dataRef,