Home
last modified time | relevance | path

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

/frameworks/native/opengl/tests/gl2_copyTexImage/
Dgl2_copyTexImage.cpp141 GLuint gTextureProgram; variable
175 gTextureProgram = createProgram(gSimpleVS, gSimpleFS); in setupGraphics()
176 if (!gTextureProgram) { in setupGraphics()
179 gvTexturePositionHandle = glGetAttribLocation(gTextureProgram, "position"); in setupGraphics()
181 gvTextureTexCoordsHandle = glGetAttribLocation(gTextureProgram, "texCoords"); in setupGraphics()
183 gvTextureSamplerHandle = glGetUniformLocation(gTextureProgram, "texture"); in setupGraphics()
263 glUseProgram(gTextureProgram); in renderFrame()