Searched refs:srcSurface (Results 1 – 5 of 5) sorted by relevance
/third_party/skia/src/gpu/ |
D | GrCopyRenderTask.cpp | 86 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()
|
D | SurfaceContext.cpp | 104 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/ |
D | croppedrects.cpp | 41 sk_sp<SkSurface> srcSurface = SkSurface::MakeRasterN32Premul(500, 500); in onOnceBeforeDraw() local 42 SkCanvas* srcCanvas = srcSurface->getCanvas(); in onOnceBeforeDraw() 57 fSrcImage = srcSurface->makeImageSnapshot(); in onOnceBeforeDraw()
|
/third_party/flutter/skia/gm/ |
D | croppedrects.cpp | 42 sk_sp<SkSurface> srcSurface = SkSurface::MakeRasterN32Premul(500, 500); in onOnceBeforeDraw() local 43 SkCanvas* srcCanvas = srcSurface->getCanvas(); in onOnceBeforeDraw() 58 fSrcImage = srcSurface->makeImageSnapshot(); in onOnceBeforeDraw()
|
/third_party/flutter/skia/src/gpu/ |
D | GrSurfaceContext.cpp | 94 GrSurface* srcSurface = srcProxy->peekSurface(); in readPixels() local 128 auto readFlag = caps->surfaceSupportsReadPixels(srcSurface); in readPixels() 201 pt.fY = flip ? srcSurface->height() - pt.fY - dstInfo.height() : pt.fY; in readPixels() 206 if (!direct->priv().getGpu()->readPixels(srcSurface, pt.fX, pt.fY, dstInfo.width(), in readPixels()
|