Home
last modified time | relevance | path

Searched refs:COORDS_PER_VERTEX (Results 1 – 5 of 5) sorted by relevance

/development/samples/OpenGL/HelloOpenGLES10/src/com/example/android/opengl/
DTriangle.java32 static final int COORDS_PER_VERTEX = 3; field in Triangle
75 COORDS_PER_VERTEX, in draw()
79 triangleCoords.length / COORDS_PER_VERTEX); in draw()
DSquare.java34 static final int COORDS_PER_VERTEX = 3; field in Square
82 COORDS_PER_VERTEX, in draw()
/development/samples/OpenGL/HelloOpenGLES20/src/com/example/android/opengl/
DTriangle.java55 static final int COORDS_PER_VERTEX = 3; field in Triangle
62 private final int vertexCount = triangleCoords.length / COORDS_PER_VERTEX;
63 private final int vertexStride = COORDS_PER_VERTEX * 4; // 4 bytes per vertex
116 mPositionHandle, COORDS_PER_VERTEX, in draw()
DSquare.java57 static final int COORDS_PER_VERTEX = 3; field in Square
66 private final int vertexStride = COORDS_PER_VERTEX * 4; // 4 bytes per vertex
124 mPositionHandle, COORDS_PER_VERTEX, in draw()
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DGles2ColoredTriangleList.java38 private static final int COORDS_PER_VERTEX = 3; field in Gles2ColoredTriangleList
44 private static final int VERTEX_STRIDE = COORDS_PER_VERTEX * BYTES_PER_FLOAT;
83 if (triangleCoords.length % (VERTICE_PER_TRIANGLE * COORDS_PER_VERTEX) != 0) { in Gles2ColoredTriangleList()
107 mNumCoords = triangleCoords.length / COORDS_PER_VERTEX; in Gles2ColoredTriangleList()
269 GLES20.glVertexAttribPointer(mPositionHandle, COORDS_PER_VERTEX, GLES20.GL_FLOAT, in bind()