Home | History | Annotate | Download | only in main

Lines Matching refs:pname

102 _mesa_light(struct gl_context *ctx, GLuint lnum, GLenum pname, const GLfloat *params)
109 switch (pname) {
190 _mesa_problem(ctx, "Unexpected pname in _mesa_light()");
195 ctx->Driver.Lightfv( ctx, GL_LIGHT0 + lnum, pname, params );
200 _mesa_Lightf( GLenum light, GLenum pname, GLfloat param )
205 _mesa_Lightfv( light, pname, fparam );
210 _mesa_Lightfv( GLenum light, GLenum pname, const GLfloat *params )
223 switch (pname) {
273 _mesa_error(ctx, GL_INVALID_ENUM, "glLight(pname=0x%x)", pname);
277 _mesa_light(ctx, i, pname, params);
282 _mesa_Lighti( GLenum light, GLenum pname, GLint param )
287 _mesa_Lightiv( light, pname, iparam );
292 _mesa_Lightiv( GLenum light, GLenum pname, const GLint *params )
296 switch (pname) {
328 _mesa_Lightfv( light, pname, fparam );
334 _mesa_GetLightfv( GLenum light, GLenum pname, GLfloat *params )
345 switch (pname) {
384 _mesa_GetLightiv( GLenum light, GLenum pname, GLint *params )
395 switch (pname) {
454 _mesa_LightModelfv( GLenum pname, const GLfloat *params )
461 switch (pname) {
510 ctx->Driver.LightModelfv( ctx, pname, params );
515 _mesa_error( ctx, GL_INVALID_ENUM, "glLightModel(pname=0x%x)", pname );
521 _mesa_LightModeliv( GLenum pname, const GLint *params )
525 switch (pname) {
541 _mesa_LightModelfv( pname, fparam );
546 _mesa_LightModeli( GLenum pname, GLint param )
551 _mesa_LightModeliv( pname, iparam );
556 _mesa_LightModelf( GLenum pname, GLfloat param )
561 _mesa_LightModelfv( pname, fparam );
570 * Given a face and pname value (ala glColorMaterial), compute a bitmask
574 _mesa_material_bitmask( struct gl_context *ctx, GLenum face, GLenum pname,
580 switch (pname) {
764 _mesa_GetMaterialfv( GLenum face, GLenum pname, GLfloat *params )
784 switch (pname) {
802 _mesa_error( ctx, GL_INVALID_ENUM, "glGetMaterialfv(pname)" );
810 _mesa_error( ctx, GL_INVALID_ENUM, "glGetMaterialfv(pname)" );
816 _mesa_GetMaterialiv( GLenum face, GLenum pname, GLint *params )
837 switch (pname) {
871 _mesa_error( ctx, GL_INVALID_ENUM, "glGetMaterialfv(pname)" );