Home
last modified time | relevance | path

Searched refs:asRenderTargetContext (Results 1 – 8 of 8) 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/
DGrSurfaceContext.h167 virtual GrSurfaceDrawContext* asRenderTargetContext() { return nullptr; } in asRenderTargetContext() function
DGrSurfaceDrawContext.h655 GrSurfaceDrawContext* asRenderTargetContext() override { return this; } in asRenderTargetContext() function
/external/skqp/src/core/
DSkDeferredDisplayListRecorder.cpp175 sk_ref_sp(c->asRenderTargetContext())); in init()
/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()