Lines Matching refs:indexData
121 std::vector<GLubyte> indexData(6 * 3 * sizeof(GLuint), 0); in runTest() local
122 memcpy(indexData.data() + indexDataWidth, indexDataIn, indexDataWidth); in runTest()
139 glBufferSubData(GL_ELEMENT_ARRAY_BUFFER, 0, indexDataWidth, indexData.data()); in runTest()
141 indexData.data() + indexDataWidth); in runTest()
143 indexData.data() + 2 * indexDataWidth); in runTest()
147 glBufferSubData(GL_ELEMENT_ARRAY_BUFFER, 0, 3 * indexDataWidth, indexData.data()); in runTest()
167 indexData.data()); in runTest()
169 indexData.data() + indexDataWidth); in runTest()
174 indexData.data()); in runTest()
204 GLubyte indexData[] = {0, 1, 2, 1, 2, 3}; in TEST_P() local
205 runTest(GL_UNSIGNED_BYTE, 1, indexData, false, false); in TEST_P()
211 GLushort indexData[] = {0, 1, 2, 1, 2, 3}; in TEST_P() local
212 runTest(GL_UNSIGNED_SHORT, 2, indexData, false, false); in TEST_P()
221 GLuint indexData[] = {0, 1, 2, 1, 2, 3}; in TEST_P() local
222 runTest(GL_UNSIGNED_INT, 4, indexData, false, false); in TEST_P()
228 GLubyte indexData[] = {0, 1, 2, 1, 2, 3}; in TEST_P() local
229 runTest(GL_UNSIGNED_BYTE, 1, indexData, true, false); in TEST_P()
235 GLushort indexData[] = {0, 1, 2, 1, 2, 3}; in TEST_P() local
236 runTest(GL_UNSIGNED_SHORT, 2, indexData, true, false); in TEST_P()
245 GLuint indexData[] = {0, 1, 2, 1, 2, 3}; in TEST_P() local
246 runTest(GL_UNSIGNED_INT, 4, indexData, true, false); in TEST_P()
258 GLubyte indexData[] = {0, 1, 2, 1, 2, 3}; in TEST_P() local
259 runTest(GL_UNSIGNED_BYTE, 1, indexData, false, true); in TEST_P()
268 GLushort indexData[] = {0, 1, 2, 1, 2, 3}; in TEST_P() local
269 runTest(GL_UNSIGNED_SHORT, 2, indexData, false, true); in TEST_P()
281 GLuint indexData[] = {0, 1, 2, 1, 2, 3}; in TEST_P() local
282 runTest(GL_UNSIGNED_INT, 4, indexData, false, true); in TEST_P()
295 GLubyte indexData[] = {0, 1, 2, 1, 2, 3}; in TEST_P() local
296 runTest(GL_UNSIGNED_BYTE, 1, indexData, true, true); in TEST_P()
306 GLushort indexData[] = {0, 1, 2, 1, 2, 3}; in TEST_P() local
307 runTest(GL_UNSIGNED_SHORT, 2, indexData, true, true); in TEST_P()
320 GLuint indexData[] = {0, 1, 2, 1, 2, 3}; in TEST_P() local
321 runTest(GL_UNSIGNED_INT, 4, indexData, true, true); in TEST_P()
328 GLushort indexData[] = {0, 1, 2, 1, 2, 3}; in TEST_P() local
334 glBufferData(GL_ELEMENT_ARRAY_BUFFER, indexDataWidth, indexData, GL_DYNAMIC_DRAW); in TEST_P()
403 GLubyte indexData[] = {99, 0, 1, 2, 1, 2, 3}; in TEST_P() local
409 glBufferData(GL_ELEMENT_ARRAY_BUFFER, indexDataWidth, indexData, GL_DYNAMIC_DRAW); in TEST_P()