Searched refs:BUFFER_OFFSET (Results 1 – 4 of 4) sorted by relevance
/development/ndk/platforms/android-17/samples/Teapot/jni/ |
D | TeapotRenderer.cpp | 161 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()
|
D | TeapotRenderer.h | 46 #define BUFFER_OFFSET(i) ((char *)NULL + (i)) macro
|
/development/ndk/platforms/android-18/samples/MoreTeapots/jni/ |
D | MoreTeapotsRenderer.cpp | 277 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()
|
D | MoreTeapotsRenderer.h | 46 #define BUFFER_OFFSET(i) ((char *)NULL + (i)) macro
|