Searched refs:program_ (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/media/mca/filterfw/native/core/ |
D | shader_program.cpp | 75 program_(0), in ShaderProgram() 99 program_(0), in ShaderProgram() 257 if (vertex_shader_ != 0 || fragment_shader_ != 0 || program_ != 0) { in CompileAndLink() 278 program_ = LinkProgram(shaders, 2); in CompileAndLink() 284 if (program_ != 0) { in CompileAndLink() 285 ProgramVar tex_coord_attr = glGetAttribLocation(program_, TexCoordAttributeName().c_str()); in CompileAndLink() 286 ProgramVar pos_coord_attr = glGetAttribLocation(program_, PositionAttributeName().c_str()); in CompileAndLink() 380 glGetProgramiv(program_, GL_ACTIVE_UNIFORMS, &uniform_count); in ScanUniforms() 381 glGetProgramiv(program_, GL_ACTIVE_UNIFORM_MAX_LENGTH, &buffer_size); in ScanUniforms() 384 glGetActiveUniform(program_, i, buffer_size, NULL, &capacity, &type, &name[0]); in ScanUniforms() [all …]
|
D | shader_program.h | 112 return program_ != 0; in IsExecutable() 507 GLuint program_; variable
|