Searched refs:zValues (Results 1 – 5 of 5) sorted by relevance
673 GLuint *zValues; /* 32-bit Z values */ in draw_depth_stencil_pixels() local676 zValues = malloc(width * sizeof(GLuint)); in draw_depth_stencil_pixels()677 if (!zValues) { in draw_depth_stencil_pixels()690 zValues, /* dest addr */ in draw_depth_stencil_pixels()697 y + i, zValues); in draw_depth_stencil_pixels()701 _mesa_pack_uint_z_row(depthRb->Format, width, zValues, dst); in draw_depth_stencil_pixels()706 GLubyte *stencilValues = (GLubyte *) zValues; /* re-use buffer */ in draw_depth_stencil_pixels()719 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()
865 GLuint *zValues = (GLuint *) dest; in _mesa_unpack_depth_span() local872 zValues[i] = value & 0xffffff00; in _mesa_unpack_depth_span()954 GLuint *zValues = (GLuint *) dest; in _mesa_unpack_depth_span() local959 zValues[i] = (GLuint) (depthValues[i] * (GLfloat) depthMax); in _mesa_unpack_depth_span()967 zValues[i] = 0xffffffff; in _mesa_unpack_depth_span()969 zValues[i] = (GLuint) z; in _mesa_unpack_depth_span()974 GLushort *zValues = (GLushort *) dest; in _mesa_unpack_depth_span() local978 zValues[i] = (GLushort) (depthValues[i] * (GLfloat) depthMax); in _mesa_unpack_depth_span()985 GLfloat *zValues = (GLfloat*) dest; in _mesa_unpack_depth_span() local988 zValues[i*2] = depthValues[i]; in _mesa_unpack_depth_span()
976 GLuint *zValues; in draw_stencil_pixels() local1004 zValues = malloc(width * sizeof(GLuint)); in draw_stencil_pixels()1006 if (sValues && zValues) { in draw_stencil_pixels()1009 GLfloat *zValuesFloat = (GLfloat*)zValues; in draw_stencil_pixels()1024 _mesa_unpack_depth_span(ctx, width, ztype, zValues, in draw_stencil_pixels()1059 dest[k] = zValues[k] | (sValues[k] << 24); in draw_stencil_pixels()1077 dest[k] = (zValues[k] << 8) | (sValues[k] & 0xff); in draw_stencil_pixels()1120 free(zValues); in draw_stencil_pixels()