Lines Matching refs:zNear
84 c->transforms.vpt.zNear = 0.0f; in ogles_init_matrix()
702 GLfloat near = c->transforms.vpt.zNear; in ogles_viewport()
813 GLfloat zNear, GLfloat zFar, in frustumf() argument
818 cmpf(zNear, zFar) || in frustumf()
819 isZeroOrNegativef(zNear) || in frustumf()
827 const GLfloat r_depth = reciprocalf(zNear - zFar); in frustumf()
828 const GLfloat x = mul2f(zNear * r_width); in frustumf()
829 const GLfloat y = mul2f(zNear * r_height); in frustumf()
832 const GLfloat C = (zFar + zNear) * r_depth; in frustumf()
833 const GLfloat D = mul2f(zFar * zNear * r_depth); in frustumf()
855 GLfloat zNear, GLfloat zFar, in orthof() argument
860 cmpf(zNear, zFar)) in orthof()
867 const GLfloat r_depth = reciprocalf(zFar - zNear); in orthof()
873 const GLfloat tz = -(zFar + zNear) * r_depth; in orthof()
891 static void depthRangef(GLclampf zNear, GLclampf zFar, ogles_context_t* c) in depthRangef() argument
893 zNear = clampToZerof(zNear > 1 ? 1 : zNear); in depthRangef()
896 f[10] = div2f(zFar - zNear); in depthRangef()
897 f[14] = div2f(zFar + zNear); in depthRangef()
899 c->transforms.vpt.zNear = zNear; in depthRangef()
997 GLfloat zNear, GLfloat zFar) in glFrustumf() argument
1000 frustumf(left, right, bottom, top, zNear, zFar, c); in glFrustumf()
1006 GLfixed zNear, GLfixed zFar) in glFrustumx() argument
1011 fixedToFloat(zNear), fixedToFloat(zFar), in glFrustumx()
1018 GLfloat zNear, GLfloat zFar) in glOrthof() argument
1021 orthof(left, right, bottom, top, zNear, zFar, c); in glOrthof()
1027 GLfixed zNear, GLfixed zFar) in glOrthox() argument
1032 fixedToFloat(zNear), fixedToFloat(zFar), in glOrthox()
1094 void glDepthRangef(GLclampf zNear, GLclampf zFar) in glDepthRangef() argument
1097 depthRangef(zNear, zFar, c); in glDepthRangef()
1100 void glDepthRangex(GLclampx zNear, GLclampx zFar) in glDepthRangex() argument
1103 depthRangef(fixedToFloat(zNear), fixedToFloat(zFar), c); in glDepthRangex()