Searched refs:dstBmp (Results 1 – 2 of 2) sorted by relevance
121 SkBitmap dstBmp; in onOnceBeforeDraw() local122 dstBmp.allocN32Pixels(kSize, kSize); in onOnceBeforeDraw()123 pixels = reinterpret_cast<SkPMColor*>(dstBmp.getPixels()); in onOnceBeforeDraw()132 fDst.reset(SkShader::CreateBitmapShader(dstBmp, in onOnceBeforeDraw()
684 SkBitmap dstBmp; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local685 if (!srcBmp.copyTo(&dstBmp, kDstCTs[dCT])) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()688 if (dstBmp.colorType() != kDstCTs[dCT]) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()691 SkAutoLockPixels alp(dstBmp); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()692 uint8_t* dstBmpPixels = static_cast<uint8_t*>(dstBmp.getPixels()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()695 refData = (kRGBA_8888_SkColorType == dstBmp.colorType()) ? kData : swizData; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()697 refData = (kBGRA_8888_SkColorType == dstBmp.colorType()) ? kData : swizData; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()711 dstBmpPixels += dstBmp.rowBytes(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()