Searched refs:depthMax (Results 1 - 9 of 9) sorted by relevance

/external/mesa3d/src/mesa/main/
H A Dviewport.c161 GLfloat depthMax = 65535.0F; /* sorf of arbitrary */ local
173 0.0F, 1.0F, depthMax);
H A Dstate.c280 const GLfloat depthMax = ctx->DrawBuffer->_DepthMaxF; local
282 ASSERT(depthMax > 0);
292 depthMax);
H A Dpack.h122 GLenum dstType, GLvoid *dest, GLuint depthMax,
H A Dpack.c5419 * \param depthMax max value for returned GLushort or GLuint values
5424 GLenum dstType, GLvoid *dest, GLuint depthMax,
5449 && depthMax == 0xffffffff) {
5460 && depthMax == 0xffffff) {
5514 depthMax == 0xffffff &&
5608 if (depthMax <= 0xffffff) {
5611 zValues[i] = (GLuint) (depthValues[i] * (GLfloat) depthMax);
5617 GLdouble z = depthValues[i] * (GLdouble) depthMax;
5628 ASSERT(depthMax <= 0xffff);
5630 zValues[i] = (GLushort) (depthValues[i] * (GLfloat) depthMax);
5423 _mesa_unpack_depth_span( struct gl_context *ctx, GLuint n, GLenum dstType, GLvoid *dest, GLuint depthMax, GLenum srcType, const GLvoid *source, const struct gl_pixelstore_attrib *srcPacking ) argument
[all...]
/external/mesa3d/src/mesa/math/
H A Dm_matrix.h126 GLfloat zNear, GLfloat zFar, GLfloat depthMax);
H A Dm_matrix.c1114 GLfloat zNear, GLfloat zFar, GLfloat depthMax)
1120 m->m[MAT_SZ] = depthMax * ((zFar - zNear) / 2.0F);
1121 m->m[MAT_TZ] = depthMax * ((zFar - zNear) / 2.0F + zNear);
1113 _math_matrix_viewport(GLmatrix *m, GLint x, GLint y, GLint width, GLint height, GLfloat zNear, GLfloat zFar, GLfloat depthMax) argument
/external/mesa3d/src/mesa/swrast/
H A Ds_copypix.c211 const GLuint depthMax = ctx->DrawBuffer->_DepthMax; local
214 if (depthMax <= 0xffffff &&
230 z[i] = depthMax;
H A Ds_drawpix.c367 const GLuint depthMax = ctx->DrawBuffer->_DepthMax; local
389 GL_UNSIGNED_INT, span.array->z, depthMax,
H A Ds_span.c69 const GLfloat depthMax = ctx->DrawBuffer->_DepthMaxF; local
71 span->z = FloatToFixed(ctx->Current.RasterPos[2] * depthMax + 0.5F);
73 GLfloat tmpf = ctx->Current.RasterPos[2] * depthMax;
74 tmpf = MIN2(tmpf, depthMax);

Completed in 412 milliseconds