Home
last modified time | relevance | path

Searched refs:skiaBitmap (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/
DSkiaCanvasProxy.cpp153 SkBitmap skiaBitmap; in onDrawImage() local
154 if (image->asLegacyBitmap(&skiaBitmap, SkImage::kRO_LegacyBitmapMode)) { in onDrawImage()
155 onDrawBitmap(skiaBitmap, left, top, paint); in onDrawImage()
161 SkBitmap skiaBitmap; in onDrawImageRect() local
162 if (image->asLegacyBitmap(&skiaBitmap, SkImage::kRO_LegacyBitmapMode)) { in onDrawImageRect()
163 sk_sp<Bitmap> bitmap = Bitmap::createFrom(skiaBitmap.info(), *skiaBitmap.pixelRef()); in onDrawImageRect()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaPipeline.cpp158 SkBitmap skiaBitmap; in prepareToDraw() local
159 bitmap->getSkBitmap(&skiaBitmap); in prepareToDraw()
160 sk_sp<SkImage> image = SkMakeImageFromRasterBitmap(skiaBitmap, kNever_SkCopyPixelsMode); in prepareToDraw()