Home
last modified time | relevance | path

Searched refs:zValues (Results 1 – 5 of 5) sorted by relevance

/third_party/mesa3d/src/mesa/swrast/
Ds_drawpix.c673 GLuint *zValues; /* 32-bit Z values */ in draw_depth_stencil_pixels() local
676 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()
Ds_depth.c169 GLint *zValues = (GLint *) span->array->z; /* sign change */ in _swrast_depth_clamp_span() local
198 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()
Ds_zoom.c284 const GLuint *zValues = (const GLuint *) src; in zoom_span() local
290 zoomed.array->z[i] = zValues[j]; in zoom_span()
/third_party/mesa3d/src/mesa/main/
Dpack.c865 GLuint *zValues = (GLuint *) dest; in _mesa_unpack_depth_span() local
872 zValues[i] = value & 0xffffff00; in _mesa_unpack_depth_span()
954 GLuint *zValues = (GLuint *) dest; in _mesa_unpack_depth_span() local
959 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() local
978 zValues[i] = (GLushort) (depthValues[i] * (GLfloat) depthMax); in _mesa_unpack_depth_span()
985 GLfloat *zValues = (GLfloat*) dest; in _mesa_unpack_depth_span() local
988 zValues[i*2] = depthValues[i]; in _mesa_unpack_depth_span()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_drawpixels.c976 GLuint *zValues; in draw_stencil_pixels() local
1004 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()