Searched refs:srcSurface (Results 1 – 5 of 5) sorted by relevance
/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/skia/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/skia/src/gpu/ |
D | GrContextPriv.cpp | 319 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/ |
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()
|
/external/swiftshader/src/Vulkan/ |
D | VkImage.cpp | 464 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()
|