Home
last modified time | relevance | path

Searched refs:fShape (Results 1 – 17 of 17) sorted by relevance

/external/skia/src/gpu/
DGrPathRenderer.h81 const GrShape* fShape; member
91 SkASSERT(fShape); in validate()
128 const GrShape* fShape; member
138 SkASSERT(fShape); in validate()
153 canArgs.fShape = args.fShape; in drawPath()
164 args.fShape->asPath(&path); in drawPath()
165 SkASSERT(args.fShape->style().isSimpleFill()); in drawPath()
166 SkASSERT(kNoRestriction_StencilSupport == this->getStencilSupport(*args.fShape)); in drawPath()
186 const GrShape* fShape; member
193 SkASSERT(fShape); in validate()
[all …]
DGrSoftwarePathRenderer.cpp21 return !args.fShape->style().applies() && SkToBool(fResourceProvider) && in onCanDrawPath()
136 SkASSERT(!args.fShape->style().applies()); in onDrawPath()
138 inverseFilled = args.fShape->inverseFilled() && in onDrawPath()
139 !IsStrokeHairlineOrEquivalent(args.fShape->style(), *args.fViewMatrix, nullptr); in onDrawPath()
145 args.fShape->hasUnstyledKey() && GrAAType::kCoverage == args.fAAType; in onDrawPath()
149 *args.fClip, *args.fShape, in onDrawPath()
195 GrUniqueKey::Builder builder(&maskKey, kDomain, 5 + args.fShape->unstyledKeySize()); in onDrawPath()
201 args.fShape->writeUnstyledKey(&builder[5]); in onDrawPath()
213 proxy = GrSWMaskHelper::DrawShapeMaskToTexture(args.fContext, *args.fShape, in onDrawPath()
DGrPathRendererChain.cpp94 if (!args.fShape->style().isSimpleFill()) { in getPathRenderer()
102 GrPathRenderer::StencilSupport support = fChain[i]->getStencilSupport(*args.fShape); in getPathRenderer()
DGrReducedClip.cpp746 canDrawArgs.fShape = &shape; in drawStencilClipMask()
806 args.fShape = &shape; in drawStencilClipMask()
DGrClipStackClip.cpp119 canDrawArgs.fShape = &shape; in PathNeedsSWRenderer()
DGrRenderTargetContext.cpp1606 canDrawArgs.fShape = &shape; in drawAndStencilPath()
1667 canDrawArgs.fShape = &shape; in internalDrawPath()
/external/skia/src/gpu/ops/
DGrDashLinePathRenderer.cpp18 if (args.fShape->style().isDashed() && args.fShape->asLine(pts, &inverted)) { in onCanDrawPath()
24 return GrDashOp::CanDrawDashLine(pts, args.fShape->style(), *args.fViewMatrix); in onCanDrawPath()
47 SkAssertResult(args.fShape->asLine(pts, nullptr)); in onDrawPath()
50 args.fShape->style(), args.fUserStencilSettings); in onDrawPath()
DGrTessellatingPathRenderer.cpp143 if (!args.fShape->style().isSimpleFill() || args.fShape->knownToBeConvex()) { in onCanDrawPath()
148 args.fShape->asPath(&path); in onCanDrawPath()
152 } else if (!args.fShape->hasUnstyledKey()) { in onCanDrawPath()
197 , fShape(shape) in TessellatingPathOp()
222 SkASSERT(!fShape.style().applies()); in getPath()
224 fShape.asPath(&path); in getPath()
231 bool inverseFill = fShape.inverseFilled(); in draw()
236 int shapeKeyDataCnt = fShape.unstyledKeySize(); in draw()
239 fShape.writeUnstyledKey(&builder[0]); in draw()
250 tol = GrPathUtils::scaleToleranceToSrc(tol, fViewMatrix, fShape.bounds()); in draw()
[all …]
DGrAALinearizingConvexPathRenderer.cpp41 if (!args.fShape->knownToBeConvex()) { in onCanDrawPath()
44 if (args.fShape->style().pathEffect()) { in onCanDrawPath()
47 if (args.fShape->inverseFilled()) { in onCanDrawPath()
50 if (args.fShape->bounds().width() <= 0 && args.fShape->bounds().height() <= 0) { in onCanDrawPath()
54 const SkStrokeRec& stroke = args.fShape->style().strokeRec(); in onCanDrawPath()
66 args.fShape->knownToBeClosed() && in onCanDrawPath()
327 SkASSERT(!args.fShape->isEmpty()); in onDrawPath()
328 SkASSERT(!args.fShape->style().pathEffect()); in onDrawPath()
331 args.fShape->asPath(&path); in onDrawPath()
332 bool fill = args.fShape->style().isSimpleFill(); in onDrawPath()
[all …]
DGrStencilAndCoverPathRenderer.cpp37 if (args.fShape->style().strokeRec().isHairlineStyle() || in onCanDrawPath()
38 args.fShape->style().hasNonDashPathEffect()) { in onCanDrawPath()
77 sk_sp<GrPath> p(get_gr_path(fResourceProvider, *args.fShape)); in onStencilPath()
85 SkASSERT(!args.fShape->style().strokeRec().isHairlineStyle()); in onDrawPath()
90 sk_sp<GrPath> path(get_gr_path(fResourceProvider, *args.fShape)); in onDrawPath()
92 if (args.fShape->inverseFilled()) { in onDrawPath()
DGrSmallPathRenderer.cpp90 if (!args.fShape->hasUnstyledKey()) { in onCanDrawPath()
95 if (!args.fShape->style().isSimpleFill()) { in onCanDrawPath()
103 if (args.fShape->inverseFilled()) { in onCanDrawPath()
118 SkRect bounds = args.fShape->styledBounds(); in onCanDrawPath()
285 const SkRect& bounds = args.fShape.bounds(); in onPrepareDraws()
319 ShapeData::Key key(args.fShape, SkScalarCeilToInt(desiredDimension)); in onPrepareDraws()
335 args.fShape, in onPrepareDraws()
344 ShapeData::Key key(args.fShape, this->viewMatrix()); in onPrepareDraws()
359 args.fShape, in onPrepareDraws()
723 GrShape fShape; member
[all …]
DGrDefaultPathRenderer.cpp610 … bool isHairline = IsStrokeHairlineOrEquivalent(args.fShape->style(), *args.fViewMatrix, nullptr); in onCanDrawPath()
612 if (!(single_pass_shape(*args.fShape) || isHairline) && args.fCaps->avoidStencilBuffers()) { in onCanDrawPath()
617 (args.fShape->style().isSimpleFill() || isHairline); in onCanDrawPath()
629 *args.fShape, in onDrawPath()
636 SkASSERT(!args.fShape->inverseFilled()); in onStencilPath()
643 *args.fShape, true); in onStencilPath()
DGrMSAAPathRenderer.cpp684 if (!single_pass_shape(*args.fShape) && args.fCaps->avoidStencilBuffers()) { in onCanDrawPath()
690 return args.fShape->style().isSimpleFill() && (GrAAType::kCoverage != args.fAAType); in onCanDrawPath()
697 const GrShape* shape = args.fShape; in onDrawPath()
700 tmpShape.init(args.fShape->applyStyle(GrStyle::Apply::kPathEffectAndStrokeRec, styleScale)); in onDrawPath()
716 SkASSERT(args.fShape->style().isSimpleFill()); in onStencilPath()
717 SkASSERT(!args.fShape->mayBeInverseFilledAfterStyling()); in onStencilPath()
724 *args.fShape, true); in onStencilPath()
DGrAAHairLinePathRenderer.cpp685 if (!IsStrokeHairlineOrEquivalent(args.fShape->style(), *args.fViewMatrix, nullptr)) { in onCanDrawPath()
690 if (args.fShape->style().pathEffect()) { in onCanDrawPath()
694 if (SkPath::kLine_SegmentMask == args.fShape->segmentMask() || in onCanDrawPath()
1027 args.fShape->asPath(&path); in onDrawPath()
1030 args.fShape->style(), devClipBounds, args.fUserStencilSettings); in onDrawPath()
DGrAAConvexPathRenderer.cpp670 (GrAAType::kCoverage == args.fAAType) && args.fShape->style().isSimpleFill() && in onCanDrawPath()
671 !args.fShape->inverseFilled() && args.fShape->knownToBeConvex()); in onCanDrawPath()
953 SkASSERT(!args.fShape->isEmpty()); in onDrawPath()
956 args.fShape->asPath(&path); in onDrawPath()
/external/skia/src/gpu/ccpr/
DGrCoverageCountingPathRenderer.cpp43 if (!args.fShape->style().isSimpleFill() || in onCanDrawPath()
44 args.fShape->inverseFilled() || in onCanDrawPath()
51 args.fShape->asPath(&path); in onCanDrawPath()
57 SkASSERT(!args.fShape->isEmpty()); in onDrawPath()
79 args.fViewMatrix->mapRect(&devBounds, args.fShape->bounds()); in DrawPathsOp()
85 args.fShape->asPath(&fHeadDraw.fPath); in DrawPathsOp()
/external/skia/src/pdf/
DSkPDFDevice.cpp484 SkPath* shape = &fShape; in ~ScopedContentEntry()
526 fShape = shape; in setShape()
534 SkPath fShape; member in ScopedContentEntry