Searched refs:half_depth (Results 1 – 11 of 11) sorted by relevance
70 GLfloat half_depth = (GLfloat)(ctx->Viewport.Far - ctx->Viewport.Near) * 0.5f; in update_viewport() local74 st->state.viewport.scale[2] = half_depth; in update_viewport()79 st->state.viewport.translate[2] = half_depth + z; in update_viewport()
59 float half_depth = ((float)far - (float)near) / 2.0f; in set_viewport() local64 vp.scale[2] = half_depth; in set_viewport()69 vp.translate[2] = half_depth + z; in set_viewport()
58 float half_depth = ((float)far - (float)near) / 2.0f; in set_viewport() local63 vp.scale[2] = half_depth; in set_viewport()68 vp.translate[2] = half_depth + z; in set_viewport()
88 float half_depth = ((float)far - (float)near) / 2.0f; in set_viewport() local93 vp.scale[2] = half_depth; in set_viewport()98 vp.translate[2] = half_depth + z; in set_viewport()
68 float half_depth = ((float)far - (float)near) / 2.0f; in set_viewport() local73 vp.scale[2] = half_depth; in set_viewport()78 vp.translate[2] = half_depth + z; in set_viewport()
194 float half_depth = (far - near) / 2.0f; in graw_util_viewport() local199 vp.scale[2] = half_depth; in graw_util_viewport()204 vp.translate[2] = half_depth + z; in graw_util_viewport()
126 float half_depth = ((float)far - (float)near) / 2.0f; in set_viewport() local131 vp.scale[2] = half_depth; in set_viewport()136 vp.translate[2] = half_depth + z; in set_viewport()
182 float half_depth = ((float)far - (float)near) / 2.0f; in set_viewport() local187 vp.scale[2] = half_depth; in set_viewport()192 vp.translate[2] = half_depth + z; in set_viewport()
215 float half_depth = ((float)far - (float)near) / 2.0f; in set_viewport() local220 vp.scale[2] = half_depth; in set_viewport()225 vp.translate[2] = half_depth + z; in set_viewport()
177 float half_depth = ((float)FAR - (float)NEAR) / 2.0f; in init_prog() local190 p->viewport.scale[2] = half_depth; in init_prog()195 p->viewport.translate[2] = half_depth + z; in init_prog()
236 float half_depth = ((float)FAR - (float)NEAR) / 2.0f; in init_prog() local249 p->viewport.scale[2] = half_depth; in init_prog()254 p->viewport.translate[2] = half_depth + z; in init_prog()