Home
last modified time | relevance | path

Searched refs:depthMax (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/mesa/main/
Dpack.c785 GLenum dstType, GLvoid *dest, GLuint depthMax, in _mesa_unpack_depth_span() argument
810 && depthMax == 0xffffffff) { in _mesa_unpack_depth_span()
821 && depthMax == 0xffffff) { in _mesa_unpack_depth_span()
875 depthMax == 0xffffff && in _mesa_unpack_depth_span()
970 if (depthMax <= 0xffffff) { in _mesa_unpack_depth_span()
973 zValues[i] = (GLuint) (depthValues[i] * (GLfloat) depthMax); in _mesa_unpack_depth_span()
979 GLdouble z = depthValues[i] * (GLdouble) depthMax; in _mesa_unpack_depth_span()
990 assert(depthMax <= 0xffff); in _mesa_unpack_depth_span()
992 zValues[i] = (GLushort) (depthValues[i] * (GLfloat) depthMax); in _mesa_unpack_depth_span()
Dpack.h64 GLenum dstType, GLvoid *dest, GLuint depthMax,
/external/mesa3d/src/mesa/swrast/
Ds_copypix.c200 const GLuint depthMax = ctx->DrawBuffer->_DepthMax; in scale_and_bias_z() local
203 if (depthMax <= 0xffffff && in scale_and_bias_z()
219 z[i] = depthMax; in scale_and_bias_z()
Ds_drawpix.c369 const GLuint depthMax = ctx->DrawBuffer->_DepthMax; in draw_depth_pixels() local
391 GL_UNSIGNED_INT, span.array->z, depthMax, in draw_depth_pixels()
Ds_span.c70 const GLfloat depthMax = ctx->DrawBuffer->_DepthMaxF; in _swrast_span_default_attribs() local
72 span->z = FloatToFixed(ctx->Current.RasterPos[2] * depthMax + 0.5F); in _swrast_span_default_attribs()
74 GLfloat tmpf = ctx->Current.RasterPos[2] * depthMax; in _swrast_span_default_attribs()
75 tmpf = MIN2(tmpf, depthMax); in _swrast_span_default_attribs()
/external/mesa3d/src/mesa/math/
Dm_matrix.h126 const float translate[3], double depthMax );
Dm_matrix.c1115 const float translate[3], double depthMax) in _math_matrix_viewport() argument
1121 m->m[MAT_SZ] = depthMax*scale[2]; in _math_matrix_viewport()
1122 m->m[MAT_TZ] = depthMax*translate[2]; in _math_matrix_viewport()