Lines Matching defs:mode
37 _mesa_Hint( GLenum target, GLenum mode )
44 _mesa_enum_to_string(mode));
46 if (mode != GL_NICEST && mode != GL_FASTEST && mode != GL_DONT_CARE) {
47 _mesa_error(ctx, GL_INVALID_ENUM, "glHint(mode)");
55 if (ctx->Hint.Fog == mode)
58 ctx->Hint.Fog = mode;
63 if (ctx->Hint.LineSmooth == mode)
66 ctx->Hint.LineSmooth = mode;
71 if (ctx->Hint.PerspectiveCorrection == mode)
74 ctx->Hint.PerspectiveCorrection = mode;
79 if (ctx->Hint.PointSmooth == mode)
82 ctx->Hint.PointSmooth = mode;
87 if (ctx->Hint.PolygonSmooth == mode)
90 ctx->Hint.PolygonSmooth = mode;
97 if (ctx->Hint.TextureCompression == mode)
100 ctx->Hint.TextureCompression = mode;
107 if (ctx->Hint.GenerateMipmap == mode)
110 ctx->Hint.GenerateMipmap = mode;
117 if (ctx->Hint.FragmentShaderDerivative == mode)
120 ctx->Hint.FragmentShaderDerivative = mode;