Lines Matching refs:tempCtx
474 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()
693 } else if (!tempCtx->copy(srcProxy, SkIRect::MakeXYWH(left, top, width, height), {0, 0})) { in readSurfacePixels()
697 return this->readSurfacePixels(tempCtx.get(), 0, 0, width, height, dstColorType, in readSurfacePixels()