Home
last modified time | relevance | path

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

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DMatrixPaletteRenderer.java184 GL11 gl11 = (GL11) gl; in createBufferObjects() local
185 gl11.glGenBuffers(2, vboIds, 0); in createBufferObjects()
190 gl11.glBindBuffer(GL11.GL_ARRAY_BUFFER, mVertexBufferObjectId); in createBufferObjects()
192gl11.glBufferData(GL11.GL_ARRAY_BUFFER, mVertexByteBuffer.capacity(), mVertexByteBuffer, GL11.GL_S… in createBufferObjects()
194 gl11.glBindBuffer(GL11.GL_ELEMENT_ARRAY_BUFFER, mElementBufferObjectId); in createBufferObjects()
196gl11.glBufferData(GL11.GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer.capacity() * CHAR_SIZE, mIndexBuffer,… in createBufferObjects()
205 GL11 gl11 = (GL11) gl; in draw() local
210 gl11.glBindBuffer(GL11.GL_ARRAY_BUFFER, mVertexBufferObjectId); in draw()
211 gl11.glVertexPointer(3, GL10.GL_FLOAT, VERTEX_SIZE, 0); in draw()
212gl11.glTexCoordPointer(2, GL10.GL_FLOAT, VERTEX_SIZE, VERTEX_TEXTURE_BUFFER_INDEX_OFFSET * FLOAT_S… in draw()
[all …]
DCubeMapActivity.java340 GL11 gl11 = (GL11) gl; in createBufferObjects() local
341 gl11.glGenBuffers(2, vboIds, 0); in createBufferObjects()
346 gl11.glBindBuffer(GL11.GL_ARRAY_BUFFER, mVertexBufferObjectId); in createBufferObjects()
348gl11.glBufferData(GL11.GL_ARRAY_BUFFER, mVertexByteBuffer.capacity(), mVertexByteBuffer, GL11.GL_S… in createBufferObjects()
350 gl11.glBindBuffer(GL11.GL_ELEMENT_ARRAY_BUFFER, mElementBufferObjectId); in createBufferObjects()
352gl11.glBufferData(GL11.GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer.capacity() * CHAR_SIZE, mIndexBuffer,… in createBufferObjects()
363 GL11 gl11 = (GL11) gl; in draw() local
367 gl11.glBindBuffer(GL11.GL_ARRAY_BUFFER, mVertexBufferObjectId); in draw()
368 gl11.glVertexPointer(3, GL10.GL_FLOAT, VERTEX_SIZE, 0); in draw()
371gl11.glNormalPointer(GL10.GL_FLOAT, VERTEX_SIZE, VERTEX_NORMAL_BUFFER_INDEX_OFFSET * FLOAT_SIZE); in draw()
[all …]