/external/skia/src/gpu/ |
D | GrPathRenderer.cpp | 23 SkASSERT(fShape); in validate() 24 SkASSERT(fShape->style().isSimpleFill()); in validate() 27 fShape->asPath(&path); in validate() 51 canArgs.fShape = args.fShape; in drawPath() 64 args.fShape->asPath(&path); in drawPath() 65 SkASSERT(args.fShape->style().isSimpleFill()); in drawPath() 66 SkASSERT(kNoRestriction_StencilSupport == this->getStencilSupport(*args.fShape)); in drawPath() 120 args.fShape, in onStencilPath()
|
D | GrSoftwarePathRenderer.cpp | 34 if (!args.fShape->style().applies() && SkToBool(fProxyProvider) && in onCanDrawPath() 209 , fShape(shape) in SoftwarePathData() 214 const GrShape& getShape() const { return fShape; } in getShape() 220 GrShape fShape; member in __anon037c5f530111::SoftwarePathData 249 SkASSERT(!args.fShape->style().applies()); in onDrawPath() 252 bool inverseFilled = args.fShape->inverseFilled() && in onDrawPath() 253 !IsStrokeHairlineOrEquivalent(args.fShape->style(), in onDrawPath() 260 args.fShape->hasUnstyledKey() && GrAAType::kCoverage == args.fAAType; in onDrawPath() 263 *args.fClip, *args.fShape, in onDrawPath() 300 GrUniqueKey::Builder builder(&maskKey, kDomain, 5 + args.fShape->unstyledKeySize(), in onDrawPath() [all …]
|
D | GrPathRenderer.h | 81 const GrShape* fShape; member 93 SkASSERT(fShape); in validate() 116 const GrShape* fShape; member 127 SkASSERT(fShape); in validate() 149 const GrShape* fShape; member 160 SkASSERT(kNoSupport_StencilSupport != this->getStencilSupport(*args.fShape)); in stencilPath()
|
D | GrPathRendererChain.cpp | 95 if (!args.fShape->style().isSimpleFill()) { in getPathRenderer() 104 support = pr->getStencilSupport(*args.fShape); in getPathRenderer()
|
/external/skqp/src/gpu/ |
D | GrPathRenderer.cpp | 23 SkASSERT(fShape); in validate() 24 SkASSERT(fShape->style().isSimpleFill()); in validate() 27 fShape->asPath(&path); in validate() 51 canArgs.fShape = args.fShape; in drawPath() 64 args.fShape->asPath(&path); in drawPath() 65 SkASSERT(args.fShape->style().isSimpleFill()); in drawPath() 66 SkASSERT(kNoRestriction_StencilSupport == this->getStencilSupport(*args.fShape)); in drawPath() 120 args.fShape, in onStencilPath()
|
D | GrSoftwarePathRenderer.cpp | 32 if (!args.fShape->style().applies() && SkToBool(fProxyProvider) && in onCanDrawPath() 206 , fShape(shape) in SoftwarePathData() 211 const GrShape& getShape() const { return fShape; } in getShape() 217 GrShape fShape; member in __anoncfa6790a0111::SoftwarePathData 246 SkASSERT(!args.fShape->style().applies()); in onDrawPath() 249 bool inverseFilled = args.fShape->inverseFilled() && in onDrawPath() 250 !IsStrokeHairlineOrEquivalent(args.fShape->style(), in onDrawPath() 257 args.fShape->hasUnstyledKey() && GrAAType::kCoverage == args.fAAType; in onDrawPath() 260 *args.fClip, *args.fShape, in onDrawPath() 297 GrUniqueKey::Builder builder(&maskKey, kDomain, 5 + args.fShape->unstyledKeySize(), in onDrawPath() [all …]
|
D | GrPathRenderer.h | 81 const GrShape* fShape; member 93 SkASSERT(fShape); in validate() 116 const GrShape* fShape; member 127 SkASSERT(fShape); in validate() 149 const GrShape* fShape; member 160 SkASSERT(kNoSupport_StencilSupport != this->getStencilSupport(*args.fShape)); in stencilPath()
|
D | GrPathRendererChain.cpp | 87 if (!args.fShape->style().isSimpleFill()) { in getPathRenderer() 96 support = pr->getStencilSupport(*args.fShape); in getPathRenderer()
|
/external/skqp/src/gpu/ops/ |
D | GrTessellatingPathRenderer.cpp | 152 if (!args.fShape->style().isSimpleFill() || args.fShape->knownToBeConvex()) { in onCanDrawPath() 157 args.fShape->asPath(&path); in onCanDrawPath() 161 } else if (!args.fShape->hasUnstyledKey()) { in onCanDrawPath() 214 , fShape(shape) in TessellatingPathOp() 239 SkASSERT(!fShape.style().applies()); in getPath() 241 fShape.asPath(&path); in getPath() 248 bool inverseFill = fShape.inverseFilled(); in draw() 253 int shapeKeyDataCnt = fShape.unstyledKeySize(); in draw() 256 fShape.writeUnstyledKey(&builder[0]); in draw() 267 tol = GrPathUtils::scaleToleranceToSrc(tol, fViewMatrix, fShape.bounds()); in draw() [all …]
|
D | GrDashLinePathRenderer.cpp | 20 if (args.fShape->style().isDashed() && args.fShape->asLine(pts, &inverted)) { in onCanDrawPath() 26 if (!GrDashOp::CanDrawDashLine(pts, args.fShape->style(), *args.fViewMatrix)) { in onCanDrawPath() 52 SkAssertResult(args.fShape->asLine(pts, nullptr)); in onDrawPath() 55 aaMode, args.fShape->style(), args.fUserStencilSettings); in onDrawPath()
|
D | GrAALinearizingConvexPathRenderer.cpp | 45 if (!args.fShape->knownToBeConvex()) { in onCanDrawPath() 48 if (args.fShape->style().pathEffect()) { in onCanDrawPath() 51 if (args.fShape->inverseFilled()) { in onCanDrawPath() 54 if (args.fShape->bounds().width() <= 0 && args.fShape->bounds().height() <= 0) { in onCanDrawPath() 58 const SkStrokeRec& stroke = args.fShape->style().strokeRec(); in onCanDrawPath() 70 !args.fShape->knownToBeClosed() || in onCanDrawPath() 337 SkASSERT(!args.fShape->isEmpty()); in onDrawPath() 338 SkASSERT(!args.fShape->style().pathEffect()); in onDrawPath() 341 args.fShape->asPath(&path); in onDrawPath() 342 bool fill = args.fShape->style().isSimpleFill(); in onDrawPath() [all …]
|
D | GrStencilAndCoverPathRenderer.cpp | 41 if (args.fShape->style().strokeRec().isHairlineStyle() || in onCanDrawPath() 42 args.fShape->style().hasNonDashPathEffect()) { in onCanDrawPath() 83 sk_sp<GrPath> p(get_gr_path(fResourceProvider, *args.fShape)); in onStencilPath() 91 SkASSERT(!args.fShape->style().strokeRec().isHairlineStyle()); in onDrawPath() 96 sk_sp<GrPath> path(get_gr_path(fResourceProvider, *args.fShape)); in onDrawPath() 98 if (args.fShape->inverseFilled()) { in onDrawPath()
|
D | GrSmallPathRenderer.cpp | 181 if (!args.fShape->hasUnstyledKey()) { in onCanDrawPath() 186 if (!args.fShape->style().isSimpleFill()) { in onCanDrawPath() 194 if (args.fShape->inverseFilled()) { in onCanDrawPath() 205 SkRect bounds = args.fShape->styledBounds(); in onCanDrawPath() 397 const SkRect& bounds = args.fShape.bounds(); in onPrepareDraws() 440 ShapeDataKey key(args.fShape, SkScalarCeilToInt(desiredDimension)); in onPrepareDraws() 456 args.fShape, in onPrepareDraws() 465 ShapeDataKey key(args.fShape, args.fViewMatrix); in onPrepareDraws() 480 args.fShape, in onPrepareDraws() 852 GrShape fShape; member [all …]
|
D | GrDefaultPathRenderer.cpp | 641 … bool isHairline = IsStrokeHairlineOrEquivalent(args.fShape->style(), *args.fViewMatrix, nullptr); in onCanDrawPath() 643 if (!(single_pass_shape(*args.fShape) || isHairline) && in onCanDrawPath() 649 (!args.fShape->style().isSimpleFill() && !isHairline)) { in onCanDrawPath() 665 *args.fShape, in onDrawPath() 672 SkASSERT(!args.fShape->inverseFilled()); in onStencilPath() 679 *args.fShape, true); in onStencilPath()
|
D | GrAAConvexPathRenderer.cpp | 658 (GrAAType::kCoverage == args.fAAType) && args.fShape->style().isSimpleFill() && in onCanDrawPath() 659 !args.fShape->inverseFilled() && args.fShape->knownToBeConvex()) { in onCanDrawPath() 837 SkASSERT(!args.fShape->isEmpty()); in onDrawPath() 840 args.fShape->asPath(&path); in onDrawPath()
|
/external/skia/src/gpu/ops/ |
D | GrTessellatingPathRenderer.cpp | 152 if (!args.fShape->style().isSimpleFill() || args.fShape->knownToBeConvex()) { in onCanDrawPath() 157 args.fShape->asPath(&path); in onCanDrawPath() 161 } else if (!args.fShape->hasUnstyledKey()) { in onCanDrawPath() 214 , fShape(shape) in TessellatingPathOp() 240 SkASSERT(!fShape.style().applies()); in getPath() 242 fShape.asPath(&path); in getPath() 249 bool inverseFill = fShape.inverseFilled(); in draw() 254 int shapeKeyDataCnt = fShape.unstyledKeySize(); in draw() 257 fShape.writeUnstyledKey(&builder[0]); in draw() 268 tol = GrPathUtils::scaleToleranceToSrc(tol, fViewMatrix, fShape.bounds()); in draw() [all …]
|
D | GrDashLinePathRenderer.cpp | 20 if (args.fShape->style().isDashed() && args.fShape->asLine(pts, &inverted)) { in onCanDrawPath() 26 if (!GrDashOp::CanDrawDashLine(pts, args.fShape->style(), *args.fViewMatrix)) { in onCanDrawPath() 52 SkAssertResult(args.fShape->asLine(pts, nullptr)); in onDrawPath() 55 aaMode, args.fShape->style(), args.fUserStencilSettings); in onDrawPath()
|
D | GrAALinearizingConvexPathRenderer.cpp | 45 if (!args.fShape->knownToBeConvex()) { in onCanDrawPath() 48 if (args.fShape->style().pathEffect()) { in onCanDrawPath() 51 if (args.fShape->inverseFilled()) { in onCanDrawPath() 54 if (args.fShape->bounds().width() <= 0 && args.fShape->bounds().height() <= 0) { in onCanDrawPath() 58 const SkStrokeRec& stroke = args.fShape->style().strokeRec(); in onCanDrawPath() 70 !args.fShape->knownToBeClosed() || in onCanDrawPath() 341 SkASSERT(!args.fShape->isEmpty()); in onDrawPath() 342 SkASSERT(!args.fShape->style().pathEffect()); in onDrawPath() 345 args.fShape->asPath(&path); in onDrawPath() 346 bool fill = args.fShape->style().isSimpleFill(); in onDrawPath() [all …]
|
D | GrStencilAndCoverPathRenderer.cpp | 41 if (args.fShape->style().strokeRec().isHairlineStyle() || in onCanDrawPath() 42 args.fShape->style().hasNonDashPathEffect()) { in onCanDrawPath() 83 sk_sp<GrPath> p(get_gr_path(fResourceProvider, *args.fShape)); in onStencilPath() 91 SkASSERT(!args.fShape->style().strokeRec().isHairlineStyle()); in onDrawPath() 96 sk_sp<GrPath> path(get_gr_path(fResourceProvider, *args.fShape)); in onDrawPath() 98 if (args.fShape->inverseFilled()) { in onDrawPath()
|
D | GrSmallPathRenderer.cpp | 182 if (!args.fShape->hasUnstyledKey()) { in onCanDrawPath() 187 if (!args.fShape->style().isSimpleFill()) { in onCanDrawPath() 195 if (args.fShape->inverseFilled()) { in onCanDrawPath() 206 SkRect bounds = args.fShape->styledBounds(); in onCanDrawPath() 396 const SkRect& bounds = args.fShape.bounds(); in onPrepareDraws() 439 ShapeDataKey key(args.fShape, SkScalarCeilToInt(desiredDimension)); in onPrepareDraws() 455 args.fShape, in onPrepareDraws() 464 ShapeDataKey key(args.fShape, args.fViewMatrix); in onPrepareDraws() 479 args.fShape, in onPrepareDraws() 854 GrShape fShape; member [all …]
|
D | GrDefaultPathRenderer.cpp | 640 … bool isHairline = IsStrokeHairlineOrEquivalent(args.fShape->style(), *args.fViewMatrix, nullptr); in onCanDrawPath() 642 if (!(single_pass_shape(*args.fShape) || isHairline) && in onCanDrawPath() 648 (!args.fShape->style().isSimpleFill() && !isHairline)) { in onCanDrawPath() 664 *args.fShape, in onDrawPath() 671 SkASSERT(!args.fShape->inverseFilled()); in onStencilPath() 678 *args.fShape, true); in onStencilPath()
|
/external/skia/src/gpu/ccpr/ |
D | GrCCDrawPathsOp.cpp | 127 , fShape(shape) in SingleDraw() 133 if (fShape.hasUnstyledKey()) { in SingleDraw() 160 !fShape.style().strokeRec().isFillStyle() && fStrokeDevWidth < 1) { in finalize() 164 SkASSERT(SkStrokeRec::kStroke_Style == fShape.style().strokeRec().getStyle()); in finalize() 167 fShape.asPath(&path); in finalize() 170 SkStrokeRec hairlineStroke = fShape.style().strokeRec(); in finalize() 176 fShape = GrShape(path, GrStyle(hairlineStroke, nullptr)); in finalize() 226 fShape.asPath(&path); in accountForOwnPath() 232 pathCache->find(onFlushRP, fShape, fMaskDevIBounds, fMatrix, &fCachedMaskShift); in accountForOwnPath() 243 int idx = (fShape.style().strokeRec().isFillStyle()) in accountForOwnPath() [all …]
|
D | GrCoverageCountingPathRenderer.cpp | 58 const GrShape& shape = *args.fShape; in onCanDrawPath() 96 if (args.fShape->hasUnstyledKey() && path.countVerbs() > 50) { in onCanDrawPath() 143 auto op = GrCCDrawPathsOp::Make(args.fContext, clipIBounds, *args.fViewMatrix, *args.fShape, in onDrawPath()
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCDrawPathsOp.cpp | 126 , fShape(shape) in SingleDraw() 132 if (fShape.hasUnstyledKey()) { in SingleDraw() 157 !fShape.style().strokeRec().isFillStyle() && fStrokeDevWidth < 1) { in finalize() 161 SkASSERT(SkStrokeRec::kStroke_Style == fShape.style().strokeRec().getStyle()); in finalize() 164 fShape.asPath(&path); in finalize() 167 SkStrokeRec hairlineStroke = fShape.style().strokeRec(); in finalize() 173 fShape = GrShape(path, GrStyle(hairlineStroke, nullptr)); in finalize() 223 fShape.asPath(&path); in accountForOwnPath() 229 pathCache->find(onFlushRP, fShape, fMaskDevIBounds, fMatrix, &fCachedMaskShift); in accountForOwnPath() 240 int idx = (fShape.style().strokeRec().isFillStyle()) in accountForOwnPath() [all …]
|
D | GrCoverageCountingPathRenderer.cpp | 58 const GrShape& shape = *args.fShape; in onCanDrawPath() 96 if (args.fShape->hasUnstyledKey() && path.countVerbs() > 50) { in onCanDrawPath() 143 auto op = GrCCDrawPathsOp::Make(args.fContext, clipIBounds, *args.fViewMatrix, *args.fShape, in onDrawPath()
|