Lines Matching full:shader
213 GLuint shader = ctx.glCreateShader(GL_VERTEX_SHADER);
218 ctx.glGetShaderiv(shader, -1, ¶m[0]);
222 ctx.beginSection("GL_INVALID_VALUE is generated if shader is not a value generated by OpenGL.");
227 ctx.beginSection("GL_INVALID_OPERATION is generated if shader does not refer to a shader object.");
232 ctx.glDeleteShader(shader);
238 GLuint shader = ctx.glCreateShader(GL_VERTEX_SHADER);
243 ctx.beginSection("GL_INVALID_VALUE is generated if shader is not a value generated by OpenGL.");
248 ctx.beginSection("GL_INVALID_OPERATION is generated if shader is not a shader object.");
254 ctx.glGetShaderInfoLog(shader, -1, &length[0], &infoLog[0]);
258 ctx.glDeleteShader(shader);
289 GLuint shader = ctx.glCreateShader(GL_VERTEX_SHADER);
291 ctx.beginSection("GL_INVALID_VALUE is generated if shader is not a value generated by OpenGL.");
296 ctx.beginSection("GL_INVALID_OPERATION is generated if shader is not a shader object.");
302 ctx.glGetShaderSource(shader, -1, &length[0], &source[0]);
307 ctx.glDeleteShader(shader);
315 GLuint shader = ctx.glCreateShader(GL_VERTEX_SHADER);
329 ctx.glGetProgramiv(shader, GL_LINK_STATUS, ¶ms[0]);
334 ctx.glDeleteShader(shader);
340 GLuint shader = ctx.glCreateShader(GL_VERTEX_SHADER);
350 ctx.glGetProgramInfoLog (shader, 1, &length[0], &infoLog[0]);
360 ctx.glDeleteShader(shader);
363 // Enumerated state queries: Shader variables
402 GLuint shader = ctx.glCreateShader(GL_VERTEX_SHADER);
412 ctx.glGetUniformfv (shader, unif, ¶ms[0]);
426 ctx.glDeleteShader(shader);
439 GLuint shader = ctx.glCreateShader(GL_VERTEX_SHADER);
449 ctx.glGetUniformiv (shader, unif, ¶ms[0]);
463 ctx.glDeleteShader(shader);
476 shader = ctx.glCreateShader(GL_VERTEX_SHADER);
486 ctx.glGetUniformuiv (shader, unif, ¶ms[0]);
500 ctx.glDeleteShader(shader);
506 GLuint shader = ctx.glCreateShader(GL_VERTEX_SHADER);
519 ctx.glGetActiveUniform(shader, 0, 0, 0, 0, 0, 0);
535 ctx.glDeleteShader(shader);
540 GLuint shader = ctx.glCreateShader(GL_VERTEX_SHADER);
557 ctx.glGetActiveUniformsiv(shader, 1, &dummyUniformIndex, GL_UNIFORM_TYPE, &dummyParamDst);
581 ctx.glDeleteShader(shader);
634 GLuint shader = ctx.glCreateShader(GL_VERTEX_SHADER);
656 ctx.glGetActiveAttrib(shader, 0, 32, &length, &size, &type, &name[0]);
671 ctx.glDeleteShader(shader);
676 GLuint shader = ctx.glCreateShader(GL_VERTEX_SHADER);
686 ctx.beginSection("GL_INVALID_OPERATION is generated if program is a name of shader object.");
687 ctx.glGetUniformIndices(shader, 1, &uniformName, &uniformIndices);
691 ctx.beginSection("GL_INVALID_VALUE is generated if program is not name of program or shader object.");
698 ctx.glDeleteShader(shader);
788 GLuint shader = ctx.glCreateShader(GL_VERTEX_SHADER);
791 ctx.beginSection("GL_INVALID_OPERATION is generated if program is the name of a shader object.");
792 ctx.glGetFragDataLocation(shader, "gl_FragColor");
802 ctx.glDeleteShader(shader);