Lines Matching refs:numTris
144 void SetTriangleFanIndices(GLuint *destPtr, size_t numTris) in SetTriangleFanIndices() argument
146 for (size_t i = 0; i < numTris; i++) in SetTriangleFanIndices()
214 void CopyTriangleFanIndices(const void *indices, GLuint *destPtr, size_t numTris) in CopyTriangleFanIndices() argument
218 for (size_t i = 0; i < numTris; i++) in CopyTriangleFanIndices()
298 GLuint numTris = count - 2; in GetTriFanIndices() local
299 bufferOut->resize(numTris * 3); in GetTriFanIndices()
305 SetTriangleFanIndices(&(*bufferOut)[0], numTris); in GetTriFanIndices()
308 CopyTriangleFanIndices<GLubyte>(indices, &(*bufferOut)[0], numTris); in GetTriFanIndices()
311 CopyTriangleFanIndices<GLushort>(indices, &(*bufferOut)[0], numTris); in GetTriFanIndices()
314 CopyTriangleFanIndices<GLuint>(indices, &(*bufferOut)[0], numTris); in GetTriFanIndices()
2198 const GLuint numTris = count - 2; in drawTriangleFan() local
2201 (numTris > std::numeric_limits<unsigned int>::max() / (sizeof(unsigned int) * 3)); in drawTriangleFan()