Home
last modified time | relevance | path

Searched refs:iStride (Results 1 – 2 of 2) sorted by relevance

/development/ndk/platforms/android-17/samples/Teapot/jni/
DTeapotRenderer.cpp66 int32_t iStride = sizeof(TEAPOT_VERTEX); in Init() local
82 glBufferData( GL_ARRAY_BUFFER, iStride * num_vertices_, p, GL_STATIC_DRAW ); in Init()
158 int32_t iStride = sizeof(TEAPOT_VERTEX); in Render() local
160 glVertexAttribPointer( ATTRIB_VERTEX, 3, GL_FLOAT, GL_FALSE, iStride, in Render()
164 glVertexAttribPointer( ATTRIB_NORMAL, 3, GL_FLOAT, GL_FALSE, iStride, in Render()
/development/ndk/platforms/android-18/samples/MoreTeapots/jni/
DMoreTeapotsRenderer.cpp81 int32_t iStride = sizeof(TEAPOT_VERTEX); in Init() local
97 glBufferData( GL_ARRAY_BUFFER, iStride * num_vertices_, p, GL_STATIC_DRAW ); in Init()
275 int32_t iStride = sizeof(TEAPOT_VERTEX); in Render() local
277 glVertexAttribPointer( ATTRIB_VERTEX, 3, GL_FLOAT, GL_FALSE, iStride, BUFFER_OFFSET( 0 ) ); in Render()
280 glVertexAttribPointer( ATTRIB_NORMAL, 3, GL_FLOAT, GL_FALSE, iStride, in Render()