Searched refs:maPositionHandle (Results 1 – 2 of 2) sorted by relevance
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | GLES20TriangleRenderer.java | 61 GLES20.glVertexAttribPointer(maPositionHandle, 3, GLES20.GL_FLOAT, false, in onDrawFrame() 65 GLES20.glEnableVertexAttribArray(maPositionHandle); in onDrawFrame() 99 maPositionHandle = GLES20.glGetAttribLocation(mProgram, "aPosition"); in onSurfaceCreated() 101 if (maPositionHandle == -1) { in onSurfaceCreated() 250 private int maPositionHandle; field in GLES20TriangleRenderer
|
/development/samples/BasicGLSurfaceView/src/com/example/android/basicglsurfaceview/ |
D | GLES20TriangleRenderer.java | 59 GLES20.glVertexAttribPointer(maPositionHandle, 3, GLES20.GL_FLOAT, false, in onDrawFrame() 63 GLES20.glEnableVertexAttribArray(maPositionHandle); in onDrawFrame() 97 maPositionHandle = GLES20.glGetAttribLocation(mProgram, "aPosition"); in onSurfaceCreated() 99 if (maPositionHandle == -1) { in onSurfaceCreated() 248 private int maPositionHandle; field in GLES20TriangleRenderer
|