Searched refs:mvPositionHandle (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/opengl/tests/gl2_java/src/com/android/gl2java/ |
D | GL2JavaView.java | 70 … 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/ |
D | TestLatencyView.java | 114 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
|