Home
last modified time | relevance | path

Searched refs:canDrawArgs (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/gpu/
DGrStencilMaskHelper.cpp413 GrPathRenderer::CanDrawPathArgs canDrawArgs; in drawPath() local
414 canDrawArgs.fCaps = fContext->priv().caps(); in drawPath()
415 canDrawArgs.fProxy = fRTC->asRenderTargetProxy(); in drawPath()
416 canDrawArgs.fClipConservativeBounds = &fClip.fixedClip().scissorRect(); in drawPath()
417 canDrawArgs.fViewMatrix = &matrix; in drawPath()
418 canDrawArgs.fShape = &shape; in drawPath()
419 canDrawArgs.fPaint = nullptr; in drawPath()
420 canDrawArgs.fSurfaceProps = &fRTC->surfaceProps(); in drawPath()
421 canDrawArgs.fAAType = pathAAType; in drawPath()
422 canDrawArgs.fHasUserStencilSettings = false; in drawPath()
[all …]
DGrSurfaceDrawContext.cpp921 GrPathRenderer::CanDrawPathArgs canDrawArgs; in stencilPath() local
922 canDrawArgs.fCaps = fContext->priv().caps(); in stencilPath()
923 canDrawArgs.fProxy = this->asRenderTargetProxy(); in stencilPath()
924 canDrawArgs.fClipConservativeBounds = &clipBounds; in stencilPath()
925 canDrawArgs.fViewMatrix = &viewMatrix; in stencilPath()
926 canDrawArgs.fShape = &shape; in stencilPath()
927 canDrawArgs.fPaint = nullptr; in stencilPath()
928 canDrawArgs.fSurfaceProps = &fSurfaceProps; in stencilPath()
929 canDrawArgs.fAAType = (doStencilMSAA == GrAA::kYes) ? GrAAType::kMSAA : GrAAType::kNone; in stencilPath()
930 canDrawArgs.fHasUserStencilSettings = false; in stencilPath()
[all …]
DGrClipStackClip.cpp121 GrPathRenderer::CanDrawPathArgs canDrawArgs; in PathNeedsSWRenderer() local
122 canDrawArgs.fCaps = context->priv().caps(); in PathNeedsSWRenderer()
123 canDrawArgs.fProxy = surfaceDrawContext->asRenderTargetProxy(); in PathNeedsSWRenderer()
124 canDrawArgs.fClipConservativeBounds = &scissorRect; in PathNeedsSWRenderer()
125 canDrawArgs.fViewMatrix = &viewMatrix; in PathNeedsSWRenderer()
126 canDrawArgs.fShape = &shape; in PathNeedsSWRenderer()
127 canDrawArgs.fPaint = nullptr; in PathNeedsSWRenderer()
128 canDrawArgs.fSurfaceProps = &surfaceDrawContext->surfaceProps(); in PathNeedsSWRenderer()
129 canDrawArgs.fAAType = aaType; in PathNeedsSWRenderer()
130 canDrawArgs.fHasUserStencilSettings = hasUserStencilSettings; in PathNeedsSWRenderer()
[all …]
/external/skqp/src/gpu/
DGrClipStackClip.cpp121 GrPathRenderer::CanDrawPathArgs canDrawArgs; in PathNeedsSWRenderer() local
122 canDrawArgs.fCaps = context->contextPriv().caps(); in PathNeedsSWRenderer()
123 canDrawArgs.fClipConservativeBounds = &scissorRect; in PathNeedsSWRenderer()
124 canDrawArgs.fViewMatrix = &viewMatrix; in PathNeedsSWRenderer()
125 canDrawArgs.fShape = &shape; in PathNeedsSWRenderer()
126 canDrawArgs.fAAType = GrChooseAAType(GrAA(element->isAA()), in PathNeedsSWRenderer()
131 canDrawArgs.fTargetIsWrappedVkSecondaryCB = false; in PathNeedsSWRenderer()
132 canDrawArgs.fHasUserStencilSettings = hasUserStencilSettings; in PathNeedsSWRenderer()
136 context->contextPriv().drawingManager()->getPathRenderer(canDrawArgs, false, type); in PathNeedsSWRenderer()
DGrRenderTargetContext.cpp1773 GrPathRenderer::CanDrawPathArgs canDrawArgs; in drawAndStencilPath() local
1774 canDrawArgs.fCaps = fRenderTargetContext->caps(); in drawAndStencilPath()
1775 canDrawArgs.fViewMatrix = &viewMatrix; in drawAndStencilPath()
1776 canDrawArgs.fShape = &shape; in drawAndStencilPath()
1777 canDrawArgs.fClipConservativeBounds = &clipConservativeBounds; in drawAndStencilPath()
1778 canDrawArgs.fAAType = aaType; in drawAndStencilPath()
1780 canDrawArgs.fTargetIsWrappedVkSecondaryCB = false; in drawAndStencilPath()
1781 canDrawArgs.fHasUserStencilSettings = hasUserStencilSettings; in drawAndStencilPath()
1785 canDrawArgs, false, GrPathRendererChain::DrawType::kStencilAndColor); in drawAndStencilPath()
1843 GrPathRenderer::CanDrawPathArgs canDrawArgs; in drawShapeUsingPathRenderer() local
[all …]
DGrReducedClip.cpp854 GrPathRenderer::CanDrawPathArgs canDrawArgs; in drawStencilClipMask() local
855 canDrawArgs.fCaps = context->contextPriv().caps(); in drawStencilClipMask()
856 canDrawArgs.fClipConservativeBounds = &stencilClip.fixedClip().scissorRect(); in drawStencilClipMask()
857 canDrawArgs.fViewMatrix = &SkMatrix::I(); in drawStencilClipMask()
858 canDrawArgs.fShape = &shape; in drawStencilClipMask()
859 canDrawArgs.fAAType = aaType; in drawStencilClipMask()
860 canDrawArgs.fHasUserStencilSettings = false; in drawStencilClipMask()
861 canDrawArgs.fTargetIsWrappedVkSecondaryCB = renderTargetContext->wrapsVkSecondaryCB(); in drawStencilClipMask()
864 pr = dm->getPathRenderer(canDrawArgs, false, GrPathRendererChain::DrawType::kStencil, in drawStencilClipMask()