Home
last modified time | relevance | path

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

/development/ndk/platforms/android-17/samples/Teapot/jni/
DTeapotRenderer.h80 int32_t num_indices_; variable
DTeapotRenderer.cpp57 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/
DMoreTeapotsRenderer.h79 int32_t num_indices_; variable
DMoreTeapotsRenderer.cpp73 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()