Home
last modified time | relevance | path

Searched refs:mPositionHandle (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/libs/gui/tests/
DTextureRenderer.cpp59 mPositionHandle = glGetAttribLocation(mPgm, "vPosition"); in SetUp()
61 ASSERT_NE(-1, mPositionHandle); in SetUp()
79 glVertexAttribPointer(mPositionHandle, 2, GL_FLOAT, GL_FALSE, 0, in drawTexture()
82 glEnableVertexAttribArray(mPositionHandle); in drawTexture()
DTextureRenderer.h39 GLint mPositionHandle; variable
/frameworks/base/docs/html/training/graphics/opengl/
Ddraw.jd177 private int mPositionHandle;
188 mPositionHandle = GLES20.glGetAttribLocation(mProgram, "vPosition");
191 GLES20.glEnableVertexAttribArray(mPositionHandle);
194 GLES20.glVertexAttribPointer(mPositionHandle, COORDS_PER_VERTEX,
208 GLES20.glDisableVertexAttribArray(mPositionHandle);
Dprojection.jd169 GLES20.glDisableVertexAttribArray(mPositionHandle);