Lines Matching refs:fPatchVertexCount
245 SkASSERT(fPatchVertexCount == 0); in prepare()
259 SkASSERT(fPatchVertexCount + 4 <= vertexLockCount); in prepare()
260 GrPathUtils::convertQuadToCubic(pts, vertexData + fPatchVertexCount); in prepare()
263 SkASSERT(fPatchVertexCount + 4 <= vertexLockCount); in prepare()
264 memcpy(vertexData + fPatchVertexCount, pts, sizeof(SkPoint) * 4); in prepare()
267 SkASSERT(fPatchVertexCount + 4 <= vertexLockCount); in prepare()
268 GrPathShader::WriteConicPatch(pts, *w, vertexData + fPatchVertexCount); in prepare()
271 fPatchVertexCount += 4; in prepare()
274 vertexAlloc.unlock(fPatchVertexCount); in prepare()
283 SkASSERT(fPatchVertexCount == 0); in prepare()
308 GrPathUtils::convertLineToCubic(pts[0], pts[1], vertexData + fPatchVertexCount); in prepare()
312 GrPathUtils::convertQuadToCubic(pts, vertexData + fPatchVertexCount); in prepare()
316 memcpy(vertexData + fPatchVertexCount, pts, sizeof(SkPoint) * 4); in prepare()
320 GrPathShader::WriteConicPatch(pts, *w, vertexData + fPatchVertexCount); in prepare()
324 vertexData[fPatchVertexCount + 4] = midpoint; in prepare()
325 fPatchVertexCount += 5; in prepare()
328 GrPathUtils::convertLineToCubic(lastPoint, startPoint, vertexData + fPatchVertexCount); in prepare()
329 vertexData[fPatchVertexCount + 4] = midpoint; in prepare()
330 fPatchVertexCount += 5; in prepare()
334 vertexAlloc.unlock(fPatchVertexCount); in prepare()
338 if (fPatchVertexCount) { in draw()
340 flushState->draw(fPatchVertexCount, fBasePatchVertex); in draw()