Lines Matching refs:tempCtx
377 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
571 if (!tempCtx) { in writeSurfacePixels()
580 if (!this->writeSurfacePixels(tempCtx.get(), 0, 0, width, height, tmpColorType, in writeSurfacePixels()