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

/frameworks/base/opengl/tests/tritex/
H A Dtritex.cpp246 const GLushort quadIndices[] = { 0, 1, 2, 0, 2, 3 }; local
249 GLushort* indices = (GLushort*)malloc(quads*sizeof(quadIndices));
251 memcpy(indices+(sizeof(quadIndices)/sizeof(indices[0]))*i, quadIndices, sizeof(quadIndices));
269 int nelem = sizeof(quadIndices)/sizeof(quadIndices[0]);
/frameworks/base/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 33 milliseconds