Home
last modified time | relevance | path

Searched refs:fGeometry (Results 1 – 14 of 14) sorted by relevance

/external/skia/modules/sksg/src/
DSkSGDraw.cpp19 : fGeometry(std::move(geometry)) in Draw()
21 this->observeInval(fGeometry); in Draw()
26 this->unobserveInval(fGeometry); in ~Draw()
40 fGeometry->draw(canvas, paint); in onRender()
51 if (paint.getStyle() == SkPaint::Style::kFill_Style && fGeometry->contains(p)) { in onNodeAt()
56 if (!paint.getFillPath(fGeometry->asPath(), &stroke_path)) { in onNodeAt()
66 auto bounds = fGeometry->revalidate(ic, ctm); in onRevalidate()
/external/skia/bench/
DGrCCFillGeometryBench.cpp51 fGeometry.beginContour(fPoints[0]); in onDraw()
53 fGeometry.cubicTo(fPoints); in onDraw()
54 fGeometry.lineTo(fPoints+3); in onDraw()
56 fGeometry.endContour(); in onDraw()
57 fGeometry.reset(); in onDraw()
64 GrCCFillGeometry fGeometry{4*100*kNumBaseLoops, 2*100*kNumBaseLoops}; member in GrCCGeometryBench
/external/skqp/bench/
DGrCCFillGeometryBench.cpp51 fGeometry.beginContour(fPoints[0]); in onDraw()
53 fGeometry.cubicTo(fPoints); in onDraw()
54 fGeometry.lineTo(fPoints+3); in onDraw()
56 fGeometry.endContour(); in onDraw()
57 fGeometry.reset(); in onDraw()
64 GrCCFillGeometry fGeometry{4*100*kNumBaseLoops, 2*100*kNumBaseLoops}; member in GrCCGeometryBench
/external/skqp/modules/sksg/src/
DSkSGDraw.cpp18 : fGeometry(std::move(geometry)) in Draw()
20 this->observeInval(fGeometry); in Draw()
25 this->unobserveInval(fGeometry); in ~Draw()
39 fGeometry->draw(canvas, paint); in onRender()
46 auto bounds = fGeometry->revalidate(ic, ctm); in onRevalidate()
/external/skqp/src/gpu/ccpr/
DGrCCFiller.cpp24 : fGeometry(numSkPoints, numSkVerbs, numConicWeights) in GrCCFiller()
41 int currPathPointsIdx = fGeometry.points().count(); in parseDeviceSpaceFill()
42 int currPathVerbsIdx = fGeometry.verbs().count(); in parseDeviceSpaceFill()
45 fGeometry.beginPath(); in parseDeviceSpaceFill()
56 currPathPrimitiveCounts += fGeometry.endContour(); in parseDeviceSpaceFill()
58 fGeometry.beginContour(deviceSpacePts[ptsIdx]); in parseDeviceSpaceFill()
64 currPathPrimitiveCounts += fGeometry.endContour(); in parseDeviceSpaceFill()
69 fGeometry.lineTo(&deviceSpacePts[ptsIdx - 1]); in parseDeviceSpaceFill()
73 fGeometry.quadraticTo(&deviceSpacePts[ptsIdx - 1]); in parseDeviceSpaceFill()
77 fGeometry.cubicTo(&deviceSpacePts[ptsIdx - 1]); in parseDeviceSpaceFill()
[all …]
DGrCCStroker.cpp309 fGeometry.beginPath(stroke, strokeDevWidth, currStrokeEndIndices); in parseDeviceSpaceStroke()
322 fGeometry.capContourAndExit(); in parseDeviceSpaceStroke()
324 fGeometry.moveTo(deviceSpacePts[devPtsIdx]); in parseDeviceSpaceStroke()
329 fGeometry.closeContour(); in parseDeviceSpaceStroke()
333 fGeometry.lineTo(P[1]); in parseDeviceSpaceStroke()
338 fGeometry.quadraticTo(P); in parseDeviceSpaceStroke()
343 fGeometry.cubicTo(P); in parseDeviceSpaceStroke()
358 fGeometry.capContourAndExit(); in parseDeviceSpaceStroke()
609 const SkTArray<GrCCStrokeGeometry::Parameter, true>& params = fGeometry.params(); in prepareToDraw()
610 const SkTArray<SkPoint, true>& pts = fGeometry.points(); in prepareToDraw()
[all …]
DGrCCStroker.h33 : fGeometry(numSkPoints, numSkVerbs), fPathInfos(numPaths) {} in GrCCStroker()
108 GrCCStrokeGeometry fGeometry; variable
DGrCCFiller.h102 GrCCFillGeometry fGeometry; variable
/external/skia/src/gpu/ccpr/
DGrCCFiller.cpp24 : fGeometry(numSkPoints, numSkVerbs, numConicWeights) in GrCCFiller()
41 int currPathPointsIdx = fGeometry.points().count(); in parseDeviceSpaceFill()
42 int currPathVerbsIdx = fGeometry.verbs().count(); in parseDeviceSpaceFill()
45 fGeometry.beginPath(); in parseDeviceSpaceFill()
56 currPathPrimitiveCounts += fGeometry.endContour(); in parseDeviceSpaceFill()
58 fGeometry.beginContour(deviceSpacePts[ptsIdx]); in parseDeviceSpaceFill()
64 currPathPrimitiveCounts += fGeometry.endContour(); in parseDeviceSpaceFill()
69 fGeometry.lineTo(&deviceSpacePts[ptsIdx - 1]); in parseDeviceSpaceFill()
73 fGeometry.quadraticTo(&deviceSpacePts[ptsIdx - 1]); in parseDeviceSpaceFill()
77 fGeometry.cubicTo(&deviceSpacePts[ptsIdx - 1]); in parseDeviceSpaceFill()
[all …]
DGrCCStroker.cpp309 fGeometry.beginPath(stroke, strokeDevWidth, currStrokeEndIndices); in parseDeviceSpaceStroke()
322 fGeometry.capContourAndExit(); in parseDeviceSpaceStroke()
324 fGeometry.moveTo(deviceSpacePts[devPtsIdx]); in parseDeviceSpaceStroke()
329 fGeometry.closeContour(); in parseDeviceSpaceStroke()
333 fGeometry.lineTo(P[1]); in parseDeviceSpaceStroke()
338 fGeometry.quadraticTo(P); in parseDeviceSpaceStroke()
343 fGeometry.cubicTo(P); in parseDeviceSpaceStroke()
358 fGeometry.capContourAndExit(); in parseDeviceSpaceStroke()
609 const SkTArray<GrCCStrokeGeometry::Parameter, true>& params = fGeometry.params(); in prepareToDraw()
610 const SkTArray<SkPoint, true>& pts = fGeometry.points(); in prepareToDraw()
[all …]
DGrCCStroker.h33 : fGeometry(numSkPoints, numSkVerbs), fPathInfos(numPaths) {} in GrCCStroker()
108 GrCCStrokeGeometry fGeometry; variable
DGrCCFiller.h102 GrCCFillGeometry fGeometry; variable
/external/skqp/modules/sksg/include/
DSkSGDraw.h40 sk_sp<GeometryNode> fGeometry;
/external/skia/modules/sksg/include/
DSkSGDraw.h40 sk_sp<GeometryNode> fGeometry;