Home | History | Annotate | Download | only in main

Lines Matching refs:pname

135 _es_Fogx(GLenum pname, GLfixed param)
137 if (pname != GL_FOG_MODE) {
138 _mesa_Fogf(pname, (GLfloat) (param / 65536.0f));
140 _mesa_Fogf(pname, (GLfloat) param);
146 _es_Fogxv(GLenum pname, const GLfixed *params)
153 switch(pname) {
168 "glFogxv(pname=0x%x)", pname);
182 _mesa_Fogfv(pname, converted_params);
234 _es_GetLightxv(GLenum light, GLenum pname, GLfixed *params)
245 switch(pname) {
264 "glGetLightxv(pname=0x%x)", pname);
268 _mesa_GetLightfv(light, pname, converted_params);
275 _es_GetMaterialxv(GLenum face, GLenum pname, GLfixed *params)
290 switch(pname) {
302 "glGetMaterialxv(pname=0x%x)", pname);
306 _mesa_GetMaterialfv(face, pname, converted_params);
313 _es_GetTexEnvxv(GLenum target, GLenum pname, GLfixed *params)
322 if (pname != GL_COORD_REPLACE) {
329 if (pname != GL_TEXTURE_LOD_BIAS_EXT) {
336 if (pname != GL_TEXTURE_ENV_COLOR && pname != GL_RGB_SCALE && pname != GL_ALPHA_SCALE && pname != GL_TEXTURE_ENV_MODE && pname != GL_COMBINE_RGB && pname != GL_COMBINE_ALPHA && pname != GL_SRC0_RGB && pname != GL_SRC1_RGB && pname != GL_SRC2_RGB && pname != GL_SRC0_ALPHA && pname != GL_SRC1_ALPHA && pname != GL_SRC2_ALPHA && pname != GL_OPERAND0_RGB && pname != GL_OPERAND1_RGB && pname != GL_OPERAND2_RGB && pname != GL_OPERAND0_ALPHA && pname != GL_OPERAND1_ALPHA && pname != GL_OPERAND2_ALPHA) {
347 switch(pname) {
382 "glGetTexEnvxv(pname=0x%x)", pname);
386 _mesa_GetTexEnvfv(target, pname, converted_params);
399 _check_GetTexGenivOES(GLenum coord, GLenum pname, GLint *params)
401 _mesa_GetTexGeniv(coord, pname, params);
405 _check_GetTexGenxvOES(GLenum coord, GLenum pname, GLfixed *params)
407 _mesa_GetTexGeniv(coord, pname, (GLint *) params);
411 _es_GetTexParameterxv(GLenum target, GLenum pname, GLfixed *params)
428 switch(pname) {
442 "glGetTexParameterxv(pname=0x%x)", pname);
446 _mesa_GetTexParameterfv(target, pname, converted_params);
459 _es_LightModelx(GLenum pname, GLfixed param)
461 _mesa_LightModelf(pname, (GLfloat) param);
465 _es_LightModelxv(GLenum pname, const GLfixed *params)
472 switch(pname) {
482 "glLightModelxv(pname=0x%x)", pname);
496 _mesa_LightModelfv(pname, converted_params);
500 _es_Lightx(GLenum light, GLenum pname, GLfixed param)
502 _mesa_Lightf(light, pname, (GLfloat) (param / 65536.0f));
506 _es_Lightxv(GLenum light, GLenum pname, const GLfixed *params)
517 switch(pname) {
536 "glLightxv(pname=0x%x)", pname);
544 _mesa_Lightfv(light, pname, converted_params);
567 _es_Materialx(GLenum face, GLenum pname, GLfixed param)
575 if (pname != GL_SHININESS) {
577 "glMaterialx(pname=0x%x)", pname);
581 _es_Materialf(face, pname, (GLfloat) (param / 65536.0f));
585 _es_Materialxv(GLenum face, GLenum pname, const GLfixed *params)
597 switch(pname) {
610 "glMaterialxv(pname=0x%x)", pname);
618 _es_Materialfv(face, pname, converted_params);
677 _es_PointParameterx(GLenum pname, GLfixed param)
679 _mesa_PointParameterf(pname, (GLfloat) (param / 65536.0f));
683 _es_PointParameterxv(GLenum pname, const GLfixed *params)
689 switch(pname) {
700 "glPointParameterxv(pname=0x%x)", pname);
708 _mesa_PointParameterfv(pname, converted_params);
749 _es_TexEnvx(GLenum target, GLenum pname, GLfixed param)
762 switch(pname) {
779 _mesa_TexEnvf(target, pname, (GLfloat) param);
784 _mesa_TexEnvf(target, pname, (GLfloat) (param / 65536.0f));
788 "glTexEnvx(pname=0x%x)", pname);
794 _es_TexEnvxv(GLenum target, GLenum pname, const GLfixed *params)
807 switch(pname) {
824 _mesa_TexEnvf(target, pname, (GLfloat) params[0]);
829 _mesa_TexEnvf(target, pname, (GLfloat) (params[0] / 65536.0f));
839 _mesa_TexEnvfv(target, pname, converted_params);
844 "glTexEnvxv(pname=0x%x)", pname);
850 _check_TexGeniOES(GLenum coord, GLenum pname, GLint param)
852 _es_TexGenf(coord, pname, (GLfloat) param);
856 _check_TexGenivOES(GLenum coord, GLenum pname, const GLint *params)
858 _es_TexGenf(coord, pname, (GLfloat) params[0]);
862 _check_TexGenxOES(GLenum coord, GLenum pname, GLfixed param)
864 _es_TexGenf(coord, pname, (GLfloat) param);
868 _check_TexGenxvOES(GLenum coord, GLenum pname, const GLfixed *params)
870 _es_TexGenf(coord, pname, (GLfloat) params[0]);
874 _es_TexParameterx(GLenum target, GLenum pname, GLfixed param)
876 if (pname == GL_TEXTURE_MAX_ANISOTROPY_EXT) {
877 _mesa_TexParameterf(target, pname, (GLfloat) (param / 65536.0f));
879 _mesa_TexParameterf(target, pname, (GLfloat) param);
884 _es_TexParameterxv(GLenum target, GLenum pname, const GLfixed *params)
901 switch(pname) {
921 "glTexParameterxv(pname=0x%x)", pname);
935 _mesa_TexParameterfv(target, pname, converted_params);