Home
last modified time | relevance | path

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

/frameworks/native/opengl/tests/gldual/jni/
Dgl_code.cpp101 GLuint gProgram; variable
111 gProgram = createProgram(gVertexShader, gFragmentShader); in setupGraphics()
112 if (!gProgram) { in setupGraphics()
116 gvPositionHandle = glGetAttribLocation(gProgram, "vPosition"); in setupGraphics()
140 glUseProgram(gProgram); in renderFrame()
/frameworks/native/opengl/tests/gl2_jni/jni/
Dgl_code.cpp101 GLuint gProgram; variable
111 gProgram = createProgram(gVertexShader, gFragmentShader); in setupGraphics()
112 if (!gProgram) { in setupGraphics()
116 gvPositionHandle = glGetAttribLocation(gProgram, "vPosition"); in setupGraphics()
140 glUseProgram(gProgram); in renderFrame()
/frameworks/native/opengl/tests/gl2_basic/
Dgl2_basic.cpp140 GLuint gProgram; variable
144 gProgram = createProgram(gVertexShader, gFragmentShader); in setupGraphics()
145 if (!gProgram) { in setupGraphics()
148 gvPositionHandle = glGetAttribLocation(gProgram, "vPosition"); in setupGraphics()
167 glUseProgram(gProgram); in renderFrame()
/frameworks/native/opengl/tests/gl2_yuvtex/
Dgl2_yuvtex.cpp156 GLuint gProgram; variable
161 gProgram = createProgram(gVertexShader, gFragmentShader); in setupGraphics()
162 if (!gProgram) { in setupGraphics()
165 gvPositionHandle = glGetAttribLocation(gProgram, "vPosition"); in setupGraphics()
169 gYuvTexSamplerHandle = glGetUniformLocation(gProgram, "yuvTexSampler"); in setupGraphics()
266 glUseProgram(gProgram); in renderFrame()
/frameworks/native/opengl/tests/gl2_copyTexImage/
Dgl2_copyTexImage.cpp140 GLuint gProgram; variable
167 gProgram = createProgram(gVertexShader, gFragmentShader); in setupGraphics()
168 if (!gProgram) { in setupGraphics()
171 gvPositionHandle = glGetAttribLocation(gProgram, "vPosition"); in setupGraphics()
243 glUseProgram(gProgram); in renderFrame()