Searched refs:optVertCount (Results 1 – 1 of 1) sorted by relevance
121 const int optVertCount = maxVertices - (maxVertices % GetPrimitiveRestartEach(mode)); in DrawArrays() local128 if (length > 1.5f * optVertCount) { in DrawArrays()129 int spliti = length / optVertCount; in DrawArrays()131 glDrawArrays(mode, oldIndex, optVertCount); in DrawArrays()132 oldIndex += optVertCount - stripOffset; in DrawArrays()163 const int optVertCount = maxVertices - (maxVertices % GetPrimitiveRestartEach(mode)); in DrawArraysCallback() local171 if (length > 1.25f * optVertCount) { in DrawArraysCallback()172 int spliti = length / optVertCount; in DrawArraysCallback()174 glDrawArrays(mode, oldIndex, optVertCount); in DrawArraysCallback()175 oldIndex += optVertCount - stripOffset; in DrawArraysCallback()