Searched refs:gl11 (Results 1 – 1 of 1) sorted by relevance
/frameworks/native/opengl/tests/testViewport/src/com/android/test/ |
D | TestView.java | 189 GL11 gl11 = (GL11) gl; in createBufferObjects() local 190 gl11.glGenBuffers(2, vboIds, 0); in createBufferObjects() 195 gl11.glBindBuffer(GL11.GL_ARRAY_BUFFER, mVertexBufferObjectId); in createBufferObjects() 197 …gl11.glBufferData(GL11.GL_ARRAY_BUFFER, mVertexByteBuffer.capacity(), mVertexByteBuffer, GL11.GL_S… in createBufferObjects() 199 gl11.glBindBuffer(GL11.GL_ELEMENT_ARRAY_BUFFER, mElementBufferObjectId); in createBufferObjects() 201 …gl11.glBufferData(GL11.GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer.capacity() * CHAR_SIZE, mIndexBuffer,… in createBufferObjects() 210 GL11 gl11 = (GL11) gl; in draw() local 214 gl11.glBindBuffer(GL11.GL_ARRAY_BUFFER, mVertexBufferObjectId); in draw() 215 gl11.glVertexPointer(3, GL10.GL_FLOAT, VERTEX_SIZE, 0); in draw() 217 gl11.glBindBuffer(GL11.GL_ELEMENT_ARRAY_BUFFER, mElementBufferObjectId); in draw() [all …]
|