Home
last modified time | relevance | path

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

/third_party/mesa3d/src/mesa/main/
Dviewport.c289 GLclampd nearval, GLclampd farval) in set_depth_range_no_notify() argument
291 if (ctx->ViewportArray[idx].Near == nearval && in set_depth_range_no_notify()
299 ctx->ViewportArray[idx].Near = SATURATE(nearval); in set_depth_range_no_notify()
305 GLclampd nearval, GLclampd farval) in _mesa_set_depth_range() argument
307 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()
350 _mesa_DepthRangef(GLclampf nearval, GLclampf farval) in _mesa_DepthRangef() argument
352 _mesa_DepthRange(nearval, farval); in _mesa_DepthRangef()
[all …]
Dmatrix.c105 GLdouble nearval, GLdouble farval, in matrix_frustum() argument
109 if (nearval <= 0.0 || in matrix_frustum()
111 nearval == farval || in matrix_frustum()
123 (GLfloat) nearval, (GLfloat) farval); in matrix_frustum()
147 GLdouble nearval, GLdouble farval ) in _mesa_Frustum() argument
153 (GLfloat) nearval, (GLfloat) farval, in _mesa_Frustum()
162 GLdouble nearval, GLdouble farval ) in _mesa_MatrixFrustumEXT() argument
173 (GLfloat) nearval, (GLfloat) farval, in _mesa_MatrixFrustumEXT()
182 GLdouble nearval, GLdouble farval, in matrix_ortho() argument
189 left, right, bottom, top, nearval, farval); in matrix_ortho()
[all …]
Dviewport.h65 _mesa_DepthRange(GLclampd nearval, GLclampd farval);
68 _mesa_DepthRangef(GLclampf nearval, GLclampf farval);
91 GLclampd nearval, GLclampd farval);
Dmatrix.h46 GLdouble nearval, GLdouble farval );
51 GLdouble nearval, GLdouble farval );
Ddlist.c2606 save_DepthRange(GLclampd nearval, GLclampd farval) in save_DepthRange() argument
2613 n[1].f = (GLfloat) nearval; in save_DepthRange()
2617 CALL_DepthRange(ctx->Exec, (nearval, farval)); in save_DepthRange()
2860 GLdouble bottom, GLdouble top, GLdouble nearval, GLdouble farval) in save_Frustum() argument
2871 n[5].f = (GLfloat) nearval; in save_Frustum()
2875 CALL_Frustum(ctx->Exec, (left, right, bottom, top, nearval, farval)); in save_Frustum()
3458 GLdouble bottom, GLdouble top, GLdouble nearval, GLdouble farval) in save_Ortho() argument
3469 n[5].f = (GLfloat) nearval; in save_Ortho()
3473 CALL_Ortho(ctx->Exec, (left, right, bottom, top, nearval, farval)); in save_Ortho()
9496 GLdouble bottom, GLdouble top, GLdouble nearval, GLdouble farval) in save_MatrixOrthoEXT() argument
[all …]
/third_party/mesa3d/src/mesa/math/
Dm_matrix.h113 float nearval, float farval);
119 GLfloat nearval, GLfloat farval );
125 GLfloat nearval, GLfloat farval );
Dm_matrix.c872 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()