Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Dviewport.c288 GLclampd nearval, GLclampd farval) in set_depth_range_no_notify() argument
290 if (ctx->ViewportArray[idx].Near == nearval && in set_depth_range_no_notify()
298 ctx->ViewportArray[idx].Near = CLAMP(nearval, 0.0, 1.0); in set_depth_range_no_notify()
304 GLclampd nearval, GLclampd farval) in _mesa_set_depth_range() argument
306 set_depth_range_no_notify(ctx, idx, nearval, farval); in _mesa_set_depth_range()
321 _mesa_DepthRange(GLclampd nearval, GLclampd farval) in _mesa_DepthRange() argument
327 _mesa_debug(ctx, "glDepthRange %f %f\n", nearval, farval); in _mesa_DepthRange()
341 set_depth_range_no_notify(ctx, i, nearval, farval); in _mesa_DepthRange()
349 _mesa_DepthRangef(GLclampf nearval, GLclampf farval) in _mesa_DepthRangef() argument
351 _mesa_DepthRange(nearval, farval); in _mesa_DepthRangef()
[all …]
Dmatrix.c68 GLdouble nearval, GLdouble farval ) in _mesa_Frustum() argument
74 if (nearval <= 0.0 || in _mesa_Frustum()
76 nearval == farval || in _mesa_Frustum()
87 (GLfloat) nearval, (GLfloat) farval ); in _mesa_Frustum()
111 GLdouble nearval, GLdouble farval ) in _mesa_Ortho() argument
119 left, right, bottom, top, nearval, farval); in _mesa_Ortho()
123 nearval == farval) in _mesa_Ortho()
132 (GLfloat) nearval, (GLfloat) farval ); in _mesa_Ortho()
Dviewport.h65 _mesa_DepthRange(GLclampd nearval, GLclampd farval);
68 _mesa_DepthRangef(GLclampf nearval, GLclampf farval);
91 GLclampd nearval, GLclampd farval);
Dmatrix.h38 GLdouble nearval, GLdouble farval );
43 GLdouble nearval, GLdouble farval );
Ddlist.c2413 save_DepthRange(GLclampd nearval, GLclampd farval) in save_DepthRange() argument
2420 n[1].f = (GLfloat) nearval; in save_DepthRange()
2424 CALL_DepthRange(ctx->Exec, (nearval, farval)); in save_DepthRange()
2666 GLdouble bottom, GLdouble top, GLdouble nearval, GLdouble farval) in save_Frustum() argument
2677 n[5].f = (GLfloat) nearval; in save_Frustum()
2681 CALL_Frustum(ctx->Exec, (left, right, bottom, top, nearval, farval)); in save_Frustum()
3264 GLdouble bottom, GLdouble top, GLdouble nearval, GLdouble farval) in save_Ortho() argument
3275 n[5].f = (GLfloat) nearval; in save_Ortho()
3279 CALL_Ortho(ctx->Exec, (left, right, bottom, top, nearval, farval)); in save_Ortho()
/external/mesa3d/src/mesa/math/
Dm_matrix.c982 GLfloat nearval, GLfloat farval ) in _math_matrix_frustum() argument
987 x = (2.0F*nearval) / (right-left); in _math_matrix_frustum()
988 y = (2.0F*nearval) / (top-bottom); in _math_matrix_frustum()
991 c = -(farval+nearval) / ( farval-nearval); in _math_matrix_frustum()
992 d = -(2.0F*farval*nearval) / (farval-nearval); /* error? */ in _math_matrix_frustum()
1022 GLfloat nearval, GLfloat farval ) in _math_matrix_ortho() argument
1039 M(2,2) = -2.0F / (farval-nearval); in _math_matrix_ortho()
1040 M(2,3) = -(farval+nearval) / (farval-nearval); in _math_matrix_ortho()
Dm_matrix.h116 GLfloat nearval, GLfloat farval );
122 GLfloat nearval, GLfloat farval );