Searched refs:positionHandle (Results 1 - 2 of 2) sorted by relevance
/frameworks/native/libs/gui/tests/ |
H A D | SRGB_test.cpp | 171 GLint positionHandle = glGetAttribLocation(program, "vPosition"); local 173 ASSERT_NE(-1, positionHandle); 186 glVertexAttribPointer(positionHandle, 2, GL_FLOAT, GL_FALSE, 0, vertices); 188 glEnableVertexAttribArray(positionHandle);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | GLES20Canvas.java | 557 int positionHandle = params[INDEX_POSITION].handle; 558 GLES20.glEnableVertexAttribArray(positionHandle); 562 GLES20.glDisableVertexAttribArray(positionHandle); 725 int positionHandle = mMeshParameters[INDEX_POSITION].handle; 726 GLES20.glVertexAttribPointer(positionHandle, COORDS_PER_VERTEX, GLES20.GL_FLOAT, false, 739 GLES20.glEnableVertexAttribArray(positionHandle); 748 GLES20.glDisableVertexAttribArray(positionHandle);
|
Completed in 34 milliseconds