Home
last modified time | relevance | path

Searched refs:maPositionHandle (Results 1 – 2 of 2) sorted by relevance

/development/samples/BasicGLSurfaceView/src/com/example/android/basicglsurfaceview/
DGLES20TriangleRenderer.java59 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
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DGLES20TriangleRenderer.java61 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