Home | History | Annotate | Download | only in main

Lines Matching defs:depth

37 #include "depth.h"
255 memcpy( attr, &ctx->Depth, sizeof(struct gl_depthbuffer_attrib) );
271 attr->DepthTest = ctx->Depth.Test;
524 TEST_AND_UPDATE(ctx->Depth.Test, enable->DepthTest, GL_DEPTH_TEST);
1003 const struct gl_depthbuffer_attrib *depth;
1004 depth = (const struct gl_depthbuffer_attrib *) attr->data;
1005 _mesa_DepthFunc(depth->Func);
1006 _mesa_ClearDepth(depth->Clear);
1007 _mesa_set_enable(ctx, GL_DEPTH_TEST, depth->Test);
1008 _mesa_DepthMask(depth->Mask);