Searched defs:mVertexBuffer (Results 1 - 5 of 5) sorted by relevance
/packages/apps/Gallery3D/src/com/cooliris/media/ |
H A D | LoadingLayer.java | 147 private IntBuffer mVertexBuffer; field in class:LoadingLayer 155 mVertexBuffer = vertexByteBuffer.asIntBuffer(); 156 mVertexBuffer.put(vertices); 157 mVertexBuffer.position(0); 215 gl.glVertexPointer(3, GL11.GL_FIXED, 0, mVertexBuffer);
|
H A D | GridQuadFrame.java | 28 private FloatBuffer mVertexBuffer; field in class:GridQuadFrame 95 mVertexBuffer = ByteBuffer.allocateDirect(FLOAT_SIZE * size * 3).order(ByteOrder.nativeOrder()).asFloatBuffer(); 150 mVertexBuffer.put(posIndex, x); 151 mVertexBuffer.put(posIndex + 1, y); 152 mVertexBuffer.put(posIndex + 2, z); 248 mVertexBuffer.position(0); 249 final int vertexSize = mVertexBuffer.capacity() * 4; 250 gl11.glBufferData(GL11.GL_ARRAY_BUFFER, vertexSize, mVertexBuffer, GL11.GL_STATIC_DRAW);
|
H A D | GridQuadMesh.java | 33 private FloatBuffer mVertexBuffer; field in class:GridQuadMesh 60 mVertexBuffer = ByteBuffer.allocateDirect(FLOAT_SIZE * size * 3).order(ByteOrder.nativeOrder()).asFloatBuffer(); 110 mVertexBuffer.put(posIndex, x); 111 mVertexBuffer.put(posIndex + 1, y); 112 mVertexBuffer.put(posIndex + 2, z); 121 gl.glVertexPointer(3, GL11.GL_FLOAT, 0, mVertexBuffer); 202 final int vertexSize = mVertexBuffer.capacity() * 4; 203 mVertexBuffer.position(0); 204 gl11.glBufferData(GL11.GL_ARRAY_BUFFER, vertexSize, mVertexBuffer, GL11.GL_STATIC_DRAW);
|
H A D | GridQuad.java | 34 private FloatBuffer mVertexBuffer; field in class:GridQuad 108 mVertexBuffer = ByteBuffer.allocateDirect(FLOAT_SIZE * size * 3 * orientationCount).order(ByteOrder.nativeOrder()) 162 mVertexBuffer.clear(); 223 mVertexBuffer.put(posIndex, x); 224 mVertexBuffer.put(posIndex + 1, y); 225 mVertexBuffer.put(posIndex + 2, z); 285 final int vertexSize = mVertexBuffer.capacity() * 4; 286 mVertexBuffer.position(0); 287 gl11.glBufferData(GL11.GL_ARRAY_BUFFER, vertexSize, mVertexBuffer, GL11.GL_DYNAMIC_DRAW); 361 final int vertexSize = mVertexBuffer [all...] |
/packages/apps/Camera/src/com/android/camera/ui/ |
H A D | GLRootView.java | 85 private ByteBuffer mVertexBuffer; field in class:GLRootView 183 mVertexBuffer = ByteBuffer 186 mVertexBuffer.asFloatBuffer() 277 gl.glVertexPointer(2, GL11.GL_FLOAT, 0, mVertexBuffer);
|
Completed in 54 milliseconds