Lines Matching refs:instanceIdx
511 int instanceIdx = fCurrNextInstances->fStrokes[0]++; in appendLinearStrokeInstance() local
512 SkASSERT(instanceIdx < fCurrEndInstances->fStrokes[0]); in appendLinearStrokeInstance()
514 return reinterpret_cast<LinearStrokeInstance*>(fInstanceBufferData)[instanceIdx]; in appendLinearStrokeInstance()
521 int instanceIdx = fCurrNextInstances->fStrokes[numLinearSegmentsLog2]++; in appendCubicStrokeInstance() local
522 SkASSERT(instanceIdx < fCurrEndInstances->fStrokes[numLinearSegmentsLog2]); in appendCubicStrokeInstance()
524 return reinterpret_cast<CubicStrokeInstance*>(fInstanceBufferData)[instanceIdx]; in appendCubicStrokeInstance()
528 int instanceIdx = fCurrNextInstances->fTriangles++; in appendTriangleInstance() local
529 SkASSERT(instanceIdx < fCurrEndInstances->fTriangles); in appendTriangleInstance()
531 return reinterpret_cast<TriangleInstance*>(fInstanceBufferData)[instanceIdx]; in appendTriangleInstance()
535 int instanceIdx = fCurrNextInstances->fConics++; in appendConicInstance() local
536 SkASSERT(instanceIdx < fCurrEndInstances->fConics); in appendConicInstance()
538 return reinterpret_cast<ConicInstance*>(fInstanceBufferData)[instanceIdx]; in appendConicInstance()