Searched refs:gProgram (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/opengl/tests/gldual/jni/ |
D | gl_code.cpp | 106 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/ |
D | gl_code.cpp | 106 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/ |
D | gl2_yuvtex.cpp | 156 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/ |
D | gl2_basic.cpp | 149 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/ |
D | gl2_copyTexImage.cpp | 140 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()
|