Lines Matching refs:fBitmap
85 const SkBitmap* onPeekBitmap() const override { return &fBitmap; } in onPeekBitmap()
95 SkPixelRef* getPixelRef() const { return fBitmap.pixelRef(); } in getPixelRef()
102 , fBitmap(bm) { in SkImage_Raster()
103 SkASSERT(bitmapMayBeMutable || fBitmap.isImmutable()); in SkImage_Raster()
116 SkASSERT(fBitmap.pixelRef()); in notifyAddedToRasterCache()
117 fBitmap.pixelRef()->notifyAddedToCache(); in notifyAddedToRasterCache()
128 SkBitmap fBitmap; member in SkImage_Raster
151 fBitmap.installPixels(info, addr, rowBytes, release_data, data.release()); in SkImage_Raster()
152 fBitmap.setImmutable(); in SkImage_Raster()
163 SkBitmap shallowCopy(fBitmap); in onReadPixels()
168 return fBitmap.peekPixels(pm); in onPeekPixels()
172 *dst = fBitmap; in getROPixels()
185 GrTextureAdjuster adjuster(context, std::move(view), fBitmap.info().colorInfo(), in refView()
190 return GrRefCachedBitmapView(context, fBitmap, params, scaleAdjust); in refView()
214 GrRefCachedBitmapView(ctx, fBitmap, GrSamplerState::Filter::kNearest, nullptr); in onPinAsTexture()
219 fPinnedUniqueID = fBitmap.getGenerationID(); in onPinAsTexture()
239 SkImageInfo info = fBitmap.info().makeDimensions(subset.size()); in onMakeSubset()
246 void* src = fBitmap.getAddr(subset.x(), subset.y()); in onMakeSubset()
252 SkRectMemcpy(dst, bitmap.rowBytes(), src, fBitmap.rowBytes(), bitmap.rowBytes(), in onMakeSubset()
366 if (fBitmap.isImmutable()) { in onAsLegacyBitmap()
367 SkIPoint origin = fBitmap.pixelRefOrigin(); in onAsLegacyBitmap()
368 bitmap->setInfo(fBitmap.info(), fBitmap.rowBytes()); in onAsLegacyBitmap()
369 bitmap->setPixelRef(sk_ref_sp(fBitmap.pixelRef()), origin.x(), origin.y()); in onAsLegacyBitmap()
381 SkAssertResult(fBitmap.peekPixels(&src)); in onMakeColorTypeAndColorSpace()
384 dst.allocPixels(fBitmap.info().makeColorType(targetCT).makeColorSpace(targetCS)); in onMakeColorTypeAndColorSpace()
395 SkPixmap pixmap = fBitmap.pixmap(); in onReinterpretColorSpace()