Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/hwui/
DBitmap.cpp134 sk_sp<Bitmap> Bitmap::createFrom(const SkImageInfo& info, SkPixelRef& pixelRef) { in createFrom() argument
135 return sk_sp<Bitmap>(new Bitmap(pixelRef, info)); in createFrom()
225 Bitmap::Bitmap(SkPixelRef& pixelRef, const SkImageInfo& info) in Bitmap() argument
226 : SkPixelRef(info.width(), info.height(), pixelRef.pixels(), pixelRef.rowBytes()) in Bitmap()
229 pixelRef.ref(); in Bitmap()
230 mPixelStorage.wrapped.pixelRef = &pixelRef; in Bitmap()
260 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.cpp1172 if (src.pixelRef() == nullptr) { in Bitmap_copyPreserveInternalConfig()
1177 sk_sp<Bitmap> bitmap = Bitmap::createFrom(src.info(), *src.pixelRef()); in Bitmap_copyPreserveInternalConfig()