Home
last modified time | relevance | path

Searched refs:gvPositionHandle (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/opengl/tests/gl2_jni/jni/
Dgl_code.cpp107 GLuint gvPositionHandle; variable
121 gvPositionHandle = glGetAttribLocation(gProgram, "vPosition"); in setupGraphics()
124 gvPositionHandle); in setupGraphics()
148 glVertexAttribPointer(gvPositionHandle, 2, GL_FLOAT, GL_FALSE, 0, gTriangleVertices); in renderFrame()
150 glEnableVertexAttribArray(gvPositionHandle); in renderFrame()
/frameworks/native/opengl/tests/gldual/jni/
Dgl_code.cpp107 GLuint gvPositionHandle; variable
121 gvPositionHandle = glGetAttribLocation(gProgram, "vPosition"); in setupGraphics()
124 gvPositionHandle); in setupGraphics()
148 glVertexAttribPointer(gvPositionHandle, 2, GL_FLOAT, GL_FALSE, 0, gTriangleVertices); in renderFrame()
150 glEnableVertexAttribArray(gvPositionHandle); in renderFrame()
/frameworks/native/opengl/tests/gl2_yuvtex/
Dgl2_yuvtex.cpp157 GLint gvPositionHandle; variable
165 gvPositionHandle = glGetAttribLocation(gProgram, "vPosition"); in setupGraphics()
168 gvPositionHandle); in setupGraphics()
269 glVertexAttribPointer(gvPositionHandle, 2, GL_FLOAT, GL_FALSE, 0, gTriangleVertices); in renderFrame()
271 glEnableVertexAttribArray(gvPositionHandle); in renderFrame()
/frameworks/native/opengl/tests/gl2_basic/
Dgl2_basic.cpp150 GLuint gvPositionHandle; variable
157 gvPositionHandle = glGetAttribLocation(gProgram, "vPosition"); in setupGraphics()
160 gvPositionHandle); in setupGraphics()
179 glVertexAttribPointer(gvPositionHandle, 2, GL_FLOAT, GL_FALSE, 0, gTriangleVertices); in renderFrame()
181 glEnableVertexAttribArray(gvPositionHandle); in renderFrame()
/frameworks/native/opengl/tests/gl2_copyTexImage/
Dgl2_copyTexImage.cpp142 GLuint gvPositionHandle; variable
171 gvPositionHandle = glGetAttribLocation(gProgram, "vPosition"); in setupGraphics()
173 fprintf(stderr, "glGetAttribLocation(\"vPosition\") = %d\n", gvPositionHandle); in setupGraphics()
246 glVertexAttribPointer(gvPositionHandle, 2, GL_FLOAT, GL_FALSE, 0, gTriangleVertices); in renderFrame()
248 glEnableVertexAttribArray(gvPositionHandle); in renderFrame()