Searched refs:pixelRef (Results 1 – 4 of 4) sorted by relevance
125 auto pixelRef = (SkPixelRef*)context; in FreePixelRef() local126 pixelRef->unref(); in FreePixelRef()129 sk_sp<Bitmap> Bitmap::createFrom(const SkImageInfo& info, SkPixelRef& pixelRef) { in createFrom() argument130 pixelRef.ref(); in createFrom()131 return sk_sp<Bitmap>(new Bitmap((void*)pixelRef.pixels(), (void*)&pixelRef, FreePixelRef, info, in createFrom()132 pixelRef.rowBytes())); in createFrom()
279 SkPixelRef& pixelRef = localBitmap->bitmap(); in lockPixels() local280 if (!pixelRef.pixels()) { in lockPixels()283 pixelRef.ref(); in lockPixels()284 return pixelRef.pixels(); in lockPixels()296 SkPixelRef& pixelRef = localBitmap->bitmap(); in unlockPixels() local297 pixelRef.notifyPixelsChanged(); in unlockPixels()298 pixelRef.unref(); in unlockPixels()1106 if (src.pixelRef() == nullptr) { in Bitmap_copyPreserveInternalConfig()1111 sk_sp<Bitmap> bitmap = Bitmap::createFrom(src.info(), *src.pixelRef()); in Bitmap_copyPreserveInternalConfig()
79 sk_sp<android::Bitmap> wrapper = android::Bitmap::createFrom(b.info(), *b.pixelRef()); in movie_draw()
483 if (outputBitmap.pixelRef() == NULL) { in doDecode()