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.java648 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.java320 float zNear, in glDepthRangef() argument
327 int zNear, in glDepthRangex() argument
439 float zNear, in glFrustumf() argument
450 int zNear, in glFrustumx() argument
809 float zNear, in glOrthof() argument
820 int zNear, in glOrthox() argument
/frameworks/base/core/jni/
Dandroid_opengl_GLES10.cpp848 (JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) { in android_glDepthRangef__FF() argument
850 (GLclampf)zNear, in android_glDepthRangef__FF()
858 (JNIEnv *_env, jobject _this, jint zNear, jint zFar) { in android_glDepthRangex__II() argument
860 (GLclampx)zNear, in android_glDepthRangex__II()
1231 …(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, … in android_glFrustumf__FFFFFF() argument
1237 (GLfloat)zNear, in android_glFrustumf__FFFFFF()
1245 …(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar)… in android_glFrustumx__IIIIII() argument
1251 (GLfixed)zNear, in android_glFrustumx__IIIIII()
2682 …(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, … in android_glOrthof__FFFFFF() argument
2688 (GLfloat)zNear, in android_glOrthof__FFFFFF()
[all …]
Dandroid_opengl_GLES11Ext.cpp1066 (JNIEnv *_env, jobject _this, jint zNear, jint zFar) { in android_glDepthRangexOES__II() argument
1068 (GLclampx)zNear, in android_glDepthRangexOES__II()
1166 …(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar)… in android_glFrustumxOES__IIIIII() argument
1172 (GLfixed)zNear, in android_glFrustumxOES__IIIIII()
2145 …(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar)… in android_glOrthoxOES__IIIIII() argument
2151 (GLfixed)zNear, in android_glOrthoxOES__IIIIII()
3231 (JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) { in android_glDepthRangefOES__FF() argument
3233 (GLclampf)zNear, in android_glDepthRangefOES__FF()
3241 …(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, … in android_glFrustumfOES__FFFFFF() argument
3247 (GLfloat)zNear, in android_glFrustumfOES__FFFFFF()
[all …]
Dcom_google_android_gles_jni_GLImpl.cpp632 (JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) { in android_glDepthRangef__FF() argument
634 (GLclampf)zNear, in android_glDepthRangef__FF()
642 (JNIEnv *_env, jobject _this, jint zNear, jint zFar) { in android_glDepthRangex__II() argument
644 (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()
3369 …(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, … in android_glOrthof__FFFFFF() argument
3375 (GLfloat)zNear, in android_glOrthof__FFFFFF()
[all …]
Dandroid_opengl_GLES20.cpp1280 (JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) { in android_glDepthRangef__FF() argument
1282 (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)