Searched refs:COORDS_PER_VERTEX (Results 1 – 3 of 3) sorted by relevance
/packages/screensavers/Basic/src/com/android/dreams/basic/ |
D | ColorsGLRenderer.java | 329 final int COORDS_PER_VERTEX = 3; field in ColorsGLRenderer.Square 344 private final int vertexCount = squareCoords.length / COORDS_PER_VERTEX; 345 private final int vertexStride = COORDS_PER_VERTEX * 4; // bytes per vertex 397 glVertexAttribPointer(mPositionHandle, COORDS_PER_VERTEX, in Square()
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | GLES20Canvas.java | 41 private static final int COORDS_PER_VERTEX = 2; field in GLES20Canvas 42 private static final int VERTEX_STRIDE = COORDS_PER_VERTEX * FLOAT_SIZE; 547 GLES20.glVertexAttribPointer(params[INDEX_POSITION].handle, COORDS_PER_VERTEX, in setPosition() 726 GLES20.glVertexAttribPointer(positionHandle, COORDS_PER_VERTEX, GLES20.GL_FLOAT, false, in drawMesh() 733 GLES20.glVertexAttribPointer(texCoordHandle, COORDS_PER_VERTEX, GLES20.GL_FLOAT, in drawMesh()
|
/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/ |
D | GLES20Canvas.java | 38 private static final int COORDS_PER_VERTEX = 2; field in GLES20Canvas 39 private static final int VERTEX_STRIDE = COORDS_PER_VERTEX * FLOAT_SIZE; 308 GLES20.glVertexAttribPointer(params[INDEX_POSITION].handle, COORDS_PER_VERTEX, in setPosition()
|