Lines Matching refs:tmpSurface
118 sk_sp<SkSurface> tmpSurface = in copySurfaceInto() local
124 if (!tmpSurface.get()) { in copySurfaceInto()
126 tmpSurface = SkSurface::MakeRenderTarget(mRenderThread.getGrContext(), SkBudgeted::kYes, in copySurfaceInto()
128 if (!tmpSurface.get()) { in copySurfaceInto()
180 SkCanvas* canvas = tmpSurface->getCanvas(); in copySurfaceInto()
192 if (!tmpSurface->readPixels(*bitmap, 0, 0)) { in copySurfaceInto()
198 !tmpBitmap.tryAllocPixels(tmpInfo) || !tmpSurface->readPixels(tmpBitmap, 0, 0) || in copySurfaceInto()
341 sk_sp<SkSurface> tmpSurface = SkSurface::MakeRenderTarget(mRenderThread.getGrContext(), in copyLayerInto() local
347 if (!tmpSurface.get()) { in copyLayerInto()
349 tmpSurface = SkSurface::MakeRenderTarget(mRenderThread.getGrContext(), SkBudgeted::kYes, in copyLayerInto()
351 if (!tmpSurface.get()) { in copyLayerInto()
358 tmpSurface->getCanvas(), layer, srcRect, dstRect, in copyLayerInto()
364 if (!tmpSurface->readPixels(*bitmap, 0, 0)) { in copyLayerInto()
371 !tmpSurface->readPixels(tmpBitmap, 0, 0) || in copyLayerInto()