Searched refs:dstBmp (Results 1 – 2 of 2) sorted by relevance
49 inline void SkCopyConfig8888ToBitmap(const SkBitmap& dstBmp,75 inline void SkCopyConfig8888ToBitmap(const SkBitmap& dstBmp, in SkCopyConfig8888ToBitmap() argument79 SkASSERT(SkBitmap::kARGB_8888_Config == dstBmp.config()); in SkCopyConfig8888ToBitmap()80 SkAutoLockPixels alp(dstBmp); in SkCopyConfig8888ToBitmap()81 int w = dstBmp.width(); in SkCopyConfig8888ToBitmap()82 int h = dstBmp.height(); in SkCopyConfig8888ToBitmap()83 size_t dstRowBytes = dstBmp.rowBytes(); in SkCopyConfig8888ToBitmap()84 uint32_t* dstPixels = reinterpret_cast<uint32_t*>(dstBmp.getPixels()); in SkCopyConfig8888ToBitmap()
229 SkBitmap dstBmp = this->accessBitmap(true); in writePixels() local232 SkIRect devRect = SkIRect::MakeWH(dstBmp.width(), dstBmp.height()); in writePixels()239 if (SkBitmap::kARGB_8888_Config == dstBmp.config() && !dstBmp.isNull()) { in writePixels()241 dstBmp.extractSubset(&dstBmp, spriteRect); in writePixels()245 dstBmp.setConfig(SkBitmap::kARGB_8888_Config, in writePixels()248 if (!dstBmp.allocPixels()) { in writePixels()258 SkCopyConfig8888ToBitmap(dstBmp, in writePixels()267 sprite = &dstBmp; in writePixels()