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