Searched defs:gTextureProgram (Results 1 - 1 of 1) sorted by relevance

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

Completed in 58 milliseconds