Lines Matching refs:shininess
121 validate_shine_table( struct gl_context *ctx, GLuint side, GLfloat shininess ) in validate_shine_table() argument
130 if ( s->shininess == shininess ) in validate_shine_table()
143 if (shininess == 0.0F) { in validate_shine_table()
152 t = powf(x, shininess); in validate_shine_table()
161 s->shininess = shininess; in validate_shine_table()
177 GLfloat shininess; in _tnl_validate_shine_tables() local
179 shininess = ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_SHININESS][0]; in _tnl_validate_shine_tables()
180 if (!tnl->_ShineTable[0] || tnl->_ShineTable[0]->shininess != shininess) in _tnl_validate_shine_tables()
181 validate_shine_table( ctx, 0, shininess ); in _tnl_validate_shine_tables()
183 shininess = ctx->Light.Material.Attrib[MAT_ATTRIB_BACK_SHININESS][0]; in _tnl_validate_shine_tables()
184 if (!tnl->_ShineTable[1] || tnl->_ShineTable[1]->shininess != shininess) in _tnl_validate_shine_tables()
185 validate_shine_table( ctx, 1, shininess ); in _tnl_validate_shine_tables()
285 return powf(dp, tab->shininess); in lookup_shininess()