Searched refs:tmpSurface (Results 1 – 2 of 2) sorted by relevance
91 sk_sp<SkSurface> tmpSurface; in onDraw() local97 tmpSurface = in onDraw()99 tmpSurface->getCanvas()->clear(SK_ColorTRANSPARENT); in onDraw()102 if (!tmpSurface->getBackendRenderTarget(SkSurface::kFlushWrite_BackendHandleAccess) in onDraw()158 if (tmpSurface) { in onDraw()159 tmpCanvas = tmpSurface->getCanvas(); in onDraw()207 if (tmpSurface) { in onDraw()217 tmpSurface->draw(canvas, deviceBounds.fLeft, deviceBounds.fTop); in onDraw()
173 sk_sp<SkSurface> tmpSurface = in copySurfaceInto() local179 if (!tmpSurface.get()) { in copySurfaceInto()181 tmpSurface = SkSurface::MakeRenderTarget(mRenderThread.getGrContext(), in copySurfaceInto()184 if (!tmpSurface.get()) { in copySurfaceInto()236 SkCanvas* canvas = tmpSurface->getCanvas(); in copySurfaceInto()252 if (!tmpSurface->readPixels(*bitmap, 0, 0)) { in copySurfaceInto()258 !tmpBitmap.tryAllocPixels(tmpInfo) || !tmpSurface->readPixels(tmpBitmap, 0, 0) || in copySurfaceInto()349 sk_sp<SkSurface> tmpSurface = SkSurface::MakeRenderTarget(mRenderThread.getGrContext(), in copyLayerInto() local357 if (!tmpSurface.get()) { in copyLayerInto()359 tmpSurface = SkSurface::MakeRenderTarget(mRenderThread.getGrContext(), in copyLayerInto()[all …]