Searched refs:baseRepetition (Results 1 – 5 of 5) sorted by relevance
/external/angle/src/tests/gl_tests/ |
D | DrawBaseVertexVariantsTest.cpp | 232 int baseRepetition = 0; in doDrawElementsBaseVertexVariants() local 242 int repetitionCount = std::min(3 - baseRepetition, kBoxCount - i); in doDrawElementsBaseVertexVariants() 252 static_cast<uintptr_t>(baseRepetition * 6 * sizeof(GLushort))), in doDrawElementsBaseVertexVariants() 253 1, (i - baseRepetition) * 4, 0); in doDrawElementsBaseVertexVariants() 259 static_cast<uintptr_t>(baseRepetition * 6 * sizeof(GLushort))), in doDrawElementsBaseVertexVariants() 260 (i - baseRepetition) * 4); in doDrawElementsBaseVertexVariants() 266 static_cast<uintptr_t>(baseRepetition * 6 * sizeof(GLushort))), in doDrawElementsBaseVertexVariants() 267 1, (i - baseRepetition) * 4); in doDrawElementsBaseVertexVariants() 271 GL_TRIANGLES, baseRepetition * 4, in doDrawElementsBaseVertexVariants() 272 (baseRepetition + repetitionCount) * 4 - 1, repetitionCount * 6, in doDrawElementsBaseVertexVariants() [all …]
|
/external/skqp/tests/ |
D | GrMeshTest.cpp | 171 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/ |
D | GrMesh.h | 238 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/tests/ |
D | GrMeshTest.cpp | 197 int baseRepetition = 0; local 203 int repetitionCount = std::min(3 - baseRepetition, kBoxCount - i); 207 pass->drawIndexed(repetitionCount * 6, baseRepetition * 6, baseRepetition * 4, 208 (baseRepetition + repetitionCount) * 4 - 1, 209 (i - baseRepetition) * 4); 211 baseRepetition = (baseRepetition + 1) % 3;
|
/external/skia/src/gpu/ |
D | GrOpsRenderPass.cpp | 325 int baseRepetition = 0; in drawIndexPattern() local 326 while (baseRepetition < patternRepeatCount) { in drawIndexPattern() 327 int repeatCount = std::min(patternRepeatCount - baseRepetition, in drawIndexPattern() 334 patternVertexCount * baseRepetition + baseVertex); in drawIndexPattern() 335 baseRepetition += repeatCount; in drawIndexPattern()
|