Lines Matching refs:Driver
217 * Call the ctx->Driver.* state functions with current values to initialize
224 ctx->Driver.AlphaFunc(ctx, ctx->Color.AlphaFunc, ctx->Color.AlphaRef);
226 ctx->Driver.BlendColor(ctx, ctx->Color.BlendColor);
228 ctx->Driver.BlendEquationSeparate(ctx,
232 ctx->Driver.BlendFuncSeparate(ctx,
238 ctx->Driver.ColorMask(ctx,
244 ctx->Driver.CullFace(ctx, ctx->Polygon.CullFaceMode);
245 ctx->Driver.DepthFunc(ctx, ctx->Depth.Func);
246 ctx->Driver.DepthMask(ctx, ctx->Depth.Mask);
248 ctx->Driver.Enable(ctx, GL_ALPHA_TEST, ctx->Color.AlphaEnabled);
249 ctx->Driver.Enable(ctx, GL_BLEND, ctx->Color.BlendEnabled);
250 ctx->Driver.Enable(ctx, GL_COLOR_LOGIC_OP, ctx->Color.ColorLogicOpEnabled);
251 ctx->Driver.Enable(ctx, GL_COLOR_SUM, ctx->Fog.ColorSumEnabled);
252 ctx->Driver.Enable(ctx, GL_CULL_FACE, ctx->Polygon.CullFlag);
253 ctx->Driver.Enable(ctx, GL_DEPTH_TEST, ctx->Depth.Test);
254 ctx->Driver.Enable(ctx, GL_DITHER, ctx->Color.DitherFlag);
255 ctx->Driver.Enable(ctx, GL_FOG, ctx->Fog.Enabled);
256 ctx->Driver.Enable(ctx, GL_LIGHTING, ctx->Light.Enabled);
257 ctx->Driver.Enable(ctx, GL_LINE_SMOOTH, ctx->Line.SmoothFlag);
258 ctx->Driver.Enable(ctx, GL_POLYGON_STIPPLE, ctx->Polygon.StippleFlag);
259 ctx->Driver.Enable(ctx, GL_SCISSOR_TEST, ctx->Scissor.EnableFlags);
260 ctx->Driver.Enable(ctx, GL_STENCIL_TEST, ctx->Stencil.Enabled);
261 ctx->Driver.Enable(ctx, GL_TEXTURE_1D, GL_FALSE);
262 ctx->Driver.Enable(ctx, GL_TEXTURE_2D, GL_FALSE);
263 ctx->Driver.Enable(ctx, GL_TEXTURE_RECTANGLE_NV, GL_FALSE);
264 ctx->Driver.Enable(ctx, GL_TEXTURE_3D, GL_FALSE);
265 ctx->Driver.Enable(ctx, GL_TEXTURE_CUBE_MAP, GL_FALSE);
267 ctx->Driver.Fogfv(ctx, GL_FOG_COLOR, ctx->Fog.Color);
270 ctx->Driver.Fogfv(ctx, GL_FOG_MODE, &mode);
272 ctx->Driver.Fogfv(ctx, GL_FOG_DENSITY, &ctx->Fog.Density);
273 ctx->Driver.Fogfv(ctx, GL_FOG_START, &ctx->Fog.Start);
274 ctx->Driver.Fogfv(ctx, GL_FOG_END, &ctx->Fog.End);
276 ctx->Driver.FrontFace(ctx, ctx->Polygon.FrontFace);
280 ctx->Driver.LightModelfv(ctx, GL_LIGHT_MODEL_COLOR_CONTROL, &f);
283 ctx->Driver.LineWidth(ctx, ctx->Line.Width);
284 ctx->Driver.LogicOpcode(ctx, ctx->Color._LogicOp);
285 ctx->Driver.PointSize(ctx, ctx->Point.Size);
286 ctx->Driver.PolygonStipple(ctx, (const GLubyte *) ctx->PolygonStipple);
287 ctx->Driver.Scissor(ctx);
288 ctx->Driver.ShadeModel(ctx, ctx->Light.ShadeModel);
289 ctx->Driver.StencilFuncSeparate(ctx, GL_FRONT,
293 ctx->Driver.StencilFuncSeparate(ctx, GL_BACK,
297 ctx->Driver.StencilMaskSeparate(ctx, GL_FRONT, ctx->Stencil.WriteMask[0]);
298 ctx->Driver.StencilMaskSeparate(ctx, GL_BACK, ctx->Stencil.WriteMask[1]);
299 ctx->Driver.StencilOpSeparate(ctx, GL_FRONT,
303 ctx->Driver.StencilOpSeparate(ctx, GL_BACK,
309 ctx->Driver.DrawBuffer(ctx);