HomeSort by relevance Sort by last modified time
    Searched refs:VERTEX_SIZE (Results 1 - 3 of 3) sorted by null

  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
MatrixPaletteRenderer.java 69 final static int VERTEX_SIZE = 8 * FLOAT_SIZE;
104 mVertexByteBuffer = ByteBuffer.allocateDirect(VERTEX_SIZE * size)
167 mVertexBuffer.position(index * VERTEX_SIZE / FLOAT_SIZE);
176 mVertexByteBuffer.position(index * VERTEX_SIZE + VERTEX_PALETTE_INDEX_OFFSET);
211 gl11.glVertexPointer(3, GL10.GL_FLOAT, VERTEX_SIZE, 0);
212 gl11.glTexCoordPointer(2, GL10.GL_FLOAT, VERTEX_SIZE, VERTEX_TEXTURE_BUFFER_INDEX_OFFSET * FLOAT_SIZE);
217 gl11Ext.glWeightPointerOES(2, GL10.GL_FLOAT, VERTEX_SIZE, VERTEX_WEIGHT_BUFFER_INDEX_OFFSET * FLOAT_SIZE);
218 gl11Ext.glMatrixIndexPointerOES(2, GL10.GL_UNSIGNED_BYTE, VERTEX_SIZE, VERTEX_PALETTE_INDEX_OFFSET );
CubeMapActivity.java 239 final static int VERTEX_SIZE = 6 * FLOAT_SIZE;
272 mVertexByteBuffer = ByteBuffer.allocateDirect(VERTEX_SIZE * size)
327 mVertexBuffer.position(index * VERTEX_SIZE / FLOAT_SIZE);
368 gl11.glVertexPointer(3, GL10.GL_FLOAT, VERTEX_SIZE, 0);
371 gl11.glNormalPointer(GL10.GL_FLOAT, VERTEX_SIZE, VERTEX_NORMAL_BUFFER_INDEX_OFFSET * FLOAT_SIZE);
  /frameworks/base/opengl/tests/testViewport/src/com/android/test/
TestView.java 92 final static int VERTEX_SIZE = 3 * FLOAT_SIZE;
124 mVertexByteBuffer = ByteBuffer.allocateDirect(VERTEX_SIZE * size)
180 mVertexBuffer.position(index * VERTEX_SIZE / FLOAT_SIZE);
215 gl11.glVertexPointer(3, GL10.GL_FLOAT, VERTEX_SIZE, 0);

Completed in 55 milliseconds