Lines Matching refs:pname
129 _mesa_Fogx(GLenum pname, GLfixed param)
131 if (pname != GL_FOG_MODE) {
132 _mesa_Fogf(pname, (GLfloat) (param / 65536.0f));
134 _mesa_Fogf(pname, (GLfloat) param);
140 _mesa_Fogxv(GLenum pname, const GLfixed *params)
147 switch(pname) {
162 "glFogxv(pname=0x%x)", pname);
176 _mesa_Fogfv(pname, converted_params);
228 _mesa_GetLightxv(GLenum light, GLenum pname, GLfixed *params)
239 switch(pname) {
258 "glGetLightxv(pname=0x%x)", pname);
262 _mesa_GetLightfv(light, pname, converted_params);
269 _mesa_GetMaterialxv(GLenum face, GLenum pname, GLfixed *params)
284 switch(pname) {
296 "glGetMaterialxv(pname=0x%x)", pname);
300 _mesa_GetMaterialfv(face, pname, converted_params);
307 _mesa_GetTexEnvxv(GLenum target, GLenum pname, GLfixed *params)
316 if (pname != GL_COORD_REPLACE) {
323 if (pname != GL_TEXTURE_LOD_BIAS_EXT) {
330 if (pname != GL_TEXTURE_ENV_COLOR &&
331 pname != GL_RGB_SCALE &&
332 pname != GL_ALPHA_SCALE &&
333 pname != GL_TEXTURE_ENV_MODE &&
334 pname != GL_COMBINE_RGB &&
335 pname != GL_COMBINE_ALPHA &&
336 pname != GL_SRC0_RGB &&
337 pname != GL_SRC1_RGB &&
338 pname != GL_SRC2_RGB &&
339 pname != GL_SRC0_ALPHA &&
340 pname != GL_SRC1_ALPHA &&
341 pname != GL_SRC2_ALPHA &&
342 pname != GL_OPERAND0_RGB &&
343 pname != GL_OPERAND1_RGB &&
344 pname != GL_OPERAND2_RGB &&
345 pname != GL_OPERAND0_ALPHA &&
346 pname != GL_OPERAND1_ALPHA &&
347 pname != GL_OPERAND2_ALPHA) {
358 switch(pname) {
393 "glGetTexEnvxv(pname=0x%x)", pname);
397 _mesa_GetTexEnvfv(target, pname, converted_params);
410 _check_GetTexGenivOES(GLenum coord, GLenum pname, GLint *params)
412 _mesa_GetTexGeniv(coord, pname, params);
416 _mesa_GetTexGenxvOES(GLenum coord, GLenum pname, GLfixed *params)
418 _mesa_GetTexGeniv(coord, pname, (GLint *) params);
422 _mesa_GetTexParameterxv(GLenum target, GLenum pname, GLfixed *params)
439 switch(pname) {
453 "glGetTexParameterxv(pname=0x%x)", pname);
457 _mesa_GetTexParameterfv(target, pname, converted_params);
470 _mesa_LightModelx(GLenum pname, GLfixed param)
472 _mesa_LightModelf(pname, (GLfloat) param);
476 _mesa_LightModelxv(GLenum pname, const GLfixed *params)
483 switch(pname) {
493 "glLightModelxv(pname=0x%x)", pname);
507 _mesa_LightModelfv(pname, converted_params);
511 _mesa_Lightx(GLenum light, GLenum pname, GLfixed param)
513 _mesa_Lightf(light, pname, (GLfloat) (param / 65536.0f));
517 _mesa_Lightxv(GLenum light, GLenum pname, const GLfixed *params)
528 switch(pname) {
547 "glLightxv(pname=0x%x)", pname);
555 _mesa_Lightfv(light, pname, converted_params);
578 _mesa_Materialx(GLenum face, GLenum pname, GLfixed param)
586 if (pname != GL_SHININESS) {
588 "glMaterialx(pname=0x%x)", pname);
592 _es_Materialf(face, pname, (GLfloat) (param / 65536.0f));
596 _mesa_Materialxv(GLenum face, GLenum pname, const GLfixed *params)
608 switch(pname) {
621 "glMaterialxv(pname=0x%x)", pname);
629 _es_Materialfv(face, pname, converted_params);
688 _mesa_PointParameterx(GLenum pname, GLfixed param)
690 _mesa_PointParameterf(pname, (GLfloat) (param / 65536.0f));
694 _mesa_PointParameterxv(GLenum pname, const GLfixed *params)
700 switch(pname) {
711 "glPointParameterxv(pname=0x%x)", pname);
719 _mesa_PointParameterfv(pname, converted_params);
760 _mesa_TexEnvx(GLenum target, GLenum pname, GLfixed param)
773 switch(pname) {
790 _mesa_TexEnvf(target, pname, (GLfloat) param);
795 _mesa_TexEnvf(target, pname, (GLfloat) (param / 65536.0f));
799 "glTexEnvx(pname=0x%x)", pname);
805 _mesa_TexEnvxv(GLenum target, GLenum pname, const GLfixed *params)
818 switch(pname) {
835 _mesa_TexEnvf(target, pname, (GLfloat) params[0]);
840 _mesa_TexEnvf(target, pname, (GLfloat) (params[0] / 65536.0f));
850 _mesa_TexEnvfv(target, pname, converted_params);
855 "glTexEnvxv(pname=0x%x)", pname);
861 _check_TexGeniOES(GLenum coord, GLenum pname, GLint param)
863 _es_TexGenf(coord, pname, (GLfloat) param);
867 _check_TexGenivOES(GLenum coord, GLenum pname, const GLint *params)
869 _es_TexGenf(coord, pname, (GLfloat) params[0]);
873 _mesa_TexGenxOES(GLenum coord, GLenum pname, GLfixed param)
875 _es_TexGenf(coord, pname, (GLfloat) param);
879 _mesa_TexGenxvOES(GLenum coord, GLenum pname, const GLfixed *params)
881 _es_TexGenf(coord, pname, (GLfloat) params[0]);
885 _mesa_TexParameterx(GLenum target, GLenum pname, GLfixed param)
887 if (pname == GL_TEXTURE_MAX_ANISOTROPY_EXT) {
888 _mesa_TexParameterf(target, pname, (GLfloat) (param / 65536.0f));
890 _mesa_TexParameterf(target, pname, (GLfloat) param);
895 _mesa_TexParameterxv(GLenum target, GLenum pname, const GLfixed *params)
912 switch(pname) {
932 "glTexParameterxv(pname=0x%x)", pname);
946 _mesa_TexParameterfv(target, pname, converted_params);