Home
last modified time | relevance | path

Searched refs:instanceIdx (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/gpu/ccpr/
DGrCCStroker.cpp511 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
[all …]
DGrCCDrawPathsOp.cpp384 inline void GrCCDrawPathsOp::recordInstance(GrTextureProxy* atlasProxy, int instanceIdx) { in recordInstance() argument
386 fInstanceRanges.push_back({atlasProxy, instanceIdx}); in recordInstance()
390 fInstanceRanges.back().fEndInstanceIdx = instanceIdx; in recordInstance()
391 fInstanceRanges.push_back({atlasProxy, instanceIdx}); in recordInstance()
DGrCCDrawPathsOp.h84 void recordInstance(GrTextureProxy* atlasProxy, int instanceIdx);
/external/skqp/src/gpu/ccpr/
DGrCCStroker.cpp511 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
[all …]
DGrCCDrawPathsOp.cpp381 inline void GrCCDrawPathsOp::recordInstance(GrTextureProxy* atlasProxy, int instanceIdx) { in recordInstance() argument
383 fInstanceRanges.push_back({atlasProxy, instanceIdx}); in recordInstance()
387 fInstanceRanges.back().fEndInstanceIdx = instanceIdx; in recordInstance()
388 fInstanceRanges.push_back({atlasProxy, instanceIdx}); in recordInstance()
DGrCCDrawPathsOp.h81 void recordInstance(GrTextureProxy* atlasProxy, int instanceIdx);