Searched refs:instanceIdx (Results 1 – 6 of 6) sorted by relevance
511 int instanceIdx = fCurrNextInstances->fStrokes[0]++; in appendLinearStrokeInstance() local512 SkASSERT(instanceIdx < fCurrEndInstances->fStrokes[0]); in appendLinearStrokeInstance()514 return reinterpret_cast<LinearStrokeInstance*>(fInstanceBufferData)[instanceIdx]; in appendLinearStrokeInstance()521 int instanceIdx = fCurrNextInstances->fStrokes[numLinearSegmentsLog2]++; in appendCubicStrokeInstance() local522 SkASSERT(instanceIdx < fCurrEndInstances->fStrokes[numLinearSegmentsLog2]); in appendCubicStrokeInstance()524 return reinterpret_cast<CubicStrokeInstance*>(fInstanceBufferData)[instanceIdx]; in appendCubicStrokeInstance()528 int instanceIdx = fCurrNextInstances->fTriangles++; in appendTriangleInstance() local529 SkASSERT(instanceIdx < fCurrEndInstances->fTriangles); in appendTriangleInstance()531 return reinterpret_cast<TriangleInstance*>(fInstanceBufferData)[instanceIdx]; in appendTriangleInstance()535 int instanceIdx = fCurrNextInstances->fConics++; in appendConicInstance() local[all …]
384 inline void GrCCDrawPathsOp::recordInstance(GrTextureProxy* atlasProxy, int instanceIdx) { in recordInstance() argument386 fInstanceRanges.push_back({atlasProxy, instanceIdx}); in recordInstance()390 fInstanceRanges.back().fEndInstanceIdx = instanceIdx; in recordInstance()391 fInstanceRanges.push_back({atlasProxy, instanceIdx}); in recordInstance()
84 void recordInstance(GrTextureProxy* atlasProxy, int instanceIdx);
381 inline void GrCCDrawPathsOp::recordInstance(GrTextureProxy* atlasProxy, int instanceIdx) { in recordInstance() argument383 fInstanceRanges.push_back({atlasProxy, instanceIdx}); in recordInstance()387 fInstanceRanges.back().fEndInstanceIdx = instanceIdx; in recordInstance()388 fInstanceRanges.push_back({atlasProxy, instanceIdx}); in recordInstance()
81 void recordInstance(GrTextureProxy* atlasProxy, int instanceIdx);