Home
last modified time | relevance | path

Searched refs:near_val (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_quad_depth_test.c799 float near_val, far_val; in depth_test_quads_fallback() local
808near_val = qs->softpipe->viewports[vp_idx].translate[2] - qs->softpipe->viewports[vp_idx].scale[2]; in depth_test_quads_fallback()
809 far_val = near_val + (qs->softpipe->viewports[vp_idx].scale[2] * 2.0); in depth_test_quads_fallback()
810 data.minval = MIN2(near_val, far_val); in depth_test_quads_fallback()
811 data.maxval = MAX2(near_val, far_val); in depth_test_quads_fallback()
/external/virglrenderer/src/
Dvrend_renderer.c419 GLclampd near_val, far_val; member
2137 GLclampd near_val, far_val; in vrend_set_viewport_states() local
2156 near_val = state[i].translate[2] - state[i].scale[2]; in vrend_set_viewport_states()
2157 far_val = near_val + (state[i].scale[2] * 2.0); in vrend_set_viewport_states()
2174 ctx->sub->depth_scale = fabsf(far_val - near_val); in vrend_set_viewport_states()
2175 ctx->sub->depth_transform = near_val; in vrend_set_viewport_states()
2178 if (ctx->sub->vps[idx].near_val != near_val || in vrend_set_viewport_states()
2180 ctx->sub->vps[idx].near_val = near_val; in vrend_set_viewport_states()
2184 if (near_val < 0.0f || far_val < 0.0f || in vrend_set_viewport_states()
2185 near_val > 1.0f || far_val > 1.0f || idx) { in vrend_set_viewport_states()
[all …]
/external/mesa3d/include/GL/
Dgl.h850 GLAPI void GLAPIENTRY glDepthRange( GLclampd near_val, GLclampd far_val );
870 GLdouble near_val, GLdouble far_val );
874 GLdouble near_val, GLdouble far_val );