Lines Matching defs:mode
40 _mesa_ShadeModel( GLenum mode )
45 _mesa_debug(ctx, "glShadeModel %s\n", _mesa_enum_to_string(mode));
47 if (ctx->Light.ShadeModel == mode)
50 if (mode != GL_FLAT && mode != GL_SMOOTH) {
56 ctx->Light.ShadeModel = mode;
66 _mesa_ProvokingVertex(GLenum mode)
71 _mesa_debug(ctx, "glProvokingVertexEXT 0x%x\n", mode);
73 if (ctx->Light.ProvokingVertex == mode)
76 switch (mode) {
81 _mesa_error(ctx, GL_INVALID_ENUM, "glProvokingVertexEXT(0x%x)", mode);
86 ctx->Light.ProvokingVertex = mode;
785 _mesa_ColorMaterial( GLenum face, GLenum mode )
797 _mesa_enum_to_string(mode));
799 bitmask = _mesa_material_bitmask(ctx, face, mode, legal, "glColorMaterial");
805 ctx->Light.ColorMaterialMode == mode)
811 ctx->Light.ColorMaterialMode = mode;