Searched refs:GL_ELEMENT_ARRAY_BUFFER (Results 1 - 7 of 7) sorted by relevance

/development/ndk/platforms/android-17/samples/Teapot/jni/
H A DTeapotRenderer.cpp59 glBindBuffer( GL_ELEMENT_ARRAY_BUFFER, ibo_ );
60 glBufferData( GL_ELEMENT_ARRAY_BUFFER, sizeof(teapotIndices), teapotIndices,
62 glBindBuffer( GL_ELEMENT_ARRAY_BUFFER, 0 );
169 glBindBuffer( GL_ELEMENT_ARRAY_BUFFER, ibo_ );
196 glBindBuffer( GL_ELEMENT_ARRAY_BUFFER, 0 );
/development/ndk/platforms/android-18/samples/MoreTeapots/jni/
H A DMoreTeapotsRenderer.cpp75 glBindBuffer( GL_ELEMENT_ARRAY_BUFFER, ibo_ );
76 glBufferData( GL_ELEMENT_ARRAY_BUFFER, sizeof(teapotIndices), teapotIndices, GL_STATIC_DRAW );
77 glBindBuffer( GL_ELEMENT_ARRAY_BUFFER, 0 );
285 glBindBuffer( GL_ELEMENT_ARRAY_BUFFER, ibo_ );
369 glBindBuffer( GL_ELEMENT_ARRAY_BUFFER, 0 );
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
H A DCubeMapActivity.java350 gl11.glBindBuffer(GL11.GL_ELEMENT_ARRAY_BUFFER, mElementBufferObjectId);
352 gl11.glBufferData(GL11.GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer.capacity() * CHAR_SIZE, mIndexBuffer, GL11.GL_STATIC_DRAW);
373 gl11.glBindBuffer(GL11.GL_ELEMENT_ARRAY_BUFFER, mElementBufferObjectId);
378 gl11.glBindBuffer(GL11.GL_ELEMENT_ARRAY_BUFFER, 0);
H A DMatrixPaletteRenderer.java194 gl11.glBindBuffer(GL11.GL_ELEMENT_ARRAY_BUFFER, mElementBufferObjectId);
196 gl11.glBufferData(GL11.GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer.capacity() * CHAR_SIZE, mIndexBuffer, GL11.GL_STATIC_DRAW);
220 gl11.glBindBuffer(GL11.GL_ELEMENT_ARRAY_BUFFER, mElementBufferObjectId);
226 gl11.glBindBuffer(GL11.GL_ELEMENT_ARRAY_BUFFER, 0);
/development/ndk/platforms/android-4/include/GLES/
H A Dgl.h506 #define GL_ELEMENT_ARRAY_BUFFER 0x8893 macro
/development/ndk/platforms/android-5/include/GLES2/
H A Dgl2.h116 #define GL_ELEMENT_ARRAY_BUFFER 0x8893 macro
/development/ndk/platforms/android-18/include/GLES3/
H A Dgl3.h140 #define GL_ELEMENT_ARRAY_BUFFER 0x8893 macro

Completed in 77 milliseconds