Searched refs:srcBmp (Results 1 – 2 of 2) sorted by relevance
107 SkBitmap srcBmp; in onOnceBeforeDraw() local108 srcBmp.allocN32Pixels(kSize, kSize); in onOnceBeforeDraw()109 SkPMColor* pixels = reinterpret_cast<SkPMColor*>(srcBmp.getPixels()); in onOnceBeforeDraw()118 fSrc.reset(SkShader::CreateBitmapShader(srcBmp, in onOnceBeforeDraw()
676 SkBitmap srcBmp; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local677 GrWrapTextureInBitmap(texture, 2, 2, false, &srcBmp); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()678 if (srcBmp.isNull()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()685 if (!srcBmp.copyTo(&dstBmp, kDstCTs[dCT])) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()