Home
last modified time | relevance | path

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

/development/ndk/platforms/android-17/samples/Teapot/jni/
DTeapotRenderer.cpp161 BUFFER_OFFSET( 0 ) ); in Render()
165 BUFFER_OFFSET( 3 * sizeof(GLfloat) ) ); in Render()
193 glDrawElements( GL_TRIANGLES, num_indices_, GL_UNSIGNED_SHORT, BUFFER_OFFSET(0) ); in Render()
DTeapotRenderer.h46 #define BUFFER_OFFSET(i) ((char *)NULL + (i)) macro
/development/ndk/platforms/android-18/samples/MoreTeapots/jni/
DMoreTeapotsRenderer.cpp277 glVertexAttribPointer( ATTRIB_VERTEX, 3, GL_FLOAT, GL_FALSE, iStride, BUFFER_OFFSET( 0 ) ); in Render()
281 BUFFER_OFFSET( 3 * sizeof(GLfloat) ) ); in Render()
337 glDrawElementsInstanced( GL_TRIANGLES, num_indices_, GL_UNSIGNED_SHORT, BUFFER_OFFSET(0), in Render()
363 glDrawElements( GL_TRIANGLES, num_indices_, GL_UNSIGNED_SHORT, BUFFER_OFFSET(0) ); in Render()
DMoreTeapotsRenderer.h46 #define BUFFER_OFFSET(i) ((char *)NULL + (i)) macro