Searched refs:quadIndices (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/opengl/tests/tritex/ |
D | tritex.cpp | 247 const GLushort quadIndices[] = { 0, 1, 2, 0, 2, 3 }; in render() local 250 GLushort* indices = (GLushort*)malloc(quads*sizeof(quadIndices)); in render() 252 … memcpy(indices+(sizeof(quadIndices)/sizeof(indices[0]))*i, quadIndices, sizeof(quadIndices)); in render() 270 int nelem = sizeof(quadIndices)/sizeof(quadIndices[0]); in render()
|
/frameworks/native/opengl/tests/gl_jni/jni/ |
D | gl_code.cpp | 165 const GLushort quadIndices[] = { 0, 1, 2, 0, 2, 3 }; in Java_com_android_gljni_GLJNILib_step() local 169 int nelem = sizeof(quadIndices)/sizeof(quadIndices[0]); in Java_com_android_gljni_GLJNILib_step() 177 glDrawElements(GL_TRIANGLES, nelem, GL_UNSIGNED_SHORT, quadIndices); in Java_com_android_gljni_GLJNILib_step()
|