Home
last modified time | relevance | path

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

/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 …]
/external/skia/src/gpu/
DGrSurfaceContext.cpp240 std::unique_ptr<GrSurfaceContext> tempCtx; in readPixels() local
276 tempCtx = std::move(sfc); in readPixels()
307 tempCtx = GrSurfaceContext::Make(dContext, std::move(view), this->colorInfo()); in readPixels()
308 SkASSERT(tempCtx); in readPixels()
310 return tempCtx->readPixels(dContext, dst, pt); in readPixels()
521 GrSurfaceContext tempCtx(dContext, tempView, tempColorInfo); in internalWritePixels() local
534 if (!tempCtx.writePixels(dContext, srcBase, {0, 0})) { in internalWritePixels()