/third_party/mesa3d/src/mesa/main/ |
D | viewport.c | 292 GLclampd nearval, GLclampd farval) in set_depth_range_no_notify() argument 294 if (ctx->ViewportArray[idx].Near == nearval && in set_depth_range_no_notify() 302 ctx->ViewportArray[idx].Near = SATURATE(nearval); in set_depth_range_no_notify() 308 GLclampd nearval, GLclampd farval) in _mesa_set_depth_range() argument 310 set_depth_range_no_notify(ctx, idx, nearval, farval); in _mesa_set_depth_range() 322 _mesa_DepthRange(GLclampd nearval, GLclampd farval) in _mesa_DepthRange() argument 328 _mesa_debug(ctx, "glDepthRange %f %f\n", nearval, farval); in _mesa_DepthRange() 342 set_depth_range_no_notify(ctx, i, nearval, farval); in _mesa_DepthRange() 346 _mesa_DepthRangef(GLclampf nearval, GLclampf farval) in _mesa_DepthRangef() argument 348 _mesa_DepthRange(nearval, farval); in _mesa_DepthRangef() [all …]
|
D | matrix.c | 106 GLdouble nearval, GLdouble farval, in matrix_frustum() argument 110 if (nearval <= 0.0 || in matrix_frustum() 112 nearval == farval || in matrix_frustum() 124 (GLfloat) nearval, (GLfloat) farval); in matrix_frustum() 148 GLdouble nearval, GLdouble farval ) in _mesa_Frustum() argument 154 (GLfloat) nearval, (GLfloat) farval, in _mesa_Frustum() 163 GLdouble nearval, GLdouble farval ) in _mesa_MatrixFrustumEXT() argument 174 (GLfloat) nearval, (GLfloat) farval, in _mesa_MatrixFrustumEXT() 183 GLdouble nearval, GLdouble farval, in matrix_ortho() argument 190 left, right, bottom, top, nearval, farval); in matrix_ortho() [all …]
|
D | viewport.h | 40 GLclampd nearval, GLclampd farval);
|
D | dlist.c | 2525 save_DepthRange(GLclampd nearval, GLclampd farval) in save_DepthRange() argument 2532 n[1].f = (GLfloat) nearval; in save_DepthRange() 2536 CALL_DepthRange(ctx->Exec, (nearval, farval)); in save_DepthRange() 2779 GLdouble bottom, GLdouble top, GLdouble nearval, GLdouble farval) in save_Frustum() argument 2790 n[5].f = (GLfloat) nearval; in save_Frustum() 2794 CALL_Frustum(ctx->Exec, (left, right, bottom, top, nearval, farval)); in save_Frustum() 3377 GLdouble bottom, GLdouble top, GLdouble nearval, GLdouble farval) in save_Ortho() argument 3388 n[5].f = (GLfloat) nearval; in save_Ortho() 3392 CALL_Ortho(ctx->Exec, (left, right, bottom, top, nearval, farval)); in save_Ortho() 9415 GLdouble bottom, GLdouble top, GLdouble nearval, GLdouble farval) in save_MatrixOrthoEXT() argument [all …]
|
/third_party/mesa3d/src/mesa/math/ |
D | m_matrix.c | 872 GLfloat nearval, GLfloat farval ) in _math_matrix_frustum() argument 877 x = (2.0F*nearval) / (right-left); in _math_matrix_frustum() 878 y = (2.0F*nearval) / (top-bottom); in _math_matrix_frustum() 881 c = -(farval+nearval) / ( farval-nearval); in _math_matrix_frustum() 882 d = -(2.0F*farval*nearval) / (farval-nearval); /* error? */ in _math_matrix_frustum() 912 float nearval, float farval) in _math_float_ortho() argument 927 M(2,2) = -2.0F / (farval-nearval); in _math_float_ortho() 928 M(2,3) = -(farval+nearval) / (farval-nearval); in _math_float_ortho() 955 GLfloat nearval, GLfloat farval ) in _math_matrix_ortho() argument 959 _math_float_ortho(m, left, right, bottom, top, nearval, farval); in _math_matrix_ortho()
|
D | m_matrix.h | 113 float nearval, float farval); 119 GLfloat nearval, GLfloat farval ); 125 GLfloat nearval, GLfloat farval );
|