Home
last modified time | relevance | path

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

/external/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()
/external/skqp/src/gpu/ccpr/
DGrCCFiller.cpp48 int ptsIdx = 0; in parseDeviceSpaceFill() local
58 fGeometry.beginContour(deviceSpacePts[ptsIdx]); in parseDeviceSpaceFill()
59 ++ptsIdx; in parseDeviceSpaceFill()
69 fGeometry.lineTo(&deviceSpacePts[ptsIdx - 1]); in parseDeviceSpaceFill()
70 ++ptsIdx; in parseDeviceSpaceFill()
73 fGeometry.quadraticTo(&deviceSpacePts[ptsIdx - 1]); in parseDeviceSpaceFill()
74 ptsIdx += 2; in parseDeviceSpaceFill()
77 fGeometry.cubicTo(&deviceSpacePts[ptsIdx - 1]); in parseDeviceSpaceFill()
78 ptsIdx += 3; in parseDeviceSpaceFill()
81 fGeometry.conicTo(&deviceSpacePts[ptsIdx - 1], conicWeights[conicWeightsIdx]); in parseDeviceSpaceFill()
[all …]
DGrCCStroker.cpp605 int ptsIdx = 0; in prepareToDraw() local
623 builder.appendLinearStroke(&pts[ptsIdx]); in prepareToDraw()
624 ++ptsIdx; in prepareToDraw()
627 builder.appendQuadraticStroke(&pts[ptsIdx], in prepareToDraw()
629 ptsIdx += 2; in prepareToDraw()
633 builder.appendCubicStroke(&pts[ptsIdx], params[paramsIdx++].fNumLinearSegmentsLog2); in prepareToDraw()
634 ptsIdx += 3; in prepareToDraw()
647 builder.appendJoin(verb, pts[ptsIdx], normals[normalsIdx], normals[normalsIdx + 1], in prepareToDraw()
654 builder.appendCap(verb, pts[ptsIdx], normals[normalsIdx]); in prepareToDraw()
658 ++ptsIdx; in prepareToDraw()
[all …]
DGrCCFiller.h73 void tessellateFan(const GrCCFillGeometry&, int verbsIdx, int ptsIdx,
/external/skqp/samplecode/
DSampleCCPRGeometry.cpp262 int ptsIdx = 0; in updateGpuData() local
266 ++ptsIdx; in updateGpuData()
269 ptsIdx += 2; in updateGpuData()
272 fQuadPointInstances.push_back().set(&geometry.points()[ptsIdx], 0, 0); in updateGpuData()
273 ptsIdx += 3; in updateGpuData()
293 int ptsIdx = 0, conicWeightIdx = 0; in updateGpuData() local
301 ++ptsIdx; in updateGpuData()
307 fTriPointInstances.push_back().set(&geometry.points()[ptsIdx], Sk2f(0, 0)); in updateGpuData()
310 fQuadPointInstances.push_back().setW(&geometry.points()[ptsIdx], Sk2f(0, 0), in updateGpuData()
313 ptsIdx += 2; in updateGpuData()