Searched refs:depthMax (Results 1 – 9 of 9) sorted by relevance
/external/mesa3d/src/mesa/main/ |
D | viewport.c | 161 GLfloat depthMax = 65535.0F; /* sorf of arbitrary */ in _mesa_init_viewport() local 173 0.0F, 1.0F, depthMax); in _mesa_init_viewport()
|
D | state.c | 280 const GLfloat depthMax = ctx->DrawBuffer->_DepthMaxF; in update_viewport_matrix() local 282 ASSERT(depthMax > 0); in update_viewport_matrix() 292 depthMax); in update_viewport_matrix()
|
D | pack.h | 122 GLenum dstType, GLvoid *dest, GLuint depthMax,
|
D | pack.c | 5424 GLenum dstType, GLvoid *dest, GLuint depthMax, in _mesa_unpack_depth_span() argument 5449 && depthMax == 0xffffffff) { in _mesa_unpack_depth_span() 5460 && depthMax == 0xffffff) { in _mesa_unpack_depth_span() 5514 depthMax == 0xffffff && in _mesa_unpack_depth_span() 5608 if (depthMax <= 0xffffff) { in _mesa_unpack_depth_span() 5611 zValues[i] = (GLuint) (depthValues[i] * (GLfloat) depthMax); in _mesa_unpack_depth_span() 5617 GLdouble z = depthValues[i] * (GLdouble) depthMax; in _mesa_unpack_depth_span() 5628 ASSERT(depthMax <= 0xffff); in _mesa_unpack_depth_span() 5630 zValues[i] = (GLushort) (depthValues[i] * (GLfloat) depthMax); in _mesa_unpack_depth_span()
|
/external/mesa3d/src/mesa/swrast/ |
D | s_copypix.c | 211 const GLuint depthMax = ctx->DrawBuffer->_DepthMax; in scale_and_bias_z() local 214 if (depthMax <= 0xffffff && in scale_and_bias_z() 230 z[i] = depthMax; in scale_and_bias_z()
|
D | s_drawpix.c | 367 const GLuint depthMax = ctx->DrawBuffer->_DepthMax; in draw_depth_pixels() local 389 GL_UNSIGNED_INT, span.array->z, depthMax, in draw_depth_pixels()
|
D | s_span.c | 69 const GLfloat depthMax = ctx->DrawBuffer->_DepthMaxF; in _swrast_span_default_attribs() local 71 span->z = FloatToFixed(ctx->Current.RasterPos[2] * depthMax + 0.5F); in _swrast_span_default_attribs() 73 GLfloat tmpf = ctx->Current.RasterPos[2] * depthMax; in _swrast_span_default_attribs() 74 tmpf = MIN2(tmpf, depthMax); in _swrast_span_default_attribs()
|
/external/mesa3d/src/mesa/math/ |
D | m_matrix.h | 126 GLfloat zNear, GLfloat zFar, GLfloat depthMax);
|
D | m_matrix.c | 1114 GLfloat zNear, GLfloat zFar, GLfloat depthMax) in _math_matrix_viewport() argument 1120 m->m[MAT_SZ] = depthMax * ((zFar - zNear) / 2.0F); in _math_matrix_viewport() 1121 m->m[MAT_TZ] = depthMax * ((zFar - zNear) / 2.0F + zNear); in _math_matrix_viewport()
|