Home
last modified time | relevance | path

Searched refs:asRenderTargetContext (Results 1 – 13 of 13) sorted by relevance

/external/skqp/src/gpu/
DGrContext.cpp435 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()
DGrSurfaceContext.h103 virtual GrRenderTargetContext* asRenderTargetContext() { return nullptr; } in asRenderTargetContext() function
DGrRenderTargetContext.h415 GrRenderTargetContext* asRenderTargetContext() override { return this; } in asRenderTargetContext() function
/external/skia/src/gpu/
DGrContextPriv.cpp381 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()
DGrSurfaceContext.h103 virtual GrRenderTargetContext* asRenderTargetContext() { return nullptr; } in asRenderTargetContext() function
DGrRecordingContext.cpp187 if (sContext && sContext->asRenderTargetContext()) { in makeDeferredSurfaceContext()
188 sContext->asRenderTargetContext()->discard(); in makeDeferredSurfaceContext()
DGrRenderTargetContext.h451 GrRenderTargetContext* asRenderTargetContext() override { return this; } in asRenderTargetContext() function
/external/skia/src/core/
DSkDeferredDisplayListRecorder.cpp186 sk_ref_sp(c->asRenderTargetContext())); in init()
/external/skqp/src/core/
DSkDeferredDisplayListRecorder.cpp175 sk_ref_sp(c->asRenderTargetContext())); in init()
/external/skia/tests/
DRectangleTextureTest.cpp49 if (GrRenderTargetContext* rtc = rectContext->asRenderTargetContext()) { in test_clear()
/external/skqp/tests/
DRectangleTextureTest.cpp49 if (GrRenderTargetContext* rtc = rectContext->asRenderTargetContext()) { in test_clear()
/external/skqp/src/image/
DSkSurface_Gpu.cpp319 if (!sc || !sc->asRenderTargetContext()) { in MakeRenderTarget()
323 sk_sp<SkGpuDevice> device(SkGpuDevice::Make(context, sk_ref_sp(sc->asRenderTargetContext()), in MakeRenderTarget()
/external/skia/src/image/
DSkSurface_Gpu.cpp332 if (!sc || !sc->asRenderTargetContext()) { in MakeRenderTarget()
338 sk_ref_sp(sc->asRenderTargetContext()), in MakeRenderTarget()