Home | History | Annotate | Download | only in swrast

Lines Matching refs:depth

209                  const GLfloat depth[], GLuint z[])
220 z[i] = (GLuint) (depth[i] * depthMaxF);
227 GLdouble d = depth[i] * ctx->Pixel.DepthScale + ctx->Pixel.DepthBias;
249 GLfloat *p, *tmpImage, *depth;
306 depth = (GLfloat *) malloc(width * sizeof(GLfloat));
307 if (!depth) {
313 /* get depth values */
315 memcpy(depth, p, width * sizeof(GLfloat));
319 _swrast_read_depth_span_float(ctx, readRb, width, srcx, sy, depth);
323 scale_and_bias_z(ctx, width, depth, span.array->z);
325 /* write depth values */
335 free(depth);
483 /* can't handle packed depth+stencil here */
489 /* can't handle separate depth/stencil buffers */