Home
last modified time | relevance | path

Searched refs:tempCtx (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/
DGrContextPriv.cpp377 sk_sp<GrSurfaceContext> tempCtx; in readSurfacePixels() local
379 tempCtx = this->drawingManager()->makeRenderTargetContext(std::move(tempProxy), nullptr, in readSurfacePixels()
381 SkASSERT(tempCtx->asRenderTargetContext()); in readSurfacePixels()
382 tempCtx->asRenderTargetContext()->discard(); in readSurfacePixels()
384 tempCtx = this->drawingManager()->makeTextureContext( in readSurfacePixels()
387 if (!tempCtx) { in readSurfacePixels()
404 tempCtx->asRenderTargetContext()->fillRectToRect( in readSurfacePixels()
407 } else if (!tempCtx->copy(srcProxy, SkIRect::MakeXYWH(left, top, width, height), {0, 0})) { in readSurfacePixels()
411 return this->readSurfacePixels(tempCtx.get(), 0, 0, width, height, dstColorType, in readSurfacePixels()
569 auto tempCtx = this->drawingManager()->makeTextureContext( in writeSurfacePixels() local
[all …]
/external/skqp/src/gpu/
DGrContext.cpp474 auto tempCtx = this->drawingManager()->makeTextureContext( in writeSurfacePixels() local
476 if (!tempCtx) { in writeSurfacePixels()
485 if (!this->writeSurfacePixels(tempCtx.get(), 0, 0, width, height, tmpColorType, in writeSurfacePixels()
663 sk_sp<GrSurfaceContext> tempCtx; in readSurfacePixels() local
665 tempCtx = this->drawingManager()->makeRenderTargetContext(std::move(tempProxy), nullptr, in readSurfacePixels()
667 SkASSERT(tempCtx->asRenderTargetContext()); in readSurfacePixels()
668 tempCtx->asRenderTargetContext()->discard(); in readSurfacePixels()
670 tempCtx = this->drawingManager()->makeTextureContext( in readSurfacePixels()
673 if (!tempCtx) { in readSurfacePixels()
690 tempCtx->asRenderTargetContext()->fillRectToRect( in readSurfacePixels()
[all …]