Lines Matching refs:Func
61 depth_func(struct gl_context *ctx, GLenum func, bool no_error)
63 if (ctx->Depth.Func == func)
67 switch (func) {
78 _mesa_error(ctx, GL_INVALID_ENUM, "glDepth.Func");
85 ctx->Depth.Func = func;
88 ctx->Driver.DepthFunc(ctx, func);
93 _mesa_DepthFunc_no_error(GLenum func)
96 depth_func(ctx, func, true);
101 _mesa_DepthFunc(GLenum func)
106 _mesa_debug(ctx, "glDepthFunc %s\n", _mesa_enum_to_string(func));
108 depth_func(ctx, func, false);
180 ctx->Depth.Func = GL_LESS;