Searched refs:zValues (Results 1 – 5 of 5) sorted by relevance
592 GLuint *zValues; /* 32-bit Z values */ in draw_depth_stencil_pixels() local595 zValues = (GLuint *) malloc(width * sizeof(GLuint)); in draw_depth_stencil_pixels()596 if (!zValues) { in draw_depth_stencil_pixels()609 zValues, /* dest addr */ in draw_depth_stencil_pixels()616 y + i, zValues); in draw_depth_stencil_pixels()620 _mesa_pack_uint_z_row(depthRb->Format, width, zValues, dst); in draw_depth_stencil_pixels()625 GLubyte *stencilValues = (GLubyte *) zValues; /* re-use buffer */ in draw_depth_stencil_pixels()638 free(zValues); in draw_depth_stencil_pixels()
169 GLint *zValues = (GLint *) span->array->z; /* sign change */ in _swrast_depth_clamp_span() local198 if (zValues[i] < min) in _swrast_depth_clamp_span()199 zValues[i] = min; in _swrast_depth_clamp_span()200 if (zValues[i] > max) in _swrast_depth_clamp_span()201 zValues[i] = max; in _swrast_depth_clamp_span()
284 const GLuint *zValues = (const GLuint *) src; in zoom_span() local290 zoomed.array->z[i] = zValues[j]; in zoom_span()
843 GLuint *zValues; in draw_stencil_pixels() local880 zValues = (GLuint *) malloc(width * sizeof(GLuint)); in draw_stencil_pixels()882 if (sValues && zValues) { in draw_stencil_pixels()885 GLfloat *zValuesFloat = (GLfloat*)zValues; in draw_stencil_pixels()900 _mesa_unpack_depth_span(ctx, width, ztype, zValues, in draw_stencil_pixels()935 dest[k] = zValues[k] | (sValues[k] << 24); in draw_stencil_pixels()953 dest[k] = (zValues[k] << 8) | (sValues[k] & 0xff); in draw_stencil_pixels()996 free(zValues); in draw_stencil_pixels()
5518 GLuint *zValues = (GLuint *) dest; in _mesa_unpack_depth_span() local5525 zValues[i] = value & 0xffffff00; in _mesa_unpack_depth_span()5606 GLuint *zValues = (GLuint *) dest; in _mesa_unpack_depth_span() local5611 zValues[i] = (GLuint) (depthValues[i] * (GLfloat) depthMax); in _mesa_unpack_depth_span()5619 zValues[i] = 0xffffffff; in _mesa_unpack_depth_span()5621 zValues[i] = (GLuint) z; in _mesa_unpack_depth_span()5626 GLushort *zValues = (GLushort *) dest; in _mesa_unpack_depth_span() local5630 zValues[i] = (GLushort) (depthValues[i] * (GLfloat) depthMax); in _mesa_unpack_depth_span()5637 GLfloat *zValues = (GLfloat*) dest; in _mesa_unpack_depth_span() local5640 zValues[i*2] = depthValues[i]; in _mesa_unpack_depth_span()