Home
last modified time | relevance | path

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

/frameworks/native/opengl/libagl/
Dmatrix.cpp84 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()
[all …]
Dcontext.h479 GLfloat zNear; member
Dtexture.cpp589 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/native/opengl/include/GLES/
Dglext.h672 GL_API void GL_APIENTRY glDepthRangexOES (GLclampx zNear, GLclampx zFar);
675 …rustumxOES (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
693 …lOrthoxOES (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
712 typedef void (GL_APIENTRYP PFNGLDEPTHRANGEXOESPROC) (GLclampx zNear, GLclampx zFar);
715 …MXOESPROC) (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
733 …OXOESPROC) (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
846 GL_API void GL_APIENTRY glDepthRangefOES (GLclampf zNear, GLclampf zFar);
847 …rustumfOES (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
848 …lOrthofOES (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
853 typedef void (GL_APIENTRYP PFNGLDEPTHRANGEFOESPROC) (GLclampf zNear, GLclampf zFar);
[all …]
Dgl.h598 GL_API void GL_APIENTRY glDepthRangef (GLclampf zNear, GLclampf zFar);
601 …glFrustumf (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
619 …Y glOrthof (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
659 GL_API void GL_APIENTRY glDepthRangex (GLclampx zNear, GLclampx zFar);
671 …glFrustumx (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
707 …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.cpp830 (JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) { in android_glDepthRangef__FF() argument
832 (GLclampf)zNear, in android_glDepthRangef__FF()
840 (JNIEnv *_env, jobject _this, jint zNear, jint zFar) { in android_glDepthRangex__II() argument
842 (GLclampx)zNear, in android_glDepthRangex__II()
1195 …(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, … in android_glFrustumf__FFFFFF() argument
1201 (GLfloat)zNear, in android_glFrustumf__FFFFFF()
1209 …(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar)… in android_glFrustumx__IIIIII() argument
1215 (GLfixed)zNear, in android_glFrustumx__IIIIII()
2542 …(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, … in android_glOrthof__FFFFFF() argument
2548 (GLfloat)zNear, in android_glOrthof__FFFFFF()
[all …]
Dandroid_opengl_GLES11Ext.cpp1022 (JNIEnv *_env, jobject _this, jint zNear, jint zFar) { in android_glDepthRangexOES__II() argument
1024 (GLclampx)zNear, in android_glDepthRangexOES__II()
1108 …(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar)… in android_glFrustumxOES__IIIIII() argument
1114 (GLfixed)zNear, in android_glFrustumxOES__IIIIII()
1941 …(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar)… in android_glOrthoxOES__IIIIII() argument
1947 (GLfixed)zNear, in android_glOrthoxOES__IIIIII()
2937 (JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) { in android_glDepthRangefOES__FF() argument
2939 (GLclampf)zNear, in android_glDepthRangefOES__FF()
2947 …(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, … in android_glFrustumfOES__FFFFFF() argument
2953 (GLfloat)zNear, in android_glFrustumfOES__FFFFFF()
[all …]
Dcom_google_android_gles_jni_GLImpl.cpp650 (JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) { in android_glDepthRangef__FF() argument
652 (GLclampf)zNear, in android_glDepthRangef__FF()
660 (JNIEnv *_env, jobject _this, jint zNear, jint zFar) { in android_glDepthRangex__II() argument
662 (GLclampx)zNear, in android_glDepthRangex__II()
1071 …(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, … in android_glFrustumf__FFFFFF() argument
1077 (GLfloat)zNear, in android_glFrustumf__FFFFFF()
1085 …(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar)… in android_glFrustumx__IIIIII() argument
1091 (GLfixed)zNear, in android_glFrustumx__IIIIII()
3259 …(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, … in android_glOrthof__FFFFFF() argument
3265 (GLfloat)zNear, in android_glOrthof__FFFFFF()
[all …]
Dandroid_opengl_GLES20.cpp1244 (JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) { in android_glDepthRangef__FF() argument
1246 (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()