Lines Matching refs:SkBitmap
54 SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(info); in SkBitmap_ReleaseInfo()
58 static bool getBitmapInfo(const SkBitmap& bm, in getBitmapInfo()
104 static SkBitmap* prepareForImageRef(const SkBitmap& bm, in prepareForImageRef()
112 SkBitmap* copy; in prepareForImageRef()
114 copy = new SkBitmap; in prepareForImageRef()
120 copy = new SkBitmap(bm); in prepareForImageRef()
125 CGImageRef SkCreateCGImageRefWithColorspace(const SkBitmap& bm, in SkCreateCGImageRefWithColorspace()
130 SkBitmap* bitmap = prepareForImageRef(bm, &bitsPerComponent, &info); in SkCreateCGImageRefWithColorspace()
161 void SkCGDrawBitmap(CGContextRef cg, const SkBitmap& bm, float x, float y) { in SkCGDrawBitmap()
239 bool SkCreateBitmapFromCGImage(SkBitmap* dst, CGImageRef image) { in SkCreateBitmapFromCGImage()
244 SkBitmap tmp; in SkCreateBitmapFromCGImage()
258 SkASSERT(SkBitmap::ComputeIsOpaque(tmp)); in SkCreateBitmapFromCGImage()
263 if (SkBitmap::ComputeIsOpaque(tmp)) { in SkCreateBitmapFromCGImage()
273 SkBitmap bm; in SkMakeImageFromCGImage()