Home
last modified time | relevance | path

Searched refs:srcSurface (Results 1 - 3 of 3) sorted by relevance

/third_party/skia/src/gpu/
H A DGrCopyRenderTask.cpp86 GrSurface* srcSurface = fSrc->peekSurface(); in onExecute() local
88 SkIRect srcRect = GrNativeRect::MakeIRectRelativeTo(fOrigin, srcSurface->height(), fSrcRect); in onExecute()
93 return flushState->gpu()->copySurface(dstSurface, srcSurface, srcRect, dstPoint); in onExecute()
H A DSurfaceContext.cpp104 GrSurface* srcSurface = srcProxy->peekSurface(); in readPixels() local
113 bool srcIsCompressed = caps->isFormatCompressed(srcSurface->backendFormat()); in readPixels()
136 auto readFlag = caps->surfaceSupportsReadPixels(srcSurface); in readPixels()
243 pt.fY = flip ? srcSurface->height() - pt.fY - dst.height() : pt.fY; in readPixels()
248 if (!dContext->priv().getGpu()->readPixels(srcSurface, in readPixels()
/third_party/skia/gm/
H A Dcroppedrects.cpp41 sk_sp<SkSurface> srcSurface = SkSurface::MakeRasterN32Premul(500, 500); variable
42 SkCanvas* srcCanvas = srcSurface->getCanvas();
57 fSrcImage = srcSurface->makeImageSnapshot();

Completed in 3 milliseconds