Searched refs:tmpSurface (Results 1 – 2 of 2) sorted by relevance
118 sk_sp<SkSurface> tmpSurface = in copySurfaceInto() local124 if (!tmpSurface.get()) { 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() local347 if (!tmpSurface.get()) { in copyLayerInto()351 if (!tmpSurface.get()) { in copyLayerInto()364 if (!tmpSurface->readPixels(*bitmap, 0, 0)) { in copyLayerInto()[all …]
77 sk_sp<SkSurface> tmpSurface; in onDraw() local83 tmpSurface = in onDraw()85 tmpSurface->getCanvas()->clear(SK_ColorTRANSPARENT); in onDraw()88 if (!tmpSurface->getBackendRenderTarget(SkSurface::kFlushWrite_BackendHandleAccess) in onDraw()141 if (tmpSurface) { in onDraw()142 tmpCanvas = tmpSurface->getCanvas(); in onDraw()190 if (tmpSurface) { in onDraw()200 tmpSurface->draw(canvas, deviceBounds.fLeft, deviceBounds.fTop); in onDraw()