Home
last modified time | relevance | path

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

/development/ndk/platforms/android-17/samples/Teapot/jni/
DTeapotRenderer.cpp65 num_vertices_ = sizeof(teapotPositions) / sizeof(teapotPositions[0]) / 3; in Init()
68 TEAPOT_VERTEX* p = new TEAPOT_VERTEX[num_vertices_]; in Init()
69 for( int32_t i = 0; i < num_vertices_; ++i ) in Init()
82 glBufferData( GL_ARRAY_BUFFER, iStride * num_vertices_, p, GL_STATIC_DRAW ); in Init()
DTeapotRenderer.h81 int32_t num_vertices_; variable
/development/ndk/platforms/android-18/samples/MoreTeapots/jni/
DMoreTeapotsRenderer.cpp80 num_vertices_ = sizeof(teapotPositions) / sizeof(teapotPositions[0]) / 3; in Init()
83 TEAPOT_VERTEX* p = new TEAPOT_VERTEX[num_vertices_]; in Init()
84 for( int32_t i = 0; i < num_vertices_; ++i ) in Init()
97 glBufferData( GL_ARRAY_BUFFER, iStride * num_vertices_, p, GL_STATIC_DRAW ); in Init()
DMoreTeapotsRenderer.h80 int32_t num_vertices_; variable