Searched refs:mPositionHandle (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/services/camera/virtualcamera/util/ |
D | EglProgram.cc | 218 mPositionHandle = glGetAttribLocation(mProgram, "aPosition"); in EglTestPatternProgram() 222 glEnableVertexAttribArray(mPositionHandle); in EglTestPatternProgram() 224 glVertexAttribPointer(mPositionHandle, kCoordsPerVertex, GL_FLOAT, false, in EglTestPatternProgram() 233 if (mPositionHandle != -1) { in ~EglTestPatternProgram() 234 glDisableVertexAttribArray(mPositionHandle); in ~EglTestPatternProgram() 280 mPositionHandle = glGetAttribLocation(mProgram, "aPosition"); in EglTextureProgram() 287 glEnableVertexAttribArray(mPositionHandle); in EglTextureProgram() 288 glVertexAttribPointer(mPositionHandle, kCoordsPerVertex, GL_FLOAT, false, in EglTextureProgram() 298 if (mPositionHandle != -1) { in ~EglTextureProgram() 299 glDisableVertexAttribArray(mPositionHandle); in ~EglTextureProgram()
|
D | EglProgram.h | 54 int mPositionHandle = -1; 83 int mPositionHandle = -1;
|
/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/base/tests/GamePerformance/src/android/gameperformance/ |
D | RenderPatchOpenGLTest.java | 58 private int mPositionHandle; field in RenderPatchOpenGLTest 90 mPositionHandle = GLES20.glGetAttribLocation(mProgram, "vPosition"); in ensureInited() 131 GLES20.glEnableVertexAttribArray(mPositionHandle); in draw() 156 mPositionHandle, in draw() 185 GLES20.glDisableVertexAttribArray(mPositionHandle); in draw()
|
/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()
|