/external/skia/src/gpu/ops/ |
GrDashLinePathRenderer.cpp | 19 if (args.fShape->style().isDashed() && args.fShape->asLine(pts, &inverted)) { 25 if (!GrDashOp::CanDrawDashLine(pts, args.fShape->style(), *args.fViewMatrix)) { 51 SkAssertResult(args.fShape->asLine(pts, nullptr)); 54 args.fShape->style(), args.fUserStencilSettings);
|
GrStencilAndCoverPathRenderer.cpp | 39 if (args.fShape->style().strokeRec().isHairlineStyle() || 40 args.fShape->style().hasNonDashPathEffect()) { 81 sk_sp<GrPath> p(get_gr_path(fResourceProvider, *args.fShape)); 89 SkASSERT(!args.fShape->style().strokeRec().isHairlineStyle()); 94 sk_sp<GrPath> path(get_gr_path(fResourceProvider, *args.fShape)); 96 if (args.fShape->inverseFilled()) {
|
GrTessellatingPathRenderer.cpp | 148 if (!args.fShape->style().isSimpleFill() || args.fShape->knownToBeConvex()) { 153 args.fShape->asPath(&path); 157 } else if (!args.fShape->hasUnstyledKey()) { 206 , fShape(shape) 232 SkASSERT(!fShape.style().applies()); 234 fShape.asPath(&path); 241 bool inverseFill = fShape.inverseFilled(); 246 int shapeKeyDataCnt = fShape.unstyledKeySize(); 249 fShape.writeUnstyledKey(&builder[0]) [all...] |
GrAALinearizingConvexPathRenderer.cpp | 42 if (!args.fShape->knownToBeConvex()) { 45 if (args.fShape->style().pathEffect()) { 48 if (args.fShape->inverseFilled()) { 51 if (args.fShape->bounds().width() <= 0 && args.fShape->bounds().height() <= 0) { 55 const SkStrokeRec& stroke = args.fShape->style().strokeRec(); 67 !args.fShape->knownToBeClosed() || 339 SkASSERT(!args.fShape->isEmpty()); 340 SkASSERT(!args.fShape->style().pathEffect()); 343 args.fShape->asPath(&path) [all...] |
GrSmallPathRenderer.cpp | 89 if (!args.fShape->hasUnstyledKey()) { 94 if (!args.fShape->style().isSimpleFill()) { 102 if (args.fShape->inverseFilled()) { 113 SkRect bounds = args.fShape->styledBounds(); 290 const SkRect& bounds = args.fShape.bounds(); 333 ShapeData::Key key(args.fShape, SkScalarCeilToInt(desiredDimension)); 349 args.fShape, 358 ShapeData::Key key(args.fShape, args.fViewMatrix); 373 args.fShape, 771 GrShape fShape; [all...] |
GrDefaultPathRenderer.cpp | 621 bool isHairline = IsStrokeHairlineOrEquivalent(args.fShape->style(), *args.fViewMatrix, nullptr); 623 if (!(single_pass_shape(*args.fShape) || isHairline) && args.fCaps->avoidStencilBuffers()) { 628 (!args.fShape->style().isSimpleFill() && !isHairline)) { 644 *args.fShape, 651 SkASSERT(!args.fShape->inverseFilled()); 658 *args.fShape, true);
|
GrMSAAPathRenderer.cpp | 695 if (!single_pass_shape(*args.fShape) && args.fCaps->avoidStencilBuffers()) { 701 if (!args.fShape->style().isSimpleFill() || GrAAType::kCoverage == args.fAAType) { 711 const GrShape* shape = args.fShape; 714 tmpShape.init(args.fShape->applyStyle(GrStyle::Apply::kPathEffectAndStrokeRec, styleScale)); 730 SkASSERT(args.fShape->style().isSimpleFill()); 731 SkASSERT(!args.fShape->mayBeInverseFilledAfterStyling()); 738 *args.fShape, true);
|
GrAAConvexPathRenderer.cpp | 673 (GrAAType::kCoverage == args.fAAType) && args.fShape->style().isSimpleFill() && 674 !args.fShape->inverseFilled() && args.fShape->knownToBeConvex()) { [all...] |
GrAAHairLinePathRenderer.cpp | 710 if (!IsStrokeHairlineOrEquivalent(args.fShape->style(), *args.fViewMatrix, nullptr)) { 715 if (args.fShape->style().pathEffect()) { 719 if (SkPath::kLine_SegmentMask == args.fShape->segmentMask() || [all...] |
/external/skqp/src/gpu/ops/ |
GrDashLinePathRenderer.cpp | 19 if (args.fShape->style().isDashed() && args.fShape->asLine(pts, &inverted)) { 25 if (!GrDashOp::CanDrawDashLine(pts, args.fShape->style(), *args.fViewMatrix)) { 51 SkAssertResult(args.fShape->asLine(pts, nullptr)); 54 args.fShape->style(), args.fUserStencilSettings);
|
GrStencilAndCoverPathRenderer.cpp | 39 if (args.fShape->style().strokeRec().isHairlineStyle() || 40 args.fShape->style().hasNonDashPathEffect()) { 81 sk_sp<GrPath> p(get_gr_path(fResourceProvider, *args.fShape)); 89 SkASSERT(!args.fShape->style().strokeRec().isHairlineStyle()); 94 sk_sp<GrPath> path(get_gr_path(fResourceProvider, *args.fShape)); 96 if (args.fShape->inverseFilled()) {
|
GrTessellatingPathRenderer.cpp | 148 if (!args.fShape->style().isSimpleFill() || args.fShape->knownToBeConvex()) { 153 args.fShape->asPath(&path); 157 } else if (!args.fShape->hasUnstyledKey()) { 206 , fShape(shape) 232 SkASSERT(!fShape.style().applies()); 234 fShape.asPath(&path); 241 bool inverseFill = fShape.inverseFilled(); 246 int shapeKeyDataCnt = fShape.unstyledKeySize(); 249 fShape.writeUnstyledKey(&builder[0]) [all...] |
GrAALinearizingConvexPathRenderer.cpp | 42 if (!args.fShape->knownToBeConvex()) { 45 if (args.fShape->style().pathEffect()) { 48 if (args.fShape->inverseFilled()) { 51 if (args.fShape->bounds().width() <= 0 && args.fShape->bounds().height() <= 0) { 55 const SkStrokeRec& stroke = args.fShape->style().strokeRec(); 67 !args.fShape->knownToBeClosed() || 340 SkASSERT(!args.fShape->isEmpty()); 341 SkASSERT(!args.fShape->style().pathEffect()); 344 args.fShape->asPath(&path) [all...] |
GrSmallPathRenderer.cpp | 89 if (!args.fShape->hasUnstyledKey()) { 94 if (!args.fShape->style().isSimpleFill()) { 102 if (args.fShape->inverseFilled()) { 113 SkRect bounds = args.fShape->styledBounds(); 293 const SkRect& bounds = args.fShape.bounds(); 336 ShapeData::Key key(args.fShape, SkScalarCeilToInt(desiredDimension)); 352 args.fShape, 361 ShapeData::Key key(args.fShape, args.fViewMatrix); 376 args.fShape, 769 GrShape fShape; [all...] |
GrDefaultPathRenderer.cpp | 621 bool isHairline = IsStrokeHairlineOrEquivalent(args.fShape->style(), *args.fViewMatrix, nullptr); 623 if (!(single_pass_shape(*args.fShape) || isHairline) && args.fCaps->avoidStencilBuffers()) { 628 (!args.fShape->style().isSimpleFill() && !isHairline)) { 644 *args.fShape, 651 SkASSERT(!args.fShape->inverseFilled()); 658 *args.fShape, true);
|
GrMSAAPathRenderer.cpp | 695 if (!single_pass_shape(*args.fShape) && args.fCaps->avoidStencilBuffers()) { 701 if (!args.fShape->style().isSimpleFill() || GrAAType::kCoverage == args.fAAType) { 711 const GrShape* shape = args.fShape; 714 tmpShape.init(args.fShape->applyStyle(GrStyle::Apply::kPathEffectAndStrokeRec, styleScale)); 730 SkASSERT(args.fShape->style().isSimpleFill()); 731 SkASSERT(!args.fShape->mayBeInverseFilledAfterStyling()); 738 *args.fShape, true);
|
GrAAConvexPathRenderer.cpp | 673 (GrAAType::kCoverage == args.fAAType) && args.fShape->style().isSimpleFill() && 674 !args.fShape->inverseFilled() && args.fShape->knownToBeConvex()) { [all...] |
/external/skia/src/gpu/ |
GrPathRenderer.h | 83 const GrShape* fShape; 94 SkASSERT(fShape); 117 const GrShape* fShape; 128 SkASSERT(fShape); 144 canArgs.fShape = args.fShape; 156 args.fShape->asPath(&path); 157 SkASSERT(args.fShape->style().isSimpleFill()); 158 SkASSERT(kNoRestriction_StencilSupport == this->getStencilSupport(*args.fShape)); 176 const GrShape* fShape; [all...] |
GrSoftwarePathRenderer.cpp | 30 if (!args.fShape->style().applies() && SkToBool(fProxyProvider) && 199 , fShape(shape) 204 const GrShape& getShape() const { return fShape; } 210 GrShape fShape; 240 SkASSERT(!args.fShape->style().applies()); 242 inverseFilled = args.fShape->inverseFilled() && 243 !IsStrokeHairlineOrEquivalent(args.fShape->style(), *args.fViewMatrix, nullptr); 249 args.fShape->hasUnstyledKey() && GrAAType::kCoverage == args.fAAType; 253 *args.fClip, *args.fShape, 294 GrUniqueKey::Builder builder(&maskKey, kDomain, 4 + args.fShape->unstyledKeySize() [all...] |
GrPathRendererChain.cpp | 99 if (!args.fShape->style().isSimpleFill()) { 108 support = pr->getStencilSupport(*args.fShape);
|
/external/skqp/src/gpu/ |
GrPathRenderer.h | 83 const GrShape* fShape; 94 SkASSERT(fShape); 117 const GrShape* fShape; 128 SkASSERT(fShape); 144 canArgs.fShape = args.fShape; 156 args.fShape->asPath(&path); 157 SkASSERT(args.fShape->style().isSimpleFill()); 158 SkASSERT(kNoRestriction_StencilSupport == this->getStencilSupport(*args.fShape)); 176 const GrShape* fShape; [all...] |
GrSoftwarePathRenderer.cpp | 30 if (!args.fShape->style().applies() && SkToBool(fProxyProvider) && 199 , fShape(shape) 204 const GrShape& getShape() const { return fShape; } 210 GrShape fShape; 240 SkASSERT(!args.fShape->style().applies()); 242 inverseFilled = args.fShape->inverseFilled() && 243 !IsStrokeHairlineOrEquivalent(args.fShape->style(), *args.fViewMatrix, nullptr); 249 args.fShape->hasUnstyledKey() && GrAAType::kCoverage == args.fAAType; 253 *args.fClip, *args.fShape, 294 GrUniqueKey::Builder builder(&maskKey, kDomain, 4 + args.fShape->unstyledKeySize()) [all...] |
GrPathRendererChain.cpp | 99 if (!args.fShape->style().isSimpleFill()) { 108 support = pr->getStencilSupport(*args.fShape);
|
/external/skia/src/gpu/ccpr/ |
GrCoverageCountingPathRenderer.cpp | 57 if (args.fShape->hasUnstyledKey() && !fDrawCachablePaths) { 61 if (!args.fShape->style().isSimpleFill() || args.fShape->inverseFilled() || 67 args.fShape->asPath(&path); 88 if (args.fShape->hasUnstyledKey() && path.countVerbs() > 50) { 118 args.fViewMatrix->mapRect(&devBounds, args.fShape->bounds()); 124 args.fShape->asPath(&path); 131 args.fShape->asPath(&fHeadDraw.fPath);
|
/external/skqp/src/gpu/ccpr/ |
GrCoverageCountingPathRenderer.cpp | 57 if (args.fShape->hasUnstyledKey() && !fDrawCachablePaths) { 61 if (!args.fShape->style().isSimpleFill() || args.fShape->inverseFilled() || 67 args.fShape->asPath(&path); 88 if (args.fShape->hasUnstyledKey() && path.countVerbs() > 50) { 118 args.fViewMatrix->mapRect(&devBounds, args.fShape->bounds()); 124 args.fShape->asPath(&path); 131 args.fShape->asPath(&fHeadDraw.fPath);
|