Lines Matching +defs:name +defs:text
111 CompileShaderText(GLenum shaderType, const char *text)
118 ShaderSource(shader, 1, (const GLchar **) &text, NULL);
306 for (i = 0; uniforms[i].name; i++) {
308 = glGetUniformLocation(program, uniforms[i].name);
344 if (strncmp(uniforms[i].name, "gl_", 3) == 0) {
369 char name[100];
371 glGetActiveUniform(program, i, 100, &len, &size, &type, name);
373 uniforms[i].name = strdup(name);
376 uniforms[i].location = glGetUniformLocation(program, name);
379 uniforms[i].name = NULL; /* end of list */
392 for (i = 0; uniforms[i].name; i++) {
395 uniforms[i].name,
419 char name[100];
421 GetActiveAttrib(program, i, 100, &len, &size, &type, name);
423 attribs[i].name = strdup(name);
426 attribs[i].location = GetAttribLocation(program, name);
429 attribs[i].name = NULL; /* end of list */
442 for (i = 0; attribs[i].name; i++) {
445 attribs[i].name,