Lines Matching refs:pname
128 _mesa_Fogx(GLenum pname, GLfixed param)
130 if (pname != GL_FOG_MODE) {
131 _mesa_Fogf(pname, (GLfloat) (param / 65536.0f));
133 _mesa_Fogf(pname, (GLfloat) param);
139 _mesa_Fogxv(GLenum pname, const GLfixed *params)
146 switch(pname) {
161 "glFogxv(pname=0x%x)", pname);
175 _mesa_Fogfv(pname, converted_params);
227 _mesa_GetLightxv(GLenum light, GLenum pname, GLfixed *params)
238 switch(pname) {
257 "glGetLightxv(pname=0x%x)", pname);
261 _mesa_GetLightfv(light, pname, converted_params);
268 _mesa_GetMaterialxv(GLenum face, GLenum pname, GLfixed *params)
283 switch(pname) {
295 "glGetMaterialxv(pname=0x%x)", pname);
299 _mesa_GetMaterialfv(face, pname, converted_params);
306 _mesa_GetTexEnvxv(GLenum target, GLenum pname, GLfixed *params)
315 if (pname != GL_COORD_REPLACE) {
322 if (pname != GL_TEXTURE_LOD_BIAS_EXT) {
329 if (pname != GL_TEXTURE_ENV_COLOR &&
330 pname != GL_RGB_SCALE &&
331 pname != GL_ALPHA_SCALE &&
332 pname != GL_TEXTURE_ENV_MODE &&
333 pname != GL_COMBINE_RGB &&
334 pname != GL_COMBINE_ALPHA &&
335 pname != GL_SRC0_RGB &&
336 pname != GL_SRC1_RGB &&
337 pname != GL_SRC2_RGB &&
338 pname != GL_SRC0_ALPHA &&
339 pname != GL_SRC1_ALPHA &&
340 pname != GL_SRC2_ALPHA &&
341 pname != GL_OPERAND0_RGB &&
342 pname != GL_OPERAND1_RGB &&
343 pname != GL_OPERAND2_RGB &&
344 pname != GL_OPERAND0_ALPHA &&
345 pname != GL_OPERAND1_ALPHA &&
346 pname != GL_OPERAND2_ALPHA) {
357 switch(pname) {
392 "glGetTexEnvxv(pname=0x%x)", pname);
396 _mesa_GetTexEnvfv(target, pname, converted_params);
409 _check_GetTexGenivOES(GLenum coord, GLenum pname, GLint *params)
411 _mesa_GetTexGeniv(coord, pname, params);
415 _mesa_GetTexGenxvOES(GLenum coord, GLenum pname, GLfixed *params)
417 _mesa_GetTexGeniv(coord, pname, (GLint *) params);
421 _mesa_GetTexParameterxv(GLenum target, GLenum pname, GLfixed *params)
438 switch(pname) {
452 "glGetTexParameterxv(pname=0x%x)", pname);
456 _mesa_GetTexParameterfv(target, pname, converted_params);
469 _mesa_LightModelx(GLenum pname, GLfixed param)
471 _mesa_LightModelf(pname, (GLfloat) param);
475 _mesa_LightModelxv(GLenum pname, const GLfixed *params)
482 switch(pname) {
492 "glLightModelxv(pname=0x%x)", pname);
506 _mesa_LightModelfv(pname, converted_params);
510 _mesa_Lightx(GLenum light, GLenum pname, GLfixed param)
512 _mesa_Lightf(light, pname, (GLfloat) (param / 65536.0f));
516 _mesa_Lightxv(GLenum light, GLenum pname, const GLfixed *params)
527 switch(pname) {
546 "glLightxv(pname=0x%x)", pname);
554 _mesa_Lightfv(light, pname, converted_params);
577 _mesa_Materialx(GLenum face, GLenum pname, GLfixed param)
585 if (pname != GL_SHININESS) {
587 "glMaterialx(pname=0x%x)", pname);
591 _es_Materialf(face, pname, (GLfloat) (param / 65536.0f));
595 _mesa_Materialxv(GLenum face, GLenum pname, const GLfixed *params)
607 switch(pname) {
620 "glMaterialxv(pname=0x%x)", pname);
628 _es_Materialfv(face, pname, converted_params);
687 _mesa_PointParameterx(GLenum pname, GLfixed param)
689 _mesa_PointParameterf(pname, (GLfloat) (param / 65536.0f));
693 _mesa_PointParameterxv(GLenum pname, const GLfixed *params)
699 switch(pname) {
710 "glPointParameterxv(pname=0x%x)", pname);
718 _mesa_PointParameterfv(pname, converted_params);
759 _mesa_TexEnvx(GLenum target, GLenum pname, GLfixed param)
772 switch(pname) {
789 _mesa_TexEnvf(target, pname, (GLfloat) param);
794 _mesa_TexEnvf(target, pname, (GLfloat) (param / 65536.0f));
798 "glTexEnvx(pname=0x%x)", pname);
804 _mesa_TexEnvxv(GLenum target, GLenum pname, const GLfixed *params)
817 switch(pname) {
834 _mesa_TexEnvf(target, pname, (GLfloat) params[0]);
839 _mesa_TexEnvf(target, pname, (GLfloat) (params[0] / 65536.0f));
849 _mesa_TexEnvfv(target, pname, converted_params);
854 "glTexEnvxv(pname=0x%x)", pname);
860 _check_TexGeniOES(GLenum coord, GLenum pname, GLint param)
862 _es_TexGenf(coord, pname, (GLfloat) param);
866 _check_TexGenivOES(GLenum coord, GLenum pname, const GLint *params)
868 _es_TexGenf(coord, pname, (GLfloat) params[0]);
872 _mesa_TexGenxOES(GLenum coord, GLenum pname, GLfixed param)
874 _es_TexGenf(coord, pname, (GLfloat) param);
878 _mesa_TexGenxvOES(GLenum coord, GLenum pname, const GLfixed *params)
880 _es_TexGenf(coord, pname, (GLfloat) params[0]);
884 _mesa_TexParameterx(GLenum target, GLenum pname, GLfixed param)
886 if (pname == GL_TEXTURE_MAX_ANISOTROPY_EXT) {
887 _mesa_TexParameterf(target, pname, (GLfloat) (param / 65536.0f));
889 _mesa_TexParameterf(target, pname, (GLfloat) param);
894 _mesa_TexParameterxv(GLenum target, GLenum pname, const GLfixed *params)
911 switch(pname) {
931 "glTexParameterxv(pname=0x%x)", pname);
945 _mesa_TexParameterfv(target, pname, converted_params);