Searched refs:NumShaders (Results 1 – 4 of 4) sorted by relevance
245 struct gl_shader *, whole_program->NumShaders + 1); in main()250 whole_program->Shaders[whole_program->NumShaders] = shader; in main()251 whole_program->NumShaders++; in main()
1551 calloc(2 * prog->NumShaders, sizeof(struct gl_shader *)); in link_shaders()1552 frag_shader_list = &vert_shader_list[prog->NumShaders]; in link_shaders()1556 for (unsigned i = 0; i < prog->NumShaders; i++) { in link_shaders()
233 for (unsigned i = 0; i < program->NumShaders; i++) in GGLShaderAttach()238 (program, program->Shaders, gl_shader *, program->NumShaders + 1); in GGLShaderAttach()243 program->Shaders[program->NumShaders] = shader; in GGLShaderAttach()244 program->NumShaders++; in GGLShaderAttach()568 for (unsigned i = 0; i < program->NumShaders; i++) in GGLShaderDetach()570 program->NumShaders--; in GGLShaderDetach()572 program->Shaders[i] = program->Shaders[program->NumShaders]; in GGLShaderDetach()591 for (unsigned i = 0; i < program->NumShaders; i++) { in GGLShaderProgramDelete()667 *params = program->NumShaders; in GGLShaderProgramGetiv()
2102 GLuint NumShaders; /**< number of attached shaders */ member