Home
last modified time | relevance | path

Searched refs:ptsIdx (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/bench/
DTriangulatorBench.cpp40 int ptsIdx = 0; in onDelayedSetup() local
44 path.moveTo(pts[ptsIdx]); in onDelayedSetup()
45 ++ptsIdx; in onDelayedSetup()
48 path.lineTo(pts[ptsIdx]); in onDelayedSetup()
49 ++ptsIdx; in onDelayedSetup()
52 path.quadTo(pts[ptsIdx], pts[ptsIdx + 1]); in onDelayedSetup()
53 ptsIdx += 2; in onDelayedSetup()
56 path.cubicTo(pts[ptsIdx], pts[ptsIdx + 1], pts[ptsIdx + 2]); in onDelayedSetup()
57 ptsIdx += 3; in onDelayedSetup()
64 SkASSERT(ptsIdx == (int)pts.size()); in onDelayedSetup()
/third_party/flutter/skia/src/gpu/ccpr/
DGrCCFiller.cpp50 int ptsIdx = 0; in parseDeviceSpaceFill() local
60 fGeometry.beginContour(deviceSpacePts[ptsIdx]); in parseDeviceSpaceFill()
61 ++ptsIdx; in parseDeviceSpaceFill()
71 fGeometry.lineTo(&deviceSpacePts[ptsIdx - 1]); in parseDeviceSpaceFill()
72 ++ptsIdx; in parseDeviceSpaceFill()
75 fGeometry.quadraticTo(&deviceSpacePts[ptsIdx - 1]); in parseDeviceSpaceFill()
76 ptsIdx += 2; in parseDeviceSpaceFill()
79 fGeometry.cubicTo(&deviceSpacePts[ptsIdx - 1]); in parseDeviceSpaceFill()
80 ptsIdx += 3; in parseDeviceSpaceFill()
83 fGeometry.conicTo(&deviceSpacePts[ptsIdx - 1], conicWeights[conicWeightsIdx]); in parseDeviceSpaceFill()
[all …]
DGrCCStroker.cpp616 int ptsIdx = 0; in prepareToDraw() local
634 builder.appendLinearStroke(&pts[ptsIdx]); in prepareToDraw()
635 ++ptsIdx; in prepareToDraw()
638 builder.appendQuadraticStroke(&pts[ptsIdx], in prepareToDraw()
640 ptsIdx += 2; in prepareToDraw()
644 builder.appendCubicStroke(&pts[ptsIdx], params[paramsIdx++].fNumLinearSegmentsLog2); in prepareToDraw()
645 ptsIdx += 3; in prepareToDraw()
658 builder.appendJoin(verb, pts[ptsIdx], normals[normalsIdx], normals[normalsIdx + 1], in prepareToDraw()
665 builder.appendCap(verb, pts[ptsIdx], normals[normalsIdx]); in prepareToDraw()
669 ++ptsIdx; in prepareToDraw()
[all …]
DGrCCFiller.h81 int ptsIdx, const SkIRect& clippedDevIBounds, PrimitiveTallies* newTriangleCounts);
/third_party/flutter/skia/samplecode/
DSampleCCPRGeometry.cpp259 int ptsIdx = 0; in updateGpuData() local
263 ++ptsIdx; in updateGpuData()
266 ptsIdx += 2; in updateGpuData()
269 fQuadPointInstances.push_back().set(&geometry.points()[ptsIdx], 0, 0); in updateGpuData()
270 ptsIdx += 3; in updateGpuData()
290 int ptsIdx = 0, conicWeightIdx = 0; in updateGpuData() local
298 ++ptsIdx; in updateGpuData()
305 &geometry.points()[ptsIdx], Sk2f(0, 0), in updateGpuData()
309 fQuadPointInstances.push_back().setW(&geometry.points()[ptsIdx], Sk2f(0, 0), in updateGpuData()
312 ptsIdx += 2; in updateGpuData()