Home | History | Annotate | Download | only in image

Lines Matching defs:fBitmap

31     SkBitmap    fBitmap;
86 fBitmap.setConfig(config, info.fWidth, info.fHeight, rb, info.fAlphaType);
87 fBitmap.setPixels(pixels);
94 fBitmap.setConfig(config, info.fWidth, info.fHeight, rb, info.fAlphaType);
95 fBitmap.setPixelRef(pr);
99 fBitmap.eraseColor(SK_ColorTRANSPARENT);
104 return SkNEW_ARGS(SkCanvas, (fBitmap));
113 canvas->drawBitmap(fBitmap, x, y, paint);
117 return SkNewImageFromBitmap(fBitmap, fWeOwnThePixels);
123 if (SkBitmapImageGetPixelRef(this->getCachedImage()) == fBitmap.pixelRef()) {
126 fBitmap.setPixelRef(NULL, 0);
127 fBitmap.allocPixels();
129 SkBitmap prev(fBitmap);
130 prev.deepCopyTo(&fBitmap, prev.config());
132 // Now fBitmap is a deep copy of itself (and therefore different from
136 this->getCachedCanvas()->getDevice()->replaceBitmapBackendForRasterSurface(fBitmap);