Home
last modified time | relevance | path

Searched refs:srcSurface (Results 1 – 5 of 5) sorted by relevance

/external/skqp/gm/
Dcroppedrects.cpp33 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/skia/gm/
Dcroppedrects.cpp33 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/skia/src/gpu/
DGrContextPriv.cpp319 GrSurface* srcSurface = srcProxy->peekSurface(); in readSurfacePixels() local
321 if (!GrSurfacePriv::AdjustReadPixelParams(srcSurface->width(), srcSurface->height(), in readSurfacePixels()
349 if (!fContext->priv().caps()->surfaceSupportsReadPixels(srcSurface) || in readSurfacePixels()
419 top = srcSurface->height() - top - height; in readSurfacePixels()
464 if (srcSurface->surfacePriv().hasPendingWrite()) { in readSurfacePixels()
468 if (!fContext->fGpu->readPixels(srcSurface, left, top, width, height, allowedColorType, buffer, in readSurfacePixels()
/external/skqp/src/gpu/
DGrContext.cpp605 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()
/external/swiftshader/src/Vulkan/
DVkImage.cpp464 sw::Surface* srcSurface = asSurface(srcFlags, region.srcSubresource.mipLevel, 0); in blit() local
476 blitter->blit(srcSurface, sRect, dstSurface, dRect, in blit()
482 delete srcSurface; in blit()