Lines Matching refs:drawCount
1351 GLsizei drawCount = min(elementsCount, (GLsizei) gMaxNumberOfQuads * 6);
1354 glDrawElements(GL_TRIANGLES, drawCount, GL_UNSIGNED_SHORT, NULL);
1356 elementsCount -= drawCount;
1359 mesh += (drawCount / 6) * 4;
3122 GLsizei drawCount = min(elementsCount, (GLsizei) gMaxNumberOfQuads * 6);
3126 glDrawElements(GL_TRIANGLES, drawCount, GL_UNSIGNED_SHORT, NULL));
3128 elementsCount -= drawCount;
3131 mesh += (drawCount / 6) * 4;