H A D | IndexBufferOffsetTest.cpp | 128 std::vector<GLubyte> indexData(6 * 3 * sizeof(GLuint), 0); in runTest() 129 memcpy(indexData.data() + indexDataWidth, indexDataIn, indexDataWidth); in runTest() 146 glBufferSubData(GL_ELEMENT_ARRAY_BUFFER, 0, indexDataWidth, indexData.data()); in runTest() 148 indexData.data() + indexDataWidth); in runTest() 150 indexData.data() + 2 * indexDataWidth); in runTest() 154 glBufferSubData(GL_ELEMENT_ARRAY_BUFFER, 0, 4, indexData.data()); in runTest() 156 indexData.data() + 4); in runTest() 160 glBufferSubData(GL_ELEMENT_ARRAY_BUFFER, 0, 3 * indexDataWidth - 4, indexData.data()); in runTest() 162 indexData.data() + 3 * indexDataWidth - 4); in runTest() 167 glBufferSubData(GL_ELEMENT_ARRAY_BUFFER, 0, 3 * indexDataWidth, indexData in runTest() 237 GLubyte indexData[] = {0, 1, 2, 1, 2, 3}; TEST_P() local 244 GLushort indexData[] = {0, 1, 2, 1, 2, 3}; TEST_P() local 254 GLuint indexData[] = {0, 1, 2, 1, 2, 3}; TEST_P() local 261 GLubyte indexData[] = {0, 1, 2, 1, 2, 3}; TEST_P() local 268 GLushort indexData[] = {0, 1, 2, 1, 2, 3}; TEST_P() local 278 GLuint indexData[] = {0, 1, 2, 1, 2, 3}; TEST_P() local 291 GLubyte indexData[] = {0, 1, 2, 1, 2, 3}; TEST_P() local 301 GLushort indexData[] = {0, 1, 2, 1, 2, 3}; TEST_P() local 314 GLuint indexData[] = {0, 1, 2, 1, 2, 3}; TEST_P() local 328 GLubyte indexData[] = {0, 1, 2, 1, 2, 3}; TEST_P() local 339 GLushort indexData[] = {0, 1, 2, 1, 2, 3}; TEST_P() local 353 GLuint indexData[] = {0, 1, 2, 1, 2, 3}; TEST_P() local 365 GLushort indexData[] = {0, 1, 2, 1, 2, 3}; TEST_P() local 440 GLubyte indexData[] = {99, 0, 1, 2, 1, 2, 3}; TEST_P() local [all...] |