Home
last modified time | relevance | path

Searched refs:pixelRef (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/libs/hwui/hwui/
DBitmap.cpp138 sk_sp<Bitmap> Bitmap::createFrom(const SkImageInfo& info, SkPixelRef& pixelRef) { in createFrom() argument
139 return sk_sp<Bitmap>(new Bitmap(pixelRef, info)); in createFrom()
229 Bitmap::Bitmap(SkPixelRef& pixelRef, const SkImageInfo& info) in Bitmap() argument
230 : SkPixelRef(info.width(), info.height(), pixelRef.pixels(), pixelRef.rowBytes()) in Bitmap()
233 pixelRef.ref(); in Bitmap()
234 mPixelStorage.wrapped.pixelRef = &pixelRef; in Bitmap()
264 mPixelStorage.wrapped.pixelRef->unref(); in ~Bitmap()
DBitmap.h172 Bitmap(SkPixelRef& pixelRef, const SkImageInfo& info);
198 SkPixelRef* pixelRef; member
/frameworks/base/libs/hwui/jni/
DMovie.cpp77 sk_sp<android::Bitmap> wrapper = android::Bitmap::createFrom(b.info(), *b.pixelRef()); in movie_draw()
DBitmapFactory.cpp475 if (outputBitmap.pixelRef() == NULL) { in doDecode()
DBitmap.cpp1183 if (src.pixelRef() == nullptr) { in Bitmap_copyPreserveInternalConfig()
1188 sk_sp<Bitmap> bitmap = Bitmap::createFrom(src.info(), *src.pixelRef()); in Bitmap_copyPreserveInternalConfig()