Searched refs:mPositionHandle (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/libs/gui/tests/ |
D | TextureRenderer.cpp | 32 mPositionHandle(-1), mTexSamplerHandle(-1), mTexMatrixHandle(-1) { in TextureRenderer() 60 mPositionHandle = glGetAttribLocation(mPgm, "vPosition"); in SetUp() 62 ASSERT_NE(-1, mPositionHandle); in SetUp() 80 glVertexAttribPointer(mPositionHandle, 2, GL_FLOAT, GL_FALSE, 0, in drawTexture() 83 glEnableVertexAttribArray(mPositionHandle); in drawTexture()
|
D | TextureRenderer.h | 39 GLint mPositionHandle; variable
|
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/ |
D | Swarm.java | 66 private int mPositionHandle; field in Swarm 163 mPositionHandle = GLES20.glGetAttribLocation(mProgram, "a_Position"); in draw() 164 GLES20.glEnableVertexAttribArray(mPositionHandle); in draw() 166 …GLES20.glVertexAttribPointer(mPositionHandle, 3, GLES20.GL_FLOAT, false, vertexStride, vertexBuffe… in draw() 182 GLES20.glDisableVertexAttribArray(mPositionHandle); in draw()
|