Home
last modified time | relevance | path

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

/external/skqp/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.cpp160 SkPath devPath; in getMetrics() local
161 generatingImageFromPath = this->internalGetPath(glyph->getPackedID(), &devPath); in getMetrics()
182 const SkIRect ir = devPath.getBounds().roundOut(); in getMetrics()
491 SkPath devPath; in getImage() local
495 if (!this->internalGetPath(glyph->getPackedID(), &devPath)) { in getImage()
501 SkPathPriv::SetIsBadForDAA(devPath, fRec.fFrameWidth > 0 && fRec.fFrameWidth <= 2); in getImage()
502 generateMask(mask, devPath, fPreBlend); in getImage()
559 bool SkScalerContext::internalGetPath(SkPackedGlyphID glyphID, SkPath* devPath) { in internalGetPath() argument
616 if (devPath) { in internalGetPath()
617 localPath.transform(matrix, devPath); in internalGetPath()
[all …]
DSkDraw.h100 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()
1242 static void draw_into_mask(const SkMask& mask, const SkPath& devPath, in draw_into_mask() argument
1270 draw.drawPath(devPath, paint); in draw_into_mask()
1273 bool SkDraw::DrawToMask(const SkPath& devPath, const SkIRect* clipBounds, in DrawToMask() argument
1277 if (devPath.isEmpty()) { in DrawToMask()
1282 if (!ComputeMaskBounds(devPath.getBounds(), clipBounds, filter, in DrawToMask()
1299 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.h425 bool internalGetPath(SkPackedGlyphID id, SkPath* devPath);
/external/skia/src/core/
DSkRasterClip.cpp287 SkPath devPath; in op() local
289 devPath = path; in op()
291 path.transform(matrix, &devPath); in op()
292 devPath.setIsVolatile(true); in op()
302 return this->setPath(devPath, this->bwRgn(), doAA); in op()
306 clip.setPath(devPath, base, doAA); in op()
313 return this->setPath(devPath, base, doAA); in op()
316 clip.setPath(devPath, base, doAA); in op()
DSkScalerContext.cpp191 SkPath devPath; in internalMakeGlyph() local
192 generatingImageFromPath = this->internalGetPath(glyph.getPackedID(), &devPath); in internalMakeGlyph()
205 const SkIRect ir = devPath.getBounds().roundOut(); in internalMakeGlyph()
578 SkPath devPath; in getImage() local
581 if (!this->internalGetPath(unfilteredGlyph->getPackedID(), &devPath)) { in getImage()
593 generateMask(mask, devPath, fPreBlend, doBGR, doVert, a8LCD, paintStyle); in getImage()
704 bool SkScalerContext::internalGetPath(SkPackedGlyphID glyphID, SkPath* devPath) { in internalGetPath() argument
761 if (devPath) { in internalGetPath()
762 localPath.transform(matrix, devPath); in internalGetPath()
765 if (devPath) { in internalGetPath()
[all …]
DSkMaskFilter.cpp232 bool SkMaskFilterBase::filterPath(const SkPath& devPath, const SkMatrix& matrix, in filterPath() argument
238 rectCount = countNestedRects(devPath, rects); in filterPath()
263 if (devPath.countVerbs() > 1000 || devPath.countPoints() > 1000) { in filterPath()
267 if (!SkDraw::DrawToMask(devPath, &clip.getBounds(), this, &matrix, &srcM, in filterPath()
DSkDraw.h100 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()
835 ->filterPath(devPath, fMatrixProvider->localToDevice(), *fRC, blitter, style)) { in drawDevPath()
881 proc(devPath, *fRC, blitter); in drawDevPath()
1256 static void draw_into_mask(const SkMask& mask, const SkPath& devPath, in draw_into_mask() argument
1285 draw.drawPath(devPath, paint); in draw_into_mask()
1288 bool SkDraw::DrawToMask(const SkPath& devPath, const SkIRect* clipBounds, in DrawToMask() argument
1292 if (devPath.isEmpty()) { in DrawToMask()
1297 if (!ComputeMaskBounds(devPath.getBounds(), clipBounds, filter, in DrawToMask()
1314 draw_into_mask(*mask, devPath, style); in DrawToMask()
DSkMaskFilterBase.h221 bool filterPath(const SkPath& devPath, const SkMatrix& ctm, const SkRasterClip&, SkBlitter*,
DSkScalerContext.h417 bool internalGetPath(SkPackedGlyphID id, SkPath* devPath);
/external/skia/samplecode/
DSampleTessellatedWedge.cpp100 SkPath devPath = fPath; in onDrawContent() local
101 devPath.transform(canvas->getTotalMatrix()); in onDrawContent()
105 canvas->drawPoints(SkCanvas::kPoints_PointMode, devPath.countPoints(), in onDrawContent()
106 SkPathPriv::PointData(devPath), pointsPaint); in onDrawContent()
/external/skia/src/gpu/ccpr/
DGrCCPerFlushResources.cpp26 GrOnFlushResourceProvider* onFlushRP, const SkIRect& clipIBounds, const SkPath& devPath, in renderDeviceSpacePathInAtlas() argument
28 SkASSERT(!devPath.isEmpty()); in renderDeviceSpacePathInAtlas()
43 this->enqueueRenderedPath(devPath, fillRule, clippedPathIBounds, atlasMatrix, in renderDeviceSpacePathInAtlas()
DGrCCPerFlushResources.h32 GrOnFlushResourceProvider*, const SkIRect& clipIBounds, const SkPath& devPath,
/external/skqp/src/gpu/
DGrBlurUtils.cpp112 SkPath devPath; in sw_draw_with_mask_filter() local
114 shape.asPath(&devPath); in sw_draw_with_mask_filter()
116 devPath.transform(viewMatrix); in sw_draw_with_mask_filter()
119 if (!SkDraw::DrawToMask(devPath, &clipBounds, filter, &viewMatrix, &srcM, in sw_draw_with_mask_filter()
/external/skia/src/gpu/
DGrBlurUtils.cpp126 SkPath devPath; in sw_create_filtered_mask() local
128 shape.asPath(&devPath); in sw_create_filtered_mask()
130 devPath.transform(viewMatrix); in sw_create_filtered_mask()
133 if (!SkDraw::DrawToMask(devPath, &clipBounds, filter, &viewMatrix, &srcM, in sw_create_filtered_mask()
/external/skqp/src/gpu/ccpr/
DGrCCPerFlushResources.cpp384 const SkIRect& clipIBounds, const SkPath& devPath, const SkIRect& devPathIBounds, in renderDeviceSpacePathInAtlas() argument
388 if (devPath.isEmpty()) { in renderDeviceSpacePathInAtlas()
399 fFiller.parseDeviceSpaceFill(devPath, SkPathPriv::PointData(devPath), scissorTest, in renderDeviceSpacePathInAtlas()
DGrCCPerFlushResources.h85 const GrCCAtlas* renderDeviceSpacePathInAtlas(const SkIRect& clipIBounds, const SkPath& devPath,
/external/skqp/src/utils/
DSkShadowUtils.cpp191 sk_sp<SkVertices> add(const SkPath& devPath, const AmbientVerticesFactory& ambient, in add() argument
193 return fAmbientSet.add(devPath, ambient, matrix, translate); in add()
201 sk_sp<SkVertices> add(const SkPath& devPath, const SpotVerticesFactory& spot, in add() argument
203 return fSpotSet.add(devPath, spot, matrix, translate); in add()
/external/skia/src/utils/
DSkShadowUtils.cpp225 sk_sp<SkVertices> add(const SkPath& devPath, const AmbientVerticesFactory& ambient, in add() argument
227 return fAmbientSet.add(devPath, ambient, matrix, translate); in add()
235 sk_sp<SkVertices> add(const SkPath& devPath, const SpotVerticesFactory& spot, in add() argument
237 return fSpotSet.add(devPath, spot, matrix, translate); in add()