HomeSort by relevance Sort by last modified time
    Searched refs:fShape (Results 1 - 17 of 17) sorted by null

  /external/skia/src/gpu/
GrPathRenderer.h 75 * fShape The shape to draw
81 const GrShape* fShape;
91 SkASSERT(fShape);
117 * fShape The shape to draw
128 const GrShape* fShape;
138 SkASSERT(fShape);
153 canArgs.fShape = args.fShape;
164 args.fShape->asPath(&path);
165 SkASSERT(args.fShape->style().isSimpleFill())
    [all...]
GrSoftwarePathRenderer.cpp 21 return !args.fShape->style().applies() && SkToBool(fResourceProvider) &&
136 SkASSERT(!args.fShape->style().applies());
138 inverseFilled = args.fShape->inverseFilled() &&
139 !IsStrokeHairlineOrEquivalent(args.fShape->style(), *args.fViewMatrix, nullptr);
145 args.fShape->hasUnstyledKey() && GrAAType::kCoverage == args.fAAType;
149 *args.fClip, *args.fShape,
195 GrUniqueKey::Builder builder(&maskKey, kDomain, 5 + args.fShape->unstyledKeySize());
201 args.fShape->writeUnstyledKey(&builder[5]);
213 proxy = GrSWMaskHelper::DrawShapeMaskToTexture(args.fContext, *args.fShape,
GrPathRendererChain.cpp 94 if (!args.fShape->style().isSimpleFill()) {
102 GrPathRenderer::StencilSupport support = fChain[i]->getStencilSupport(*args.fShape);
GrClipStackClip.cpp 119 canDrawArgs.fShape = &shape;
GrReducedClip.cpp     [all...]
GrRenderTargetContext.cpp     [all...]
  /external/skia/src/gpu/ops/
GrDashLinePathRenderer.cpp 18 if (args.fShape->style().isDashed() && args.fShape->asLine(pts, &inverted)) {
24 return GrDashOp::CanDrawDashLine(pts, args.fShape->style(), *args.fViewMatrix);
47 SkAssertResult(args.fShape->asLine(pts, nullptr));
50 args.fShape->style(), args.fUserStencilSettings);
GrStencilAndCoverPathRenderer.cpp 37 if (args.fShape->style().strokeRec().isHairlineStyle() ||
38 args.fShape->style().hasNonDashPathEffect()) {
77 sk_sp<GrPath> p(get_gr_path(fResourceProvider, *args.fShape));
85 SkASSERT(!args.fShape->style().strokeRec().isHairlineStyle());
90 sk_sp<GrPath> path(get_gr_path(fResourceProvider, *args.fShape));
92 if (args.fShape->inverseFilled()) {
GrTessellatingPathRenderer.cpp 143 if (!args.fShape->style().isSimpleFill() || args.fShape->knownToBeConvex()) {
148 args.fShape->asPath(&path);
152 } else if (!args.fShape->hasUnstyledKey()) {
197 , fShape(shape)
222 SkASSERT(!fShape.style().applies());
224 fShape.asPath(&path);
231 bool inverseFill = fShape.inverseFilled();
236 int shapeKeyDataCnt = fShape.unstyledKeySize();
239 fShape.writeUnstyledKey(&builder[0])
    [all...]
GrAALinearizingConvexPathRenderer.cpp 41 if (!args.fShape->knownToBeConvex()) {
44 if (args.fShape->style().pathEffect()) {
47 if (args.fShape->inverseFilled()) {
50 if (args.fShape->bounds().width() <= 0 && args.fShape->bounds().height() <= 0) {
54 const SkStrokeRec& stroke = args.fShape->style().strokeRec();
66 args.fShape->knownToBeClosed() &&
327 SkASSERT(!args.fShape->isEmpty());
328 SkASSERT(!args.fShape->style().pathEffect());
331 args.fShape->asPath(&path)
    [all...]
GrSmallPathRenderer.cpp 90 if (!args.fShape->hasUnstyledKey()) {
95 if (!args.fShape->style().isSimpleFill()) {
103 if (args.fShape->inverseFilled()) {
118 SkRect bounds = args.fShape->styledBounds();
285 const SkRect& bounds = args.fShape.bounds();
319 ShapeData::Key key(args.fShape, SkScalarCeilToInt(desiredDimension));
335 args.fShape,
344 ShapeData::Key key(args.fShape, this->viewMatrix());
359 args.fShape,
723 GrShape fShape;
    [all...]
GrDefaultPathRenderer.cpp 610 bool isHairline = IsStrokeHairlineOrEquivalent(args.fShape->style(), *args.fViewMatrix, nullptr);
612 if (!(single_pass_shape(*args.fShape) || isHairline) && args.fCaps->avoidStencilBuffers()) {
617 (args.fShape->style().isSimpleFill() || isHairline);
629 *args.fShape,
636 SkASSERT(!args.fShape->inverseFilled());
643 *args.fShape, true);
GrMSAAPathRenderer.cpp 684 if (!single_pass_shape(*args.fShape) && args.fCaps->avoidStencilBuffers()) {
690 return args.fShape->style().isSimpleFill() && (GrAAType::kCoverage != args.fAAType);
697 const GrShape* shape = args.fShape;
700 tmpShape.init(args.fShape->applyStyle(GrStyle::Apply::kPathEffectAndStrokeRec, styleScale));
716 SkASSERT(args.fShape->style().isSimpleFill());
717 SkASSERT(!args.fShape->mayBeInverseFilledAfterStyling());
724 *args.fShape, true);
GrAAConvexPathRenderer.cpp 670 (GrAAType::kCoverage == args.fAAType) && args.fShape->style().isSimpleFill() &&
671 !args.fShape->inverseFilled() && args.fShape->knownToBeConvex());
    [all...]
GrAAHairLinePathRenderer.cpp 685 if (!IsStrokeHairlineOrEquivalent(args.fShape->style(), *args.fViewMatrix, nullptr)) {
690 if (args.fShape->style().pathEffect()) {
694 if (SkPath::kLine_SegmentMask == args.fShape->segmentMask() ||
    [all...]
  /external/skia/src/gpu/ccpr/
GrCoverageCountingPathRenderer.cpp 43 if (!args.fShape->style().isSimpleFill() ||
44 args.fShape->inverseFilled() ||
51 args.fShape->asPath(&path);
57 SkASSERT(!args.fShape->isEmpty());
79 args.fViewMatrix->mapRect(&devBounds, args.fShape->bounds());
85 args.fShape->asPath(&fHeadDraw.fPath);
  /external/skia/src/pdf/
SkPDFDevice.cpp 484 SkPath* shape = &fShape;
526 fShape = shape;
534 SkPath fShape;
    [all...]

Completed in 1114 milliseconds