Searched refs:quadIndices (Results 1 - 2 of 2) sorted by relevance

/frameworks/native/opengl/tests/tritex/
H A Dtritex.cpp247 const GLushort quadIndices[] = { 0, 1, 2, 0, 2, 3 }; local
250 GLushort* indices = (GLushort*)malloc(quads*sizeof(quadIndices));
252 memcpy(indices+(sizeof(quadIndices)/sizeof(indices[0]))*i, quadIndices, sizeof(quadIndices));
270 int nelem = sizeof(quadIndices)/sizeof(quadIndices[0]);
/frameworks/native/opengl/tests/gl_jni/jni/
H A Dgl_code.cpp165 const GLushort quadIndices[] = { 0, 1, 2, 0, 2, 3 }; local
169 int nelem = sizeof(quadIndices)/sizeof(quadIndices[0]);
177 glDrawElements(GL_TRIANGLES, nelem, GL_UNSIGNED_SHORT, quadIndices);

Completed in 6 milliseconds