Searched refs:mPositionHandle (Results 1 – 3 of 3) sorted by relevance
/development/samples/OpenGL/HelloOpenGLES20/src/com/example/android/opengl/ |
D | Triangle.java | 50 private int mPositionHandle; field in Triangle 109 mPositionHandle = GLES20.glGetAttribLocation(mProgram, "vPosition"); in draw() 112 GLES20.glEnableVertexAttribArray(mPositionHandle); in draw() 116 mPositionHandle, COORDS_PER_VERTEX, in draw() 138 GLES20.glDisableVertexAttribArray(mPositionHandle); in draw()
|
D | Square.java | 52 private int mPositionHandle; field in Square 117 mPositionHandle = GLES20.glGetAttribLocation(mProgram, "vPosition"); in draw() 120 GLES20.glEnableVertexAttribArray(mPositionHandle); in draw() 124 mPositionHandle, COORDS_PER_VERTEX, in draw() 148 GLES20.glDisableVertexAttribArray(mPositionHandle); in draw()
|
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | Gles2ColoredTriangleList.java | 202 private final int mPositionHandle; field in Gles2ColoredTriangleList.Program 238 mPositionHandle = GLES20.glGetAttribLocation(mProgramId, "aPosition"); in Program() 242 GLES20.glEnableVertexAttribArray(mPositionHandle); in Program() 267 GLES20.glEnableVertexAttribArray(mPositionHandle); in bind() 269 GLES20.glVertexAttribPointer(mPositionHandle, COORDS_PER_VERTEX, GLES20.GL_FLOAT, in bind()
|