Lines Matching refs:zNear
83 c->transforms.vpt.zNear = 0.0f; in ogles_init_matrix()
691 GLfloat near = c->transforms.vpt.zNear; in ogles_viewport()
802 GLfloat zNear, GLfloat zFar, in frustumf() argument
807 cmpf(zNear, zFar) || in frustumf()
808 isZeroOrNegativef(zNear) || in frustumf()
816 const GLfloat r_depth = reciprocalf(zNear - zFar); in frustumf()
817 const GLfloat x = mul2f(zNear * r_width); in frustumf()
818 const GLfloat y = mul2f(zNear * r_height); in frustumf()
821 const GLfloat C = (zFar + zNear) * r_depth; in frustumf()
822 const GLfloat D = mul2f(zFar * zNear * r_depth); in frustumf()
844 GLfloat zNear, GLfloat zFar, in orthof() argument
849 cmpf(zNear, zFar)) in orthof()
856 const GLfloat r_depth = reciprocalf(zFar - zNear); in orthof()
862 const GLfloat tz = -(zFar + zNear) * r_depth; in orthof()
880 static void depthRangef(GLclampf zNear, GLclampf zFar, ogles_context_t* c) in depthRangef() argument
882 zNear = clampToZerof(zNear > 1 ? 1 : zNear); in depthRangef()
885 f[10] = div2f(zFar - zNear); in depthRangef()
886 f[14] = div2f(zFar + zNear); in depthRangef()
888 c->transforms.vpt.zNear = zNear; in depthRangef()
986 GLfloat zNear, GLfloat zFar) in glFrustumf() argument
989 frustumf(left, right, bottom, top, zNear, zFar, c); in glFrustumf()
995 GLfixed zNear, GLfixed zFar) in glFrustumx() argument
1000 fixedToFloat(zNear), fixedToFloat(zFar), in glFrustumx()
1007 GLfloat zNear, GLfloat zFar) in glOrthof() argument
1010 orthof(left, right, bottom, top, zNear, zFar, c); in glOrthof()
1016 GLfixed zNear, GLfixed zFar) in glOrthox() argument
1021 fixedToFloat(zNear), fixedToFloat(zFar), in glOrthox()
1083 void glDepthRangef(GLclampf zNear, GLclampf zFar) in glDepthRangef() argument
1086 depthRangef(zNear, zFar, c); in glDepthRangef()
1089 void glDepthRangex(GLclampx zNear, GLclampx zFar) in glDepthRangex() argument
1092 depthRangef(fixedToFloat(zNear), fixedToFloat(zFar), c); in glDepthRangex()