Home | History | Annotate | Download | only in main

Lines Matching refs:pname

432 get_handle(struct gl_context *ctx, GLenum pname)
434 if (pname == GL_PROGRAM_OBJECT_ARB) {
453 get_programiv(struct gl_context *ctx, GLuint program, GLenum pname, GLint *params)
486 switch (pname) {
603 _mesa_error(ctx, GL_INVALID_ENUM, "glGetProgramiv(pname=%s)",
604 _mesa_lookup_enum_by_nr(pname));
612 get_shaderiv(struct gl_context *ctx, GLuint name, GLenum pname, GLint *params)
621 switch (pname) {
638 _mesa_error(ctx, GL_INVALID_ENUM, "glGetShaderiv(pname)");
1169 _mesa_GetObjectParameterivARB(GLhandleARB object, GLenum pname, GLint *params)
1174 if (pname == GL_OBJECT_TYPE_ARB) {
1178 get_programiv(ctx, object, pname, params);
1182 if (pname == GL_OBJECT_TYPE_ARB) {
1186 get_shaderiv(ctx, object, pname, params);
1196 _mesa_GetObjectParameterfvARB(GLhandleARB object, GLenum pname,
1200 _mesa_GetObjectParameterivARB(object, pname, iparams);
1206 _mesa_GetProgramiv(GLuint program, GLenum pname, GLint *params)
1209 get_programiv(ctx, program, pname, params);
1214 _mesa_GetShaderiv(GLuint shader, GLenum pname, GLint *params)
1217 get_shaderiv(ctx, shader, pname, params);
1249 _mesa_GetHandleARB(GLenum pname)
1252 return get_handle(ctx, pname);
1536 _mesa_ProgramParameteriARB(GLuint program, GLenum pname, GLint value)
1548 switch (pname) {
1590 _mesa_error(ctx, GL_INVALID_ENUM, "glProgramParameteriARB(pname=%s)",
1591 _mesa_lookup_enum_by_nr(pname));