Lines Matching refs:mode
37 _mesa_Hint( GLenum target, GLenum mode ) in _mesa_Hint() argument
45 _mesa_lookup_enum_by_nr(mode)); in _mesa_Hint()
47 if (mode != GL_NICEST && mode != GL_FASTEST && mode != GL_DONT_CARE) { in _mesa_Hint()
56 if (ctx->Hint.Fog == mode) in _mesa_Hint()
59 ctx->Hint.Fog = mode; in _mesa_Hint()
64 if (ctx->Hint.LineSmooth == mode) in _mesa_Hint()
67 ctx->Hint.LineSmooth = mode; in _mesa_Hint()
72 if (ctx->Hint.PerspectiveCorrection == mode) in _mesa_Hint()
75 ctx->Hint.PerspectiveCorrection = mode; in _mesa_Hint()
80 if (ctx->Hint.PointSmooth == mode) in _mesa_Hint()
83 ctx->Hint.PointSmooth = mode; in _mesa_Hint()
88 if (ctx->Hint.PolygonSmooth == mode) in _mesa_Hint()
91 ctx->Hint.PolygonSmooth = mode; in _mesa_Hint()
98 if (ctx->Hint.ClipVolumeClipping == mode) in _mesa_Hint()
101 ctx->Hint.ClipVolumeClipping = mode; in _mesa_Hint()
108 if (ctx->Hint.TextureCompression == mode) in _mesa_Hint()
111 ctx->Hint.TextureCompression = mode; in _mesa_Hint()
118 if (ctx->Hint.GenerateMipmap == mode) in _mesa_Hint()
121 ctx->Hint.GenerateMipmap = mode; in _mesa_Hint()
128 if (ctx->Hint.FragmentShaderDerivative == mode) in _mesa_Hint()
131 ctx->Hint.FragmentShaderDerivative = mode; in _mesa_Hint()
139 (*ctx->Driver.Hint)( ctx, target, mode ); in _mesa_Hint()