Home
last modified time | relevance | path

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

/external/swiftshader/src/OpenGL/libGLESv2/
DIndexDataManager.cpp66 inline GLsizei getNumIndices(const std::vector<GLsizei>& restartIndices, size_t i, GLsizei count) in getNumIndices() argument
68 return restartIndices.empty() ? count : in getNumIndices()
69 …((i == 0) ? restartIndices[0] : ((i == restartIndices.size()) ? (count - restartIndices[i - 1] - 1… in getNumIndices()
72 void copyIndices(GLenum mode, GLenum type, const std::vector<GLsizei>& restartIndices, const void *… in copyIndices() argument
92 size_t numRestarts = restartIndices.size(); in copyIndices()
102 GLsizei numIndices = getNumIndices(restartIndices, i, count); in copyIndices()
116 GLsizei numIndices = getNumIndices(restartIndices, i, count); in copyIndices()
131 GLsizei numIndices = getNumIndices(restartIndices, i, count); in copyIndices()
157 GLsizei numIndices = getNumIndices(restartIndices, i, count); in copyIndices()
178 GLsizei numIndices = getNumIndices(restartIndices, i, count); in copyIndices()
[all …]