Home
last modified time | relevance | path

Searched refs:devPath (Results 1 – 21 of 21) sorted by relevance

/third_party/flutter/skia/src/core/
DSkRasterClip.cpp265 SkPath devPath; in op() local
267 devPath = path; in op()
269 path.transform(matrix, &devPath); in op()
270 devPath.setIsVolatile(true); in op()
280 return this->setPath(devPath, this->bwRgn(), doAA); in op()
284 clip.setPath(devPath, base, doAA); in op()
291 return this->setPath(devPath, base, doAA); in op()
294 clip.setPath(devPath, base, doAA); in op()
DSkScalerContext.cpp195 SkPath devPath; in getMetrics() local
196 generatingImageFromPath = this->internalGetPath(glyph->getPackedID(), &devPath); in getMetrics()
217 const SkIRect ir = devPath.getBounds().roundOut(); in getMetrics()
566 SkPath devPath; in getImage() local
569 if (!this->internalGetPath(glyph->getPackedID(), &devPath)) { in getImage()
576 generateMask(mask, devPath, fPreBlend, doBGR, doVert); in getImage()
628 bool SkScalerContext::internalGetPath(SkPackedGlyphID glyphID, SkPath* devPath) { in internalGetPath() argument
685 if (devPath) { in internalGetPath()
686 localPath.transform(matrix, devPath); in internalGetPath()
689 if (devPath) { in internalGetPath()
[all …]
DSkDraw.h102 static bool DrawToMask(const SkPath& devPath, const SkIRect* clipBounds,
141 void drawDevPath(const SkPath& devPath,
DSkDraw.cpp818 void SkDraw::drawDevPath(const SkPath& devPath, const SkPaint& paint, bool drawCoverage, in drawDevPath() argument
820 if (SkPathPriv::TooBigForMath(devPath)) { in drawDevPath()
834 if (as_MFB(paint.getMaskFilter())->filterPath(devPath, *fMatrix, *fRC, blitter, style)) { in drawDevPath()
880 proc(devPath, *fRC, blitter); in drawDevPath()
1247 static void draw_into_mask(const SkMask& mask, const SkPath& devPath, in draw_into_mask() argument
1275 draw.drawPath(devPath, paint); in draw_into_mask()
1278 bool SkDraw::DrawToMask(const SkPath& devPath, const SkIRect* clipBounds, in DrawToMask() argument
1282 if (devPath.isEmpty()) { in DrawToMask()
1287 if (!ComputeMaskBounds(devPath.getBounds(), clipBounds, filter, in DrawToMask()
1304 draw_into_mask(*mask, devPath, style); in DrawToMask()
DSkMaskFilterBase.h214 bool filterPath(const SkPath& devPath, const SkMatrix& ctm, const SkRasterClip&, SkBlitter*,
DSkMaskFilter.cpp234 bool SkMaskFilterBase::filterPath(const SkPath& devPath, const SkMatrix& matrix, in filterPath() argument
240 rectCount = countNestedRects(devPath, rects); in filterPath()
264 if (!SkDraw::DrawToMask(devPath, &clip.getBounds(), this, &matrix, &srcM, in filterPath()
DSkScalerContext.h406 bool internalGetPath(SkPackedGlyphID id, SkPath* devPath);
/third_party/skia/src/core/
DSkRasterClip.cpp180 SkPath devPath; in op() local
181 path.transform(matrix, &devPath); in op()
193 fBW.setPath(devPath, SkRegion(this->getBounds())); in op()
195 fAA.setPath(devPath, this->getBounds(), doAA); in op()
199 return this->op(SkRasterClip(devPath, this->getBounds(), doAA), op); in op()
DSkScalerContext.cpp191 SkPath devPath; in internalMakeGlyph() local
193 generatingImageFromPath = this->internalGetPath(glyph.getPackedID(), &devPath, &hairline); in internalMakeGlyph()
206 const SkIRect ir = devPath.getBounds().roundOut(); in internalMakeGlyph()
577 SkPath devPath; in getImage() local
581 if (!this->internalGetPath(unfilteredGlyph->getPackedID(), &devPath, &hairline)) { in getImage()
589 generateMask(mask, devPath, fPreBlend, doBGR, doVert, a8LCD, hairline); in getImage()
702 bool SkScalerContext::internalGetPath(SkPackedGlyphID glyphID, SkPath* devPath, bool* hairline) { in internalGetPath() argument
768 if (devPath) { in internalGetPath()
769 localPath.transform(matrix, devPath); in internalGetPath()
772 if (devPath) { in internalGetPath()
[all …]
DSkMaskFilter.cpp233 bool SkMaskFilterBase::filterPath(const SkPath& devPath, const SkMatrix& matrix, in filterPath() argument
239 rectCount = countNestedRects(devPath, rects); in filterPath()
264 if (devPath.countVerbs() > 1000 || devPath.countPoints() > 1000) { in filterPath()
268 if (!SkDraw::DrawToMask(devPath, &clip.getBounds(), this, &matrix, &srcM, in filterPath()
DSkDraw.h100 static bool DrawToMask(const SkPath& devPath, const SkIRect* clipBounds,
144 void drawDevPath(const SkPath& devPath,
DSkDraw.cpp808 void SkDraw::drawDevPath(const SkPath& devPath, const SkPaint& paint, bool drawCoverage, in drawDevPath() argument
810 if (SkPathPriv::TooBigForMath(devPath)) { in drawDevPath()
825 ->filterPath(devPath, fMatrixProvider->localToDevice(), *fRC, blitter, style)) { in drawDevPath()
871 proc(devPath, *fRC, blitter); in drawDevPath()
1245 static void draw_into_mask(const SkMask& mask, const SkPath& devPath, in draw_into_mask() argument
1274 draw.drawPath(devPath, paint); in draw_into_mask()
1277 bool SkDraw::DrawToMask(const SkPath& devPath, const SkIRect* clipBounds, in DrawToMask() argument
1281 if (devPath.isEmpty()) { in DrawToMask()
1286 if (!ComputeMaskBounds(devPath.getBounds(), clipBounds, filter, in DrawToMask()
1303 draw_into_mask(*mask, devPath, style); in DrawToMask()
DSkMaskFilterBase.h229 bool filterPath(const SkPath& devPath, const SkMatrix& ctm, const SkRasterClip&, SkBlitter*,
DSkScalerContext.h425 bool internalGetPath(SkPackedGlyphID id, SkPath* devPath, bool* hairline);
/third_party/skia/samplecode/
DSamplePathTessellators.cpp252 SkPath devPath = fPath; in onDrawContent() local
253 devPath.transform(canvas->getTotalMatrix()); in onDrawContent()
263 canvas->drawPoints(SkCanvas::kPoints_PointMode, devPath.countPoints(), in onDrawContent()
264 SkPathPriv::PointData(devPath), pointsPaint); in onDrawContent()
/third_party/flutter/skia/src/gpu/
DGrBlurUtils.cpp113 SkPath devPath; in sw_draw_with_mask_filter() local
115 shape.asPath(&devPath); in sw_draw_with_mask_filter()
117 devPath.transform(viewMatrix); in sw_draw_with_mask_filter()
120 if (!SkDraw::DrawToMask(devPath, &clipBounds, filter, &viewMatrix, &srcM, in sw_draw_with_mask_filter()
/third_party/skia/src/gpu/
DGrBlurUtils.cpp129 SkPath devPath; in sw_create_filtered_mask() local
131 shape.asPath(&devPath); in sw_create_filtered_mask()
133 devPath.transform(viewMatrix); in sw_create_filtered_mask()
136 if (!SkDraw::DrawToMask(devPath, &clipBounds, filter, &viewMatrix, &srcM, in sw_create_filtered_mask()
/third_party/flutter/skia/src/utils/
DSkShadowUtils.cpp192 sk_sp<SkVertices> add(const SkPath& devPath, const AmbientVerticesFactory& ambient, in add() argument
194 return fAmbientSet.add(devPath, ambient, matrix, translate); in add()
202 sk_sp<SkVertices> add(const SkPath& devPath, const SpotVerticesFactory& spot, in add() argument
204 return fSpotSet.add(devPath, spot, matrix, translate); in add()
/third_party/flutter/skia/src/gpu/ccpr/
DGrCCPerFlushResources.cpp437 const SkIRect& clipIBounds, const SkPath& devPath, const SkIRect& devPathIBounds, in renderDeviceSpacePathInAtlas() argument
441 if (devPath.isEmpty()) { in renderDeviceSpacePathInAtlas()
460 fFiller.parseDeviceSpaceFill(devPath, SkPathPriv::PointData(devPath), enableScissorInAtlas, in renderDeviceSpacePathInAtlas()
DGrCCPerFlushResources.h93 const SkIRect& clipIBounds, const SkPath& devPath, const SkIRect& devPathIBounds,
/third_party/skia/src/utils/
DSkShadowUtils.cpp235 sk_sp<SkVertices> add(const SkPath& devPath, const AmbientVerticesFactory& ambient, in add() argument
237 return fAmbientSet.add(devPath, ambient, matrix, translate); in add()
245 sk_sp<SkVertices> add(const SkPath& devPath, const SpotVerticesFactory& spot, in add() argument
247 return fSpotSet.add(devPath, spot, matrix, translate); in add()