/external/skia/src/gpu/ |
D | GrPathRenderer.h | 81 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 …]
|
D | GrSoftwarePathRenderer.cpp | 21 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()
|
D | GrPathRendererChain.cpp | 94 if (!args.fShape->style().isSimpleFill()) { in getPathRenderer() 102 GrPathRenderer::StencilSupport support = fChain[i]->getStencilSupport(*args.fShape); in getPathRenderer()
|
D | GrReducedClip.cpp | 746 canDrawArgs.fShape = &shape; in drawStencilClipMask() 806 args.fShape = &shape; in drawStencilClipMask()
|
D | GrClipStackClip.cpp | 119 canDrawArgs.fShape = &shape; in PathNeedsSWRenderer()
|
D | GrRenderTargetContext.cpp | 1606 canDrawArgs.fShape = &shape; in drawAndStencilPath() 1667 canDrawArgs.fShape = &shape; in internalDrawPath()
|
/external/skia/src/gpu/ops/ |
D | GrDashLinePathRenderer.cpp | 18 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()
|
D | GrTessellatingPathRenderer.cpp | 143 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 …]
|
D | GrAALinearizingConvexPathRenderer.cpp | 41 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 …]
|
D | GrStencilAndCoverPathRenderer.cpp | 37 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()
|
D | GrSmallPathRenderer.cpp | 90 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 …]
|
D | GrDefaultPathRenderer.cpp | 610 … 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()
|
D | GrMSAAPathRenderer.cpp | 684 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()
|
D | GrAAHairLinePathRenderer.cpp | 685 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()
|
D | GrAAConvexPathRenderer.cpp | 670 (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/ |
D | GrCoverageCountingPathRenderer.cpp | 43 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/ |
D | SkPDFDevice.cpp | 484 SkPath* shape = &fShape; in ~ScopedContentEntry() 526 fShape = shape; in setShape() 534 SkPath fShape; member in ScopedContentEntry
|