Searched refs:asRenderTargetContext (Results 1 – 13 of 13) sorted by relevance
435 SkToBool(dst->asRenderTargetContext()) && in writeSurfacePixels()501 dst->asRenderTargetContext()->fillRectToRect( in writeSurfacePixels()667 SkASSERT(tempCtx->asRenderTargetContext()); in readSurfacePixels()668 tempCtx->asRenderTargetContext()->discard(); in readSurfacePixels()690 tempCtx->asRenderTargetContext()->fillRectToRect( in readSurfacePixels()861 if (sContext && sContext->asRenderTargetContext()) { in makeDeferredSurfaceContext()862 sContext->asRenderTargetContext()->discard(); in makeDeferredSurfaceContext()
103 virtual GrRenderTargetContext* asRenderTargetContext() { return nullptr; } in asRenderTargetContext() function
415 GrRenderTargetContext* asRenderTargetContext() override { return this; } in asRenderTargetContext() function
381 SkASSERT(tempCtx->asRenderTargetContext()); in readSurfacePixels()382 tempCtx->asRenderTargetContext()->discard(); in readSurfacePixels()404 tempCtx->asRenderTargetContext()->fillRectToRect( in readSurfacePixels()530 SkToBool(dst->asRenderTargetContext()) && in writeSurfacePixels()596 dst->asRenderTargetContext()->fillRectToRect( in writeSurfacePixels()
187 if (sContext && sContext->asRenderTargetContext()) { in makeDeferredSurfaceContext()188 sContext->asRenderTargetContext()->discard(); in makeDeferredSurfaceContext()
451 GrRenderTargetContext* asRenderTargetContext() override { return this; } in asRenderTargetContext() function
186 sk_ref_sp(c->asRenderTargetContext())); in init()
175 sk_ref_sp(c->asRenderTargetContext())); in init()
49 if (GrRenderTargetContext* rtc = rectContext->asRenderTargetContext()) { in test_clear()
319 if (!sc || !sc->asRenderTargetContext()) { in MakeRenderTarget()323 sk_sp<SkGpuDevice> device(SkGpuDevice::Make(context, sk_ref_sp(sc->asRenderTargetContext()), in MakeRenderTarget()
332 if (!sc || !sc->asRenderTargetContext()) { in MakeRenderTarget()338 sk_ref_sp(sc->asRenderTargetContext()), in MakeRenderTarget()