• 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()
112 SkASSERT(fBitmap.pixelRef()); in notifyAddedToRasterCache()
113 fBitmap.pixelRef()->notifyAddedToCache(); in notifyAddedToRasterCache()
124 SkBitmap fBitmap; member in SkImage_Raster
148 fBitmap.installPixels(info, addr, rowBytes, release_data, data.release()); in SkImage_Raster()
149 fBitmap.setImmutable(); in SkImage_Raster()
160 SkBitmap shallowCopy(fBitmap); in onReadPixels()
165 return fBitmap.peekPixels(pm); in onPeekPixels()
169 *dst = fBitmap; in getROPixels()
184 GrTextureAdjuster adjuster(context, fPinnedProxy, fBitmap.alphaType(), fPinnedUniqueID, in asTextureProxyRef()
185 fBitmap.colorSpace()); in asTextureProxyRef()
189 return GrRefCachedBitmapTextureProxy(context, fBitmap, params, scaleAdjust); in asTextureProxyRef()
213 fPinnedProxy = GrRefCachedBitmapTextureProxy(ctx, fBitmap, GrSamplerState::ClampNearest(), in onPinAsTexture()
218 fPinnedUniqueID = fBitmap.getGenerationID(); in onPinAsTexture()
238 SkImageInfo info = fBitmap.info().makeWH(subset.width(), subset.height()); in onMakeSubset()
245 void* src = fBitmap.getAddr(subset.x(), subset.y()); in onMakeSubset()
251 SkRectMemcpy(dst, bitmap.rowBytes(), src, fBitmap.rowBytes(), bitmap.rowBytes(), in onMakeSubset()
332 if (fBitmap.isImmutable()) { in onAsLegacyBitmap()
333 SkIPoint origin = fBitmap.pixelRefOrigin(); in onAsLegacyBitmap()
334 bitmap->setInfo(fBitmap.info(), fBitmap.rowBytes()); in onAsLegacyBitmap()
335 bitmap->setPixelRef(sk_ref_sp(fBitmap.pixelRef()), origin.x(), origin.y()); in onAsLegacyBitmap()
347 SkAssertResult(fBitmap.peekPixels(&src)); in onMakeColorTypeAndColorSpace()
350 dst.allocPixels(fBitmap.info().makeColorType(targetCT).makeColorSpace(targetCS)); in onMakeColorTypeAndColorSpace()