Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/tests/
DSRGB_test.cpp171 GLint positionHandle = glGetAttribLocation(program, "vPosition"); in initShaders() local
173 ASSERT_NE(-1, positionHandle); in initShaders()
186 glVertexAttribPointer(positionHandle, 2, GL_FLOAT, GL_FALSE, 0, vertices); in initShaders()
188 glEnableVertexAttribArray(positionHandle); in initShaders()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java557 int positionHandle = params[INDEX_POSITION].handle; in draw() local
558 GLES20.glEnableVertexAttribArray(positionHandle); in draw()
562 GLES20.glDisableVertexAttribArray(positionHandle); in draw()
725 int positionHandle = mMeshParameters[INDEX_POSITION].handle; in drawMesh() local
726 GLES20.glVertexAttribPointer(positionHandle, COORDS_PER_VERTEX, GLES20.GL_FLOAT, false, in drawMesh()
739 GLES20.glEnableVertexAttribArray(positionHandle); in drawMesh()
748 GLES20.glDisableVertexAttribArray(positionHandle); in drawMesh()