Home
last modified time | relevance | path

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

/frameworks/native/opengl/tests/gl2_java/src/com/android/gl2java/
DGL2JavaView.java70 … GLES20.glVertexAttribPointer(mvPositionHandle, 2, GLES20.GL_FLOAT, false, 0, mTriangleVertices); in onDrawFrame()
72 GLES20.glEnableVertexAttribArray(mvPositionHandle); in onDrawFrame()
88 mvPositionHandle = GLES20.glGetAttribLocation(mProgram, "vPosition"); in onSurfaceCreated()
90 if (mvPositionHandle == -1) { in onSurfaceCreated()
166 private int mvPositionHandle; field in GL2JavaView.Renderer
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/
DTestLatencyView.java114 GLES20.glEnableVertexAttribArray(mvPositionHandle); in onDrawFrame()
134 … GLES20.glVertexAttribPointer(mvPositionHandle, 2, GLES20.GL_FLOAT, false, 6*4, mTriangleVertices); in onDrawFrame()
157 mvPositionHandle = GLES20.glGetAttribLocation(mProgram, "aPosition"); in onSurfaceCreated()
159 if (mvPositionHandle == -1) { in onSurfaceCreated()
262 private int mvPositionHandle; field in TestLatencyView.Renderer