Home
last modified time | relevance | path

Searched refs:baseRepetition (Results 1 – 4 of 4) sorted by relevance

/external/skia/tests/
DGrMeshTest.cpp169 int baseRepetition = 0; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
175 int repetitionCount = SkTMin(3 - baseRepetition, kBoxCount - i); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
178 mesh.setIndexed(ibuff, repetitionCount * 6, baseRepetition * 6, baseRepetition * 4, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
179 (baseRepetition + repetitionCount) * 4 - 1, GrPrimitiveRestart::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
180 mesh.setVertexData(vbuff, (i - baseRepetition) * 4); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
183 baseRepetition = (baseRepetition + 1) % 3; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/tests/
DGrMeshTest.cpp171 int baseRepetition = 0; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
177 int repetitionCount = SkTMin(3 - baseRepetition, kBoxCount - i); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
180 mesh.setIndexed(ibuff, repetitionCount * 6, baseRepetition * 6, baseRepetition * 4, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
181 (baseRepetition + repetitionCount) * 4 - 1, GrPrimitiveRestart::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
182 mesh.setVertexData(vbuff, (i - baseRepetition) * 4); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
185 baseRepetition = (baseRepetition + 1) % 3; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/src/gpu/
DGrMesh.h238 int baseRepetition = 0; in sendToGpu() local
241 fIndexData.fPatternRepeatCount - baseRepetition); in sendToGpu()
249 fBaseVertex + fPatternData.fVertexCount * baseRepetition, GrPrimitiveRestart::kNo); in sendToGpu()
250 baseRepetition += repeatCount; in sendToGpu()
251 } while (baseRepetition < fIndexData.fPatternRepeatCount); in sendToGpu()
/external/skia/src/gpu/
DGrMesh.h255 int baseRepetition = 0; in sendToGpu() local
258 fIndexData.fPatternRepeatCount - baseRepetition); in sendToGpu()
266 fBaseVertex + fPatternData.fVertexCount * baseRepetition, GrPrimitiveRestart::kNo); in sendToGpu()
267 baseRepetition += repeatCount; in sendToGpu()
268 } while (baseRepetition < fIndexData.fPatternRepeatCount); in sendToGpu()