• Home
  • Raw
  • Download

Lines Matching refs:fBitmap

76         return fBitmap.info();  in onImageInfo()
81 const SkBitmap* onPeekBitmap() const override { return &fBitmap; } in onPeekBitmap()
91 SkPixelRef* getPixelRef() const { return fBitmap.pixelRef(); } in getPixelRef()
99 , fBitmap(bm) in SkImage_Raster()
101 SkASSERT(bitmapMayBeMutable || fBitmap.isImmutable()); in SkImage_Raster()
111 SkASSERT(fBitmap.pixelRef()); in notifyAddedToRasterCache()
112 fBitmap.pixelRef()->notifyAddedToCache(); in notifyAddedToRasterCache()
122 SkBitmap fBitmap; member in SkImage_Raster
146 fBitmap.installPixels(info, addr, rowBytes, release_data, data.release()); in SkImage_Raster()
147 fBitmap.setImmutable(); in SkImage_Raster()
158 SkBitmap shallowCopy(fBitmap); in onReadPixels()
163 return fBitmap.peekPixels(pm); in onPeekPixels()
167 *dst = fBitmap; in getROPixels()
182 GrTextureAdjuster adjuster(context, fPinnedProxy, fBitmap.alphaType(), fPinnedUniqueID, in asTextureProxyRef()
183 fBitmap.colorSpace()); in asTextureProxyRef()
187 return GrRefCachedBitmapTextureProxy(context, fBitmap, params, scaleAdjust); in asTextureProxyRef()
210 fPinnedProxy = GrRefCachedBitmapTextureProxy(ctx, fBitmap, GrSamplerState::ClampNearest(), in onPinAsTexture()
215 fPinnedUniqueID = fBitmap.getGenerationID(); in onPinAsTexture()
235 SkImageInfo info = fBitmap.info().makeWH(subset.width(), subset.height()); in onMakeSubset()
242 void* src = fBitmap.getAddr(subset.x(), subset.y()); in onMakeSubset()
248 SkRectMemcpy(dst, bitmap.rowBytes(), src, fBitmap.rowBytes(), bitmap.rowBytes(), in onMakeSubset()
329 if (fBitmap.isImmutable()) { in onAsLegacyBitmap()
330 SkIPoint origin = fBitmap.pixelRefOrigin(); in onAsLegacyBitmap()
331 bitmap->setInfo(fBitmap.info(), fBitmap.rowBytes()); in onAsLegacyBitmap()
332 bitmap->setPixelRef(sk_ref_sp(fBitmap.pixelRef()), origin.x(), origin.y()); in onAsLegacyBitmap()
343 SkAssertResult(fBitmap.peekPixels(&src)); in onMakeColorTypeAndColorSpace()
346 dst.allocPixels(fBitmap.info().makeColorType(targetCT).makeColorSpace(targetCS)); in onMakeColorTypeAndColorSpace()