Searched refs:Near (Results 1 - 25 of 31) sorted by relevance

12

/xsrc/external/mit/mesa-demos/dist/src/tests/
H A Dfogcoord.c14 static GLfloat Near = 5.0, Far = 25.0; variable in typeref:typename:GLfloat
25 GLfloat f = Near + t * (Far - Near);
51 glFrustum( -ar, ar, -1.0, 1.0, Near, Far );
82 glFogf(GL_FOG_START, Near);
H A Dbug_3101.c42 static const GLfloat Near = 5.0, Far = 25.0; variable in typeref:typename:const GLfloat
81 glFrustum( -ar, ar, -1.0, 1.0, Near, Far );
H A Dinvert.c47 static const GLfloat Near = 5.0, Far = 25.0; variable in typeref:typename:const GLfloat
106 glFrustum( -ar, ar, -1.0, 1.0, Near, Far );
H A Dseccolor.c14 static GLfloat Near = 5.0, Far = 25.0; variable in typeref:typename:GLfloat
72 glFrustum( -ar, ar, -1.0, 1.0, Near, Far );
H A Dbumpmap.c40 static const GLfloat Near = 5.0, Far = 25.0; variable in typeref:typename:const GLfloat
87 glFrustum( -ar, ar, -1.0, 1.0, Near, Far );
H A Dbug_3050.c47 static const GLfloat Near = 5.0, Far = 25.0; variable in typeref:typename:const GLfloat
H A Dinterleave.c44 static const GLfloat Near = 5.0, Far = 25.0; variable in typeref:typename:const GLfloat
316 glFrustum( -ar, ar, -1.0, 1.0, Near, Far );
H A Dprog_parameter.c58 static const GLfloat Near = 5.0, Far = 25.0; variable in typeref:typename:const GLfloat
88 glFrustum( -ar, ar, -1.0, 1.0, Near, Far );
/xsrc/external/mit/mesa-demos/dist/src/demos/
H A Dvao_demo.c36 static const GLfloat Near = 5.0, Far = 25.0; variable in typeref:typename:const GLfloat
239 glFrustum( -ar, ar, -1.0, 1.0, Near, Far );
/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
H A Dviewport.c89 GLdouble Near, Far; /**< Depth buffer range */ member in struct:gl_depthrange_inputs
290 if (ctx->ViewportArray[idx].Near == nearval &&
298 ctx->ViewportArray[idx].Near = CLAMP(nearval, 0.0, 1.0);
367 set_depth_range_no_notify(ctx, i + first, inputs[i].Near, inputs[i].Far);
489 ctx->ViewportArray[i].Near = 0.0;
585 double n = ctx->ViewportArray[i].Near;
H A Drastpos.c451 ctx->ViewportArray[0].Near,
457 ctx->ViewportArray[0].Near);
711 * (ctx->ViewportArray[0].Far - ctx->ViewportArray[0].Near)
712 + ctx->ViewportArray[0].Near;
H A Dget.c826 v->value_double_2[0] = ctx->ViewportArray[0].Near;
2452 v->value_double_2[0] = ctx->ViewportArray[index].Near;
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/nouveau/
H A Dnouveau_util.h157 a[MAT_SZ] = fb->_DepthMaxF * (vp->Far - vp->Near) / 2;
174 a[2] = fb->_DepthMaxF * (vp->Far + vp->Near) / 2;
H A Dnv10_state_fb.c188 a[2] = nv10_transform_depth(ctx, (vp->Far + vp->Near) / 2);
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/nouveau/
H A Dnouveau_util.h157 a[MAT_SZ] = fb->_DepthMaxF * (vp->Far - vp->Near) / 2;
174 a[2] = fb->_DepthMaxF * (vp->Far + vp->Near) / 2;
H A Dnv10_state_fb.c188 a[2] = nv10_transform_depth(ctx, (vp->Far + vp->Near) / 2);
/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Dviewport.c90 GLdouble Near, Far; /**< Depth buffer range */ member in struct:gl_depthrange_inputs
291 if (ctx->ViewportArray[idx].Near == nearval &&
299 ctx->ViewportArray[idx].Near = SATURATE(nearval);
368 set_depth_range_no_notify(ctx, i + first, inputs[i].Near, inputs[i].Far);
490 ctx->ViewportArray[i].Near = 0.0;
590 double n = ctx->ViewportArray[i].Near;
H A Drastpos.c457 ctx->ViewportArray[0].Near,
463 ctx->ViewportArray[0].Near);
717 * (ctx->ViewportArray[0].Far - ctx->ViewportArray[0].Near)
718 + ctx->ViewportArray[0].Near;
/xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/
H A Ds_depth.c174 if (ctx->ViewportArray[0].Near < ctx->ViewportArray[0].Far) {
175 min_f = ctx->ViewportArray[0].Near;
179 max_f = ctx->ViewportArray[0].Near;
/xsrc/external/mit/MesaLib/dist/src/mesa/swrast/
H A Ds_depth.c174 if (ctx->ViewportArray[0].Near < ctx->ViewportArray[0].Far) {
175 min_f = ctx->ViewportArray[0].Near;
179 max_f = ctx->ViewportArray[0].Near;
/xsrc/external/mit/MesaLib.old/dist/src/mesa/program/
H A Dprog_statevars.c361 value[0] = ctx->ViewportArray[0].Near; /* near */
363 value[2] = ctx->ViewportArray[0].Far - ctx->ViewportArray[0].Near; /* far - near */
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_cb_drawpixels.c1288 if (ctx->ViewportArray[0].Near < ctx->ViewportArray[0].Far) {
1289 depth_near = ctx->ViewportArray[0].Near;
1293 depth_far = ctx->ViewportArray[0].Near;
/xsrc/external/mit/MesaLib/dist/src/mesa/program/
H A Dprog_statevars.c466 value[0] = ctx->ViewportArray[0].Near; /* near */
468 value[2] = ctx->ViewportArray[0].Far - ctx->ViewportArray[0].Near; /* far - near */
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/
H A DgenX_state_upload.c2287 ccv.MinimumDepth = MIN2(vp->Near, vp->Far);
2288 ccv.MaximumDepth = MAX2(vp->Near, vp->Far);
2290 ccv.MinimumDepth = MIN2(vp->Near, vp->Far);
2294 ccv.MaximumDepth = MAX2(vp->Near, vp->Far);
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/
H A DgenX_state_upload.c2270 ccv.MinimumDepth = MIN2(vp->Near, vp->Far);
2271 ccv.MaximumDepth = MAX2(vp->Near, vp->Far);
2273 ccv.MinimumDepth = MIN2(vp->Near, vp->Far);
2277 ccv.MaximumDepth = MAX2(vp->Near, vp->Far);

Completed in 45 milliseconds

12