Searched refs:num_indices_ (Results 1 – 4 of 4) sorted by relevance
/development/ndk/platforms/android-17/samples/Teapot/jni/ |
D | TeapotRenderer.h | 80 int32_t num_indices_; variable
|
D | TeapotRenderer.cpp | 57 num_indices_ = sizeof(teapotIndices) / sizeof(teapotIndices[0]); in Init() 193 glDrawElements( GL_TRIANGLES, num_indices_, GL_UNSIGNED_SHORT, BUFFER_OFFSET(0) ); in Render()
|
/development/ndk/platforms/android-18/samples/MoreTeapots/jni/ |
D | MoreTeapotsRenderer.h | 79 int32_t num_indices_; variable
|
D | MoreTeapotsRenderer.cpp | 73 num_indices_ = sizeof(teapotIndices) / sizeof(teapotIndices[0]); in Init() 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()
|