Searched refs:zNear (Results 1 - 21 of 21) sorted by relevance

/frameworks/native/opengl/libagl/
H A Dmatrix.cpp84 c->transforms.vpt.zNear = 0.0f;
702 GLfloat near = c->transforms.vpt.zNear;
813 GLfloat zNear, GLfloat zFar,
818 cmpf(zNear, zFar) ||
819 isZeroOrNegativef(zNear) ||
827 const GLfloat r_depth = reciprocalf(zNear - zFar);
828 const GLfloat x = mul2f(zNear * r_width);
829 const GLfloat y = mul2f(zNear * r_height);
832 const GLfloat C = (zFar + zNear) * r_depth;
833 const GLfloat D = mul2f(zFar * zNear * r_dept
810 frustumf( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar, ogles_context_t* c) argument
852 orthof( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar, ogles_context_t* c) argument
891 depthRangef(GLclampf zNear, GLclampf zFar, ogles_context_t* c) argument
994 glFrustumf( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) argument
1003 glFrustumx( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) argument
1015 glOrthof( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) argument
1024 glOrthox( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) argument
1094 glDepthRangef(GLclampf zNear, GLclampf zFar) argument
1100 glDepthRangex(GLclampx zNear, GLclampx zFar) argument
[all...]
H A Dcontext.h479 GLfloat zNear; member in struct:android::gl::vp_transform_t
H A Dtexture.cpp589 GGLfixed n = gglFloatToFixed(c->transforms.vpt.zNear);
/frameworks/base/opengl/java/android/opengl/
H A DGLU.java106 * @param zNear specifies the distance from the viewer to the near clipping
112 float zNear, float zFar) {
113 float top = zNear * (float) Math.tan(fovy * (Math.PI / 360.0));
117 gl.glFrustumf(left, right, bottom, top, zNear, zFar);
111 gluPerspective(GL10 gl, float fovy, float aspect, float zNear, float zFar) argument
H A DGLES11Ext.java318 // C function void glDepthRangexOES ( GLclampx zNear, GLclampx zFar )
321 int zNear,
347 // C function void glFrustumxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
354 int zNear,
578 // C function void glOrthoxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
585 int zNear,
939 // C function void glDepthRangefOES ( GLclampf zNear, GLclampf zFar )
942 float zNear,
946 // C function void glFrustumfOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
953 float zNear,
320 glDepthRangexOES( int zNear, int zFar ) argument
349 glFrustumxOES( int left, int right, int bottom, int top, int zNear, int zFar ) argument
580 glOrthoxOES( int left, int right, int bottom, int top, int zNear, int zFar ) argument
941 glDepthRangefOES( float zNear, float zFar ) argument
948 glFrustumfOES( float left, float right, float bottom, float top, float zNear, float zFar ) argument
959 glOrthofOES( float left, float right, float bottom, float top, float zNear, float zFar ) argument
[all...]
H A DGLES10.java500 // C function void glDepthRangef ( GLclampf zNear, GLclampf zFar )
503 float zNear,
507 // C function void glDepthRangex ( GLclampx zNear, GLclampx zFar )
510 int zNear,
615 // C function void glFrustumf ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
622 float zNear,
626 // C function void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
633 int zNear,
974 // C function void glOrthof ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
981 float zNear,
502 glDepthRangef( float zNear, float zFar ) argument
509 glDepthRangex( int zNear, int zFar ) argument
617 glFrustumf( float left, float right, float bottom, float top, float zNear, float zFar ) argument
628 glFrustumx( int left, int right, int bottom, int top, int zNear, int zFar ) argument
976 glOrthof( float left, float right, float bottom, float top, float zNear, float zFar ) argument
987 glOrthox( int left, int right, int bottom, int top, int zNear, int zFar ) argument
[all...]
H A DMatrix.java377 * @param zNear
381 float fovy, float aspect, float zNear, float zFar) {
383 float rangeReciprocal = 1.0f / (zNear - zFar);
397 m[offset + 10] = (zFar + zNear) * rangeReciprocal;
402 m[offset + 14] = 2.0f * zFar * zNear * rangeReciprocal;
380 perspectiveM(float[] m, int offset, float fovy, float aspect, float zNear, float zFar) argument
H A DGLES20.java643 // C function void glDepthRangef ( GLclampf zNear, GLclampf zFar )
646 float zNear,
645 glDepthRangef( float zNear, float zFar ) argument
/frameworks/native/opengl/tools/glgen/specs/gles11/
H A DGLES11Ext.spec19 void glDepthRangexOES ( GLclampx zNear, GLclampx zFar )
22 void glFrustumxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
40 void glOrthoxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
76 void glDepthRangefOES ( GLclampf zNear, GLclampf zFar )
77 void glFrustumfOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
78 void glOrthofOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
H A 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 zFar )
41 void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
73 void glOrthof ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
74 void glOrthox ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
H A DGLES20.spec37 void glDepthRangef ( GLclampf zNear, GLclampf zFar )
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL10.java416 float zNear,
421 int zNear,
501 float zNear,
510 int zNear,
750 float zNear,
759 int zNear,
415 glDepthRangef( float zNear, float zFar ) argument
420 glDepthRangex( int zNear, int zFar ) argument
496 glFrustumf( float left, float right, float bottom, float top, float zNear, float zFar ) argument
505 glFrustumx( int left, int right, int bottom, int top, int zNear, int zFar ) argument
745 glOrthof( float left, float right, float bottom, float top, float zNear, float zFar ) argument
754 glOrthox( int left, int right, int bottom, int top, int zNear, int zFar ) argument
/frameworks/native/opengl/include/GLES/
H A Dglext.h672 GL_API void GL_APIENTRY glDepthRangexOES (GLclampx zNear, GLclampx zFar);
675 GL_API void GL_APIENTRY glFrustumxOES (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
693 GL_API void GL_APIENTRY glOrthoxOES (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
712 typedef void (GL_APIENTRYP PFNGLDEPTHRANGEXOESPROC) (GLclampx zNear, GLclampx zFar);
715 typedef void (GL_APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
733 typedef void (GL_APIENTRYP PFNGLORTHOXOESPROC) (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
846 GL_API void GL_APIENTRY glDepthRangefOES (GLclampf zNear, GLclampf zFar);
847 GL_API void GL_APIENTRY glFrustumfOES (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
848 GL_API void GL_APIENTRY glOrthofOES (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
853 typedef void (GL_APIENTRYP PFNGLDEPTHRANGEFOESPROC) (GLclampf zNear, GLclamp
[all...]
H A Dgl.h598 GL_API void GL_APIENTRY glDepthRangef (GLclampf zNear, GLclampf zFar);
601 GL_API void GL_APIENTRY glFrustumf (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
619 GL_API void GL_APIENTRY 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 GL_API void GL_APIENTRY glFrustumx (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
707 GL_API void GL_APIENTRY glOrthox (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DGLImpl.java314 // C function void glDepthRangef ( GLclampf zNear, GLclampf zFar )
317 float zNear,
321 // C function void glDepthRangex ( GLclampx zNear, GLclampx zFar )
324 int zNear,
429 // C function void glFrustumf ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
436 float zNear,
440 // C function void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
447 int zNear,
799 // C function void glOrthof ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
806 float zNear,
316 glDepthRangef( float zNear, float zFar ) argument
323 glDepthRangex( int zNear, int zFar ) argument
431 glFrustumf( float left, float right, float bottom, float top, float zNear, float zFar ) argument
442 glFrustumx( int left, int right, int bottom, int top, int zNear, int zFar ) argument
801 glOrthof( float left, float right, float bottom, float top, float zNear, float zFar ) argument
812 glOrthox( int left, int right, int bottom, int top, int zNear, int zFar ) argument
[all...]
/frameworks/native/opengl/tests/angeles/include/GLES/
H A Dgl.h497 GLAPI void APIENTRY glDepthRangef (GLclampf zNear, GLclampf zFar);
498 GLAPI void APIENTRY glDepthRangex (GLclampx zNear, GLclampx zFar);
512 GLAPI void APIENTRY glFrustumf (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
513 GLAPI void APIENTRY glFrustumx (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
545 GLAPI void APIENTRY glOrthof (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
546 GLAPI void APIENTRY glOrthox (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES10.cpp827 /* void glDepthRangef ( GLclampf zNear, GLclampf zFar ) */
830 (JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) {
832 (GLclampf)zNear,
837 /* void glDepthRangex ( GLclampx zNear, GLclampx zFar ) */
840 (JNIEnv *_env, jobject _this, jint zNear, jint zFar) {
842 (GLclampx)zNear,
1192 /* void glFrustumf ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */
1195 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) {
1201 (GLfloat)zNear,
1206 /* void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixe
829 android_glDepthRangef__FF(JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) argument
839 android_glDepthRangex__II(JNIEnv *_env, jobject _this, jint zNear, jint zFar) argument
1194 android_glFrustumf__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
1208 android_glFrustumx__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument
2541 android_glOrthof__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
2555 android_glOrthox__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument
[all...]
H A Dandroid_opengl_GLES11Ext.cpp1019 /* void glDepthRangexOES ( GLclampx zNear, GLclampx zFar ) */
1022 (JNIEnv *_env, jobject _this, jint zNear, jint zFar) {
1024 (GLclampx)zNear,
1105 /* void glFrustumxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) */
1108 (JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) {
1114 (GLfixed)zNear,
1938 /* void glOrthoxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) */
1941 (JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) {
1947 (GLfixed)zNear,
2934 /* void glDepthRangefOES ( GLclampf zNear, GLclamp
1021 android_glDepthRangexOES__II(JNIEnv *_env, jobject _this, jint zNear, jint zFar) argument
1107 android_glFrustumxOES__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument
1940 android_glOrthoxOES__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument
2936 android_glDepthRangefOES__FF(JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) argument
2946 android_glFrustumfOES__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
2960 android_glOrthofOES__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
[all...]
H A Dcom_google_android_gles_jni_GLImpl.cpp647 /* void glDepthRangef ( GLclampf zNear, GLclampf zFar ) */
650 (JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) {
652 (GLclampf)zNear,
657 /* void glDepthRangex ( GLclampx zNear, GLclampx zFar ) */
660 (JNIEnv *_env, jobject _this, jint zNear, jint zFar) {
662 (GLclampx)zNear,
1068 /* void glFrustumf ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */
1071 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) {
1077 (GLfloat)zNear,
1082 /* void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixe
649 android_glDepthRangef__FF(JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) argument
659 android_glDepthRangex__II(JNIEnv *_env, jobject _this, jint zNear, jint zFar) argument
1070 android_glFrustumf__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
1084 android_glFrustumx__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument
3258 android_glOrthof__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
3272 android_glOrthox__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument
[all...]
H A Dandroid_opengl_GLES20.cpp1241 /* void glDepthRangef ( GLclampf zNear, GLclampf zFar ) */
1244 (JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) {
1246 (GLclampf)zNear,
1243 android_glDepthRangef__FF(JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) argument
/frameworks/native/opengl/tests/angeles/
H A Ddemo.c503 GLfloat zNear, GLfloat zFar)
507 ymax = zNear * (GLfloat)tan(fovy * PI / 360);
514 (GLfixed)(zNear * 65536), (GLfixed)(zFar * 65536));
502 gluPerspective(GLfloat fovy, GLfloat aspect, GLfloat zNear, GLfloat zFar) argument

Completed in 3432 milliseconds