Lines Matching refs:param
636 * \param attrib The index of the attribute array
637 * \param size Components per element (1, 2, 3 or 4)
638 * \param type Datatype of each component (GL_FLOAT, GL_INT, etc)
639 * \param format Either GL_RGBA or GL_BGRA.
640 * \param normalized Whether integer types are converted to floats in [-1, 1]
641 * \param integer Integer-valued values (will not be normalized to [-1, 1])
642 * \param doubles Double values not reduced to floats
643 * \param relativeOffset Offset of the first element relative to the binding
681 * \param func Name of calling function used for error reporting
682 * \param attrib The index of the attribute array
683 * \param legalTypes Bitmask of *_BIT above indicating legal datatypes
684 * \param sizeMin Min allowable size value
685 * \param sizeMax Max allowable size value (may also be BGRA_OR_4)
686 * \param size Components per element (1, 2, 3 or 4)
687 * \param type Datatype of each component (GL_FLOAT, GL_INT, etc)
688 * \param normalized Whether integer types are converted to floats in [-1, 1]
689 * \param integer Integer-valued values (will not be normalized to [-1, 1])
690 * \param doubles Double values not reduced to floats
691 * \param relativeOffset Offset of the first element relative to the binding offset.
803 * \param func name of calling function used for error reporting
804 * \param vao the vao to update
805 * \param obj the bound buffer object
806 * \param attrib the attribute array index to update
807 * \param legalTypes bitmask of *_BIT above indicating legal datatypes
808 * \param sizeMin min allowable size value
809 * \param sizeMax max allowable size value (may also be BGRA_OR_4)
810 * \param size components per element (1, 2, 3 or 4)
811 * \param type datatype of each component (GL_FLOAT, GL_INT, etc)
812 * \param stride stride between elements, in elements
813 * \param normalized are integer types converted to floats in [-1, 1]?
814 * \param integer integer-valued values (will not be normalized to [-1,1])
815 * \param doubles Double values not reduced to floats
816 * \param ptr the address (or offset inside VBO) of the array data
898 * \param vao the vao to update
899 * \param obj the bound buffer object
900 * \param attrib the attribute array index to update
901 * \param format Either GL_RGBA or GL_BGRA.
902 * \param sizeMax max allowable size value (may also be BGRA_OR_4)
903 * \param size components per element (1, 2, 3 or 4)
904 * \param type datatype of each component (GL_FLOAT, GL_INT, etc)
905 * \param stride stride between elements, in elements
906 * \param normalized are integer types converted to floats in [-1, 1]?
907 * \param integer integer-valued values (will not be normalized to [-1,1])
908 * \param doubles Double values not reduced to floats
909 * \param ptr the address (or offset inside VBO) of the array data
3854 * \param vao the container vertex array object
3855 * \param index which array in the VAO to initialize
3856 * \param size number of components (1, 2, 3 or 4) per attribute
3857 * \param type datatype of the attribute (GL_FLOAT, GL_INT, etc).
3963 _mesa_GetVertexArrayIntegervEXT(GLuint vaobj, GLenum pname, GLint *param)
3985 *param = GL_TEXTURE0_ARB + ctx->Array.ActiveTexture;
3988 *param = vao->VertexAttrib[VERT_ATTRIB_POS].Format.Size;
3991 *param = vao->VertexAttrib[VERT_ATTRIB_POS].Format.Type;
3994 *param = vao->VertexAttrib[VERT_ATTRIB_POS].Stride;
3998 *param = buf ? buf->Name : 0;
4001 *param = vao->VertexAttrib[VERT_ATTRIB_COLOR0].Format.Size;
4004 *param = vao->VertexAttrib[VERT_ATTRIB_COLOR0].Format.Type;
4007 *param = vao->VertexAttrib[VERT_ATTRIB_COLOR0].Stride;
4011 *param = buf ? buf->Name : 0;
4014 *param = vao->VertexAttrib[VERT_ATTRIB_EDGEFLAG].Stride;
4018 *param = buf ? buf->Name : 0;
4021 *param = vao->VertexAttrib[VERT_ATTRIB_COLOR_INDEX].Format.Type;
4024 *param = vao->VertexAttrib[VERT_ATTRIB_COLOR_INDEX].Stride;
4028 *param = buf ? buf->Name : 0;
4031 *param = vao->VertexAttrib[VERT_ATTRIB_NORMAL].Format.Type;
4034 *param = vao->VertexAttrib[VERT_ATTRIB_NORMAL].Stride;
4038 *param = buf ? buf->Name : 0;
4041 *param = vao->VertexAttrib[VERT_ATTRIB_TEX(ctx->Array.ActiveTexture)].Format.Size;
4044 *param = vao->VertexAttrib[VERT_ATTRIB_TEX(ctx->Array.ActiveTexture)].Format.Type;
4047 *param = vao->VertexAttrib[VERT_ATTRIB_TEX(ctx->Array.ActiveTexture)].Stride;
4051 *param = buf ? buf->Name : 0;
4054 *param = vao->VertexAttrib[VERT_ATTRIB_FOG].Format.Type;
4057 *param = vao->VertexAttrib[VERT_ATTRIB_FOG].Stride;
4061 *param = buf ? buf->Name : 0;
4064 *param = vao->VertexAttrib[VERT_ATTRIB_COLOR1].Format.Size;
4067 *param = vao->VertexAttrib[VERT_ATTRIB_COLOR1].Format.Type;
4070 *param = vao->VertexAttrib[VERT_ATTRIB_COLOR1].Stride;
4074 *param = buf ? buf->Name : 0;
4079 *param = !!(vao->Enabled & VERT_BIT_POS);
4082 *param = !!(vao->Enabled & VERT_BIT_COLOR0);
4085 *param = !!(vao->Enabled & VERT_BIT_EDGEFLAG);
4088 *param = !!(vao->Enabled & VERT_BIT_COLOR_INDEX);
4091 *param = !!(vao->Enabled & VERT_BIT_NORMAL);
4094 *param = !!(vao->Enabled & VERT_BIT_TEX(ctx->Array.ActiveTexture));
4097 *param = !!(vao->Enabled & VERT_BIT_FOG);
4100 *param = !!(vao->Enabled & VERT_BIT_COLOR1);
4113 *param = (int) ((intptr_t) ptr & 0xFFFFFFFF);
4122 _mesa_GetVertexArrayPointervEXT(GLuint vaobj, GLenum pname, GLvoid** param)
4154 _get_vao_pointerv(pname, vao, param, "glGetVertexArrayPointervEXT");
4158 _mesa_GetVertexArrayIntegeri_vEXT(GLuint vaobj, GLuint index, GLenum pname, GLint *param)
4182 *param = !!(vao->Enabled & VERT_BIT_TEX(index));
4185 *param = vao->VertexAttrib[VERT_ATTRIB_TEX(index)].Format.Size;
4188 *param = vao->VertexAttrib[VERT_ATTRIB_TEX(index)].Format.Type;
4191 *param = vao->VertexAttrib[VERT_ATTRIB_TEX(index)].Stride;
4195 *param = buf ? buf->Name : 0;
4198 *param = get_vertex_array_attrib(ctx, vao, index, pname, "glGetVertexArrayIntegeri_vEXT");
4203 _mesa_GetVertexArrayPointeri_vEXT(GLuint vaobj, GLuint index, GLenum pname, GLvoid** param)
4226 *param = (GLvoid *) vao->VertexAttrib[VERT_ATTRIB_GENERIC(index)].Ptr;
4229 *param = (GLvoid *) vao->VertexAttrib[VERT_ATTRIB_TEX(index)].Ptr;