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.cpp106 GLuint gProgram; variable
116 gProgram = createProgram(gVertexShader, gFragmentShader); in setupGraphics()
117 if (!gProgram) { in setupGraphics()
121 gvPositionHandle = glGetAttribLocation(gProgram, "vPosition"); in setupGraphics()
145 glUseProgram(gProgram); in renderFrame()
/frameworks/native/opengl/tests/gl2_jni/jni/
Dgl_code.cpp106 GLuint gProgram; variable
116 gProgram = createProgram(gVertexShader, gFragmentShader); in setupGraphics()
117 if (!gProgram) { in setupGraphics()
121 gvPositionHandle = glGetAttribLocation(gProgram, "vPosition"); in setupGraphics()
145 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_basic/
Dgl2_basic.cpp149 GLuint gProgram; variable
153 gProgram = createProgram(gVertexShader, gFragmentShader); in setupGraphics()
154 if (!gProgram) { in setupGraphics()
157 gvPositionHandle = glGetAttribLocation(gProgram, "vPosition"); in setupGraphics()
176 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()