Home
last modified time | relevance | path

Searched refs:program_ (Results 1 – 4 of 4) sorted by relevance

/development/ndk/platforms/android-18/samples/MoreTeapots/jni/
DMoreTeapotsRenderer.cpp158 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 …]
DMoreTeapotsRenderer.h61 GLuint program_; member
/development/ndk/platforms/android-17/samples/Teapot/jni/
DTeapotRenderer.cpp121 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()
DTeapotRenderer.h61 GLuint program_; member