Home
last modified time | relevance | path

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

/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/skia/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/skia/samplecode/
DSampleCCPRGeometry.cpp265 int ptsIdx = 0; in updateGpuData() local
269 ++ptsIdx; in updateGpuData()
272 ptsIdx += 2; in updateGpuData()
275 fQuadPointInstances.push_back().set(&geometry.points()[ptsIdx], 0, 0); in updateGpuData()
276 ptsIdx += 3; in updateGpuData()
296 int ptsIdx = 0, conicWeightIdx = 0; in updateGpuData() local
304 ++ptsIdx; in updateGpuData()
310 fTriPointInstances.push_back().set(&geometry.points()[ptsIdx], Sk2f(0, 0)); in updateGpuData()
313 fQuadPointInstances.push_back().setW(&geometry.points()[ptsIdx], Sk2f(0, 0), in updateGpuData()
316 ptsIdx += 2; in updateGpuData()
/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()