Home
last modified time | relevance | path

Searched refs:zNear (Results 1 – 23 of 23) sorted by relevance

/frameworks/native/opengl/libagl/
Dmatrix.cpp83 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()
[all …]
Dcontext.h480 GLfloat zNear; member
Dtexture.cpp578 GGLfixed n = gglFloatToFixed(c->transforms.vpt.zNear); in set_depth_and_fog()
/frameworks/native/opengl/tools/glgen/specs/gles11/
DGLES11Ext.spec19 void glDepthRangexOES ( GLclampx zNear, GLclampx zFar )
22 void glFrustumxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfix…
40 void glOrthoxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed…
76 void glDepthRangefOES ( GLclampf zNear, GLclampf zFar )
77 void glFrustumfOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLflo…
78 void glOrthofOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat…
DGLES10.spec25 void glDepthRangef ( GLclampf zNear, GLclampf zFar )
26 void glDepthRangex ( GLclampx zNear, GLclampx zFar )
40 void glFrustumf ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat …
41 void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed …
73 void glOrthof ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zF…
74 void glOrthox ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zF…
DGLES20.spec37 void glDepthRangef ( GLclampf zNear, GLclampf zFar )
/frameworks/base/opengl/java/android/opengl/
DGLU.java112 float zNear, float zFar) { in gluPerspective() argument
113 float top = zNear * (float) Math.tan(fovy * (Math.PI / 360.0)); in gluPerspective()
117 gl.glFrustumf(left, right, bottom, top, zNear, zFar); in gluPerspective()
DGLES11Ext.java321 int zNear, in glDepthRangexOES() argument
354 int zNear, in glFrustumxOES() argument
585 int zNear, in glOrthoxOES() argument
942 float zNear, in glDepthRangefOES() argument
953 float zNear, in glFrustumfOES() argument
964 float zNear, in glOrthofOES() argument
DGLES10.java503 float zNear, in glDepthRangef() argument
510 int zNear, in glDepthRangex() argument
622 float zNear, in glFrustumf() argument
633 int zNear, in glFrustumx() argument
981 float zNear, in glOrthof() argument
992 int zNear, in glOrthox() argument
DMatrix.java381 float fovy, float aspect, float zNear, float zFar) { in perspectiveM() argument
383 float rangeReciprocal = 1.0f / (zNear - zFar); in perspectiveM()
397 m[offset + 10] = (zFar + zNear) * rangeReciprocal; in perspectiveM()
402 m[offset + 14] = 2.0f * zFar * zNear * rangeReciprocal; in perspectiveM()
DGLES20.java646 float zNear, in glDepthRangef() argument
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
DGL10.java416 float zNear, in glDepthRangef() argument
421 int zNear, in glDepthRangex() argument
501 float zNear, in glFrustumf() argument
510 int zNear, in glFrustumx() argument
750 float zNear, in glOrthof() argument
759 int zNear, in glOrthox() argument
/frameworks/native/opengl/tools/glgen/specs/jsr239/
Dglspec-1.025 void glDepthRangef ( GLclampf zNear, GLclampf zFar )
26 void glDepthRangex ( GLclampx zNear, GLclampx zFar )
40 void glFrustumf ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat …
41 void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed …
73 void glOrthof ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zF…
74 void glOrthox ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zF…
/frameworks/native/opengl/tests/angeles/include/GLES/
Dgl.h497 GLAPI void APIENTRY glDepthRangef (GLclampf zNear, GLclampf zFar);
498 GLAPI void APIENTRY glDepthRangex (GLclampx zNear, GLclampx zFar);
512 …glFrustumf (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
513 …glFrustumx (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
545 …Y glOrthof (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
546 …Y glOrthox (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
/frameworks/base/opengl/java/com/google/android/gles_jni/
DGLImpl.java317 float zNear, in glDepthRangef() argument
324 int zNear, in glDepthRangex() argument
436 float zNear, in glFrustumf() argument
447 int zNear, in glFrustumx() argument
806 float zNear, in glOrthof() argument
817 int zNear, in glOrthox() argument
/frameworks/base/core/jni/
Dandroid_opengl_GLES10.cpp882 (JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) { in android_glDepthRangef__FF() argument
884 (GLclampf)zNear, in android_glDepthRangef__FF()
892 (JNIEnv *_env, jobject _this, jint zNear, jint zFar) { in android_glDepthRangex__II() argument
894 (GLclampx)zNear, in android_glDepthRangex__II()
1265 …(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, … in android_glFrustumf__FFFFFF() argument
1271 (GLfloat)zNear, in android_glFrustumf__FFFFFF()
1279 …(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar)… in android_glFrustumx__IIIIII() argument
1285 (GLfixed)zNear, in android_glFrustumx__IIIIII()
2716 …(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, … in android_glOrthof__FFFFFF() argument
2722 (GLfloat)zNear, in android_glOrthof__FFFFFF()
[all …]
Dandroid_opengl_GLES11Ext.cpp1100 (JNIEnv *_env, jobject _this, jint zNear, jint zFar) { in android_glDepthRangexOES__II() argument
1102 (GLclampx)zNear, in android_glDepthRangexOES__II()
1200 …(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar)… in android_glFrustumxOES__IIIIII() argument
1206 (GLfixed)zNear, in android_glFrustumxOES__IIIIII()
2179 …(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar)… in android_glOrthoxOES__IIIIII() argument
2185 (GLfixed)zNear, in android_glOrthoxOES__IIIIII()
3265 (JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) { in android_glDepthRangefOES__FF() argument
3267 (GLclampf)zNear, in android_glDepthRangefOES__FF()
3275 …(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, … in android_glFrustumfOES__FFFFFF() argument
3281 (GLfloat)zNear, in android_glFrustumfOES__FFFFFF()
[all …]
Dcom_google_android_gles_jni_GLImpl.cpp691 (JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) { in android_glDepthRangef__FF() argument
693 (GLclampf)zNear, in android_glDepthRangef__FF()
701 (JNIEnv *_env, jobject _this, jint zNear, jint zFar) { in android_glDepthRangex__II() argument
703 (GLclampx)zNear, in android_glDepthRangex__II()
1130 …(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, … in android_glFrustumf__FFFFFF() argument
1136 (GLfloat)zNear, in android_glFrustumf__FFFFFF()
1144 …(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar)… in android_glFrustumx__IIIIII() argument
1150 (GLfixed)zNear, in android_glFrustumx__IIIIII()
3428 …(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, … in android_glOrthof__FFFFFF() argument
3434 (GLfloat)zNear, in android_glOrthof__FFFFFF()
[all …]
Dandroid_opengl_GLES20.cpp1314 (JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) { in android_glDepthRangef__FF() argument
1316 (GLclampf)zNear, in android_glDepthRangef__FF()
/frameworks/native/opengl/tests/angeles/
Ddemo.c503 GLfloat zNear, GLfloat zFar) in gluPerspective() argument
507 ymax = zNear * (GLfloat)tan(fovy * PI / 360); in gluPerspective()
514 (GLfixed)(zNear * 65536), (GLfixed)(zFar * 65536)); in gluPerspective()
/frameworks/native/opengl/libs/GLES2/
Dgl2ext_api.in1282 …ode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) {
1283 CALL_GL_API(glMatrixFrustumEXT, mode, left, right, bottom, top, zNear, zFar);
1312 …ode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) {
1313 CALL_GL_API(glMatrixOrthoEXT, mode, left, right, bottom, top, zNear, zFar);
/frameworks/native/opengl/include/GLES2/
Dgl2ext.h3137 …mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
3147 …mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
3214 …mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
3224 …mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
/frameworks/native/opengl/libs/
Dentries.in569 … mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar)
587 … mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar)