Lines Matching refs:SkBitmap
53 SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(info); in SkBitmap_ReleaseInfo()
57 static bool getBitmapInfo(const SkBitmap& bm, in getBitmapInfo()
103 static SkBitmap* prepareForImageRef(const SkBitmap& bm, in prepareForImageRef()
111 SkBitmap* copy; in prepareForImageRef()
113 copy = new SkBitmap; in prepareForImageRef()
118 copy = new SkBitmap(bm); in prepareForImageRef()
123 CGImageRef SkCreateCGImageRefWithColorspace(const SkBitmap& bm, in SkCreateCGImageRefWithColorspace()
128 SkBitmap* bitmap = prepareForImageRef(bm, &bitsPerComponent, &info); in SkCreateCGImageRefWithColorspace()
162 void SkCGDrawBitmap(CGContextRef cg, const SkBitmap& bm, float x, float y) { in SkCGDrawBitmap()
197 bool SkPDFDocumentToBitmap(SkStream* stream, SkBitmap* output) { in SkPDFDocumentToBitmap()
220 SkBitmap bitmap; in SkPDFDocumentToBitmap()
281 bool SkCreateBitmapFromCGImage(SkBitmap* dst, CGImageRef image, SkISize* scaleToFit) { in SkCreateBitmapFromCGImage()
286 SkBitmap tmp; in SkCreateBitmapFromCGImage()
300 SkASSERT(SkBitmap::ComputeIsOpaque(tmp)); in SkCreateBitmapFromCGImage()
305 if (SkBitmap::ComputeIsOpaque(tmp)) { in SkCreateBitmapFromCGImage()