Home
last modified time | relevance | path

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

/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
Ds_drawpix.c592 GLuint *zValues; /* 32-bit Z values */ in draw_depth_stencil_pixels() local
595 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()
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()
/external/mesa3d/src/mesa/swrast/
Ds_drawpix.c592 GLuint *zValues; /* 32-bit Z values */ in draw_depth_stencil_pixels() local
595 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()
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()
/external/chromium_org/third_party/sqlite/src/src/
Dtest8.c986 char *zValues = 0; in echoUpdate() local
994 zValues = sqlite3_mprintf("?"); in echoUpdate()
1001 sqlite3_mprintf("%s%Q", zValues?", ":"", pVtab->aCol[ii-2]), 1, &rc); in echoUpdate()
1002 string_concat(&zValues, in echoUpdate()
1003 sqlite3_mprintf("%s?%d", zValues?", ":"", ii), 1, &rc); in echoUpdate()
1008 string_concat(&z, zValues, 1, &rc); in echoUpdate()
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
Dst_cb_drawpixels.c843 GLuint *zValues; in draw_stencil_pixels() local
880 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()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_drawpixels.c843 GLuint *zValues; in draw_stencil_pixels() local
880 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()
/external/chromium_org/third_party/mesa/src/src/mesa/main/
Dpack.c5518 GLuint *zValues = (GLuint *) dest; in _mesa_unpack_depth_span() local
5525 zValues[i] = value & 0xffffff00; in _mesa_unpack_depth_span()
5606 GLuint *zValues = (GLuint *) dest; in _mesa_unpack_depth_span() local
5611 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() local
5630 zValues[i] = (GLushort) (depthValues[i] * (GLfloat) depthMax); in _mesa_unpack_depth_span()
5637 GLfloat *zValues = (GLfloat*) dest; in _mesa_unpack_depth_span() local
5640 zValues[i*2] = depthValues[i]; in _mesa_unpack_depth_span()
/external/mesa3d/src/mesa/main/
Dpack.c5518 GLuint *zValues = (GLuint *) dest; in _mesa_unpack_depth_span() local
5525 zValues[i] = value & 0xffffff00; in _mesa_unpack_depth_span()
5606 GLuint *zValues = (GLuint *) dest; in _mesa_unpack_depth_span() local
5611 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() local
5630 zValues[i] = (GLushort) (depthValues[i] * (GLfloat) depthMax); in _mesa_unpack_depth_span()
5637 GLfloat *zValues = (GLfloat*) dest; in _mesa_unpack_depth_span() local
5640 zValues[i*2] = depthValues[i]; in _mesa_unpack_depth_span()