Home | History | Annotate | Download | only in driver

Lines Matching defs:pgm

141         GLuint pgm = e->program;
142 glAttachShader(pgm, vID);
144 glAttachShader(pgm, fID);
146 glBindAttribLocation(pgm, 0, "ATTRIB_position");
147 glBindAttribLocation(pgm, 1, "ATTRIB_color");
148 glBindAttribLocation(pgm, 2, "ATTRIB_normal");
149 glBindAttribLocation(pgm, 3, "ATTRIB_texture0");
152 glLinkProgram(pgm);
155 glGetProgramiv(pgm, GL_LINK_STATUS, &linkStatus);
158 glGetProgramiv(pgm, GL_INFO_LOG_LENGTH, &bufLength);
162 glGetProgramInfoLog(pgm, bufLength, NULL, buf);
167 glDeleteProgram(pgm);
172 e->vtxAttrs[ct].slot = glGetAttribLocation(pgm, vtx->getAttribName(ct));
179 populateUniformData(vtx, pgm, e->vtxUniforms);
180 populateUniformData(frag, pgm, e->fragUniforms);
188 glGetProgramiv(pgm, GL_ACTIVE_UNIFORMS, &numUniforms);
190 glGetProgramiv(pgm, GL_ACTIVE_UNIFORM_MAX_LENGTH, &maxNameLength);
197 glGetActiveUniform(pgm, ct, maxNameLength, &uniformList[ct]->writtenLength,
209 updateUniformArrayData(rsc, vtx, pgm, e->vtxUniforms, "vtx",
211 updateUniformArrayData(rsc, frag, pgm, e->fragUniforms, "frag",