Searched defs:pixelRef (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/libs/hwui/hwui/
H A DBitmap.cpp301 auto pixelRef = (SkPixelRef*) context; local
302 pixelRef->unlockPixels();
303 pixelRef->unref();
306 sk_sp<Bitmap> Bitmap::createFrom(const SkImageInfo& info, SkPixelRef& pixelRef) { argument
307 pixelRef.ref();
308 pixelRef.lockPixels();
309 return sk_sp<Bitmap>(new Bitmap((void*) pixelRef.pixels(), (void*) &pixelRef, FreePixelRef,
310 info, pixelRef.rowBytes(), pixelRef
[all...]

Completed in 63 milliseconds