Home
last modified time | relevance | path

Searched refs:colorArray (Results 1 – 1 of 1) sorted by relevance

/development/ndk/platforms/android-4/samples/san-angeles/jni/
Ddemo.c82 GLubyte *colorArray; member
110 free(object->colorArray); in freeGLObject()
127 result->colorArray = (GLubyte *)malloc(vertices * 4 * sizeof(GLubyte)); in newGLObject()
136 result->colorArray == NULL || in newGLObject()
152 glColorPointer(4, GL_UNSIGNED_BYTE, 0, object->colorArray); in drawGLObject()
304 result->colorArray[i] = (GLubyte)color[0]; in createSuperShape()
305 result->colorArray[i + 1] = (GLubyte)color[1]; in createSuperShape()
306 result->colorArray[i + 2] = (GLubyte)color[2]; in createSuperShape()
307 result->colorArray[i + 3] = 0; in createSuperShape()
372 result->colorArray[i] = color; in createGroundPlane()
[all …]