Searched refs:program_ (Results 1 – 4 of 4) sorted by relevance
/development/ndk/platforms/android-18/samples/MoreTeapots/jni/ |
D | MoreTeapotsRenderer.cpp | 158 blockIndex = glGetUniformBlockIndex( shader_param_.program_, "ParamBlock" ); in Init() 159 glUniformBlockBinding( shader_param_.program_, blockIndex, bindingPoint ); in Init() 163 glGetActiveUniformBlockiv( shader_param_.program_, blockIndex, in Init() 167 glGetActiveUniformBlockiv( shader_param_.program_, blockIndex, in Init() 169 glGetActiveUniformsiv( shader_param_.program_, iNumIndices, (GLuint*) i, in Init() 241 if( shader_param_.program_ ) in Unload() 243 glDeleteProgram( shader_param_.program_ ); in Unload() 244 shader_param_.program_ = 0; in Unload() 287 glUseProgram( shader_param_.program_ ); in Render() 455 params->program_ = program; in LoadShaders() [all …]
|
D | MoreTeapotsRenderer.h | 61 GLuint program_; member
|
/development/ndk/platforms/android-17/samples/Teapot/jni/ |
D | TeapotRenderer.cpp | 121 if( shader_param_.program_ ) in Unload() 123 glDeleteProgram( shader_param_.program_ ); in Unload() 124 shader_param_.program_ = 0; in Unload() 171 glUseProgram( shader_param_.program_ ); in Render() 277 params->program_ = program; in LoadShaders()
|
D | TeapotRenderer.h | 61 GLuint program_; member
|