Searched refs:iVertexBuffer (Results 1 – 1 of 1) sorted by relevance
/aosp14/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | MeshActivity.java | 73 FloatBuffer iVertexBuffer = FloatBuffer.allocate(numTriangles * 2 + 4); in onDraw() local 78 iVertexBuffer.put(0, 500.0f); in onDraw() 79 iVertexBuffer.put(1, 500.0f); in onDraw() 82 iVertexBuffer.put(2, 500.0f + radius); in onDraw() 83 iVertexBuffer.put(3, 500.0f); in onDraw() 90 iVertexBuffer.put((i + 1) * 2, 500 + (float) x); in onDraw() 91 iVertexBuffer.put((i + 1) * 2 + 1, 500 + (float) y); in onDraw() 98 iVertexBuffer.rewind(); in onDraw() 100 Mesh mesh2 = new Mesh(meshSpec, Mesh.TRIANGLES, iVertexBuffer, 102, indexBuffer, in onDraw()
|