Searched refs:zValues (Results 1 – 5 of 5) sorted by relevance
648 GLuint *zValues; /* 32-bit Z values */ in draw_depth_stencil_pixels() local651 zValues = malloc(width * sizeof(GLuint)); in draw_depth_stencil_pixels()652 if (!zValues) { in draw_depth_stencil_pixels()665 zValues, /* dest addr */ in draw_depth_stencil_pixels()672 y + i, zValues); in draw_depth_stencil_pixels()676 _mesa_pack_uint_z_row(depthRb->Format, width, zValues, dst); in draw_depth_stencil_pixels()681 GLubyte *stencilValues = (GLubyte *) zValues; /* re-use buffer */ in draw_depth_stencil_pixels()694 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()
864 GLuint *zValues = (GLuint *) dest; in _mesa_unpack_depth_span() local871 zValues[i] = value & 0xffffff00; in _mesa_unpack_depth_span()953 GLuint *zValues = (GLuint *) dest; in _mesa_unpack_depth_span() local958 zValues[i] = (GLuint) (depthValues[i] * (GLfloat) depthMax); in _mesa_unpack_depth_span()966 zValues[i] = 0xffffffff; in _mesa_unpack_depth_span()968 zValues[i] = (GLuint) z; in _mesa_unpack_depth_span()973 GLushort *zValues = (GLushort *) dest; in _mesa_unpack_depth_span() local977 zValues[i] = (GLushort) (depthValues[i] * (GLfloat) depthMax); in _mesa_unpack_depth_span()984 GLfloat *zValues = (GLfloat*) dest; in _mesa_unpack_depth_span() local987 zValues[i*2] = depthValues[i]; in _mesa_unpack_depth_span()
964 GLuint *zValues; in draw_stencil_pixels() local1000 zValues = malloc(width * sizeof(GLuint)); in draw_stencil_pixels()1002 if (sValues && zValues) { in draw_stencil_pixels()1005 GLfloat *zValuesFloat = (GLfloat*)zValues; in draw_stencil_pixels()1020 _mesa_unpack_depth_span(ctx, width, ztype, zValues, in draw_stencil_pixels()1055 dest[k] = zValues[k] | (sValues[k] << 24); in draw_stencil_pixels()1073 dest[k] = (zValues[k] << 8) | (sValues[k] & 0xff); in draw_stencil_pixels()1116 free(zValues); in draw_stencil_pixels()