Lines Matching refs:pname
591 get_vertex_array_attrib(struct gl_context *ctx, GLuint index, GLenum pname,
605 switch (pname) {
636 _mesa_error(ctx, GL_INVALID_ENUM, "%s(pname=0x%x)", caller, pname);
669 _mesa_GetVertexAttribfvARB(GLuint index, GLenum pname, GLfloat *params)
674 if (pname == GL_CURRENT_VERTEX_ATTRIB_ARB) {
681 params[0] = (GLfloat) get_vertex_array_attrib(ctx, index, pname,
688 _mesa_GetVertexAttribdvARB(GLuint index, GLenum pname, GLdouble *params)
693 if (pname == GL_CURRENT_VERTEX_ATTRIB_ARB) {
703 params[0] = (GLdouble) get_vertex_array_attrib(ctx, index, pname,
710 _mesa_GetVertexAttribivARB(GLuint index, GLenum pname, GLint *params)
715 if (pname == GL_CURRENT_VERTEX_ATTRIB_ARB) {
726 params[0] = (GLint) get_vertex_array_attrib(ctx, index, pname,
734 _mesa_GetVertexAttribIiv(GLuint index, GLenum pname, GLint *params)
739 if (pname == GL_CURRENT_VERTEX_ATTRIB_ARB) {
747 params[0] = (GLint) get_vertex_array_attrib(ctx, index, pname,
755 _mesa_GetVertexAttribIuiv(GLuint index, GLenum pname, GLuint *params)
760 if (pname == GL_CURRENT_VERTEX_ATTRIB_ARB) {
768 params[0] = get_vertex_array_attrib(ctx, index, pname,
775 _mesa_GetVertexAttribPointervARB(GLuint index, GLenum pname, GLvoid **pointer)
785 if (pname != GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB) {
786 _mesa_error(ctx, GL_INVALID_ENUM, "glGetVertexAttribPointerARB(pname)");