Searched refs:srcSurface (Results 1 – 5 of 5) sorted by relevance
/external/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()
|
/external/skia/src/gpu/ |
D | GrCopyRenderTask.cpp | 85 GrSurface* srcSurface = fSrc->peekSurface(); in onExecute() local 87 SkIRect srcRect = GrNativeRect::MakeIRectRelativeTo(fOrigin, srcSurface->height(), fSrcRect); in onExecute() 92 return flushState->gpu()->copySurface(dstSurface, srcSurface, srcRect, dstPoint); in onExecute()
|
D | GrSurfaceContext.cpp | 207 GrSurface* srcSurface = srcProxy->peekSurface(); in readPixels() local 216 bool srcIsCompressed = caps->isFormatCompressed(srcSurface->backendFormat()); in readPixels() 234 auto readFlag = caps->surfaceSupportsReadPixels(srcSurface); in readPixels() 341 pt.fY = flip ? srcSurface->height() - pt.fY - dst.height() : pt.fY; in readPixels() 346 if (!dContext->priv().getGpu()->readPixels(srcSurface, pt.fX, pt.fY, dst.width(), dst.height(), in readPixels()
|
/external/skqp/gm/ |
D | croppedrects.cpp | 33 sk_sp<SkSurface> srcSurface = SkSurface::MakeRasterN32Premul(500, 500); in onOnceBeforeDraw() local 34 SkCanvas* srcCanvas = srcSurface->getCanvas(); in onOnceBeforeDraw() 49 fSrcImage = srcSurface->makeImageSnapshot(); in onOnceBeforeDraw()
|
/external/skqp/src/gpu/ |
D | GrContext.cpp | 605 GrSurface* srcSurface = srcProxy->peekSurface(); in readSurfacePixels() local 607 if (!GrSurfacePriv::AdjustReadPixelParams(srcSurface->width(), srcSurface->height(), in readSurfacePixels() 635 if (!fContext->contextPriv().caps()->surfaceSupportsReadPixels(srcSurface) || in readSurfacePixels() 705 top = srcSurface->height() - top - height; in readSurfacePixels() 750 if (srcSurface->surfacePriv().hasPendingWrite()) { in readSurfacePixels() 754 if (!fContext->fGpu->readPixels(srcSurface, left, top, width, height, allowedColorType, buffer, in readSurfacePixels()
|