Searched defs:zNear (Results 1 - 14 of 14) sorted by relevance

/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 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 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 DGLES20.java643 // C function void glDepthRangef ( GLclampf zNear, GLclampf zFar )
646 float zNear,
645 glDepthRangef( float zNear, float zFar ) argument
/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.h480 GLfloat zNear; member in struct:android::gl::vp_transform_t
/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
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES10.cpp880 /* void glDepthRangef ( GLclampf zNear, GLclampf zFar ) */
883 (JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) {
885 (GLclampf)zNear,
890 /* void glDepthRangex ( GLclampx zNear, GLclampx zFar ) */
893 (JNIEnv *_env, jobject _this, jint zNear, jint zFar) {
895 (GLclampx)zNear,
1263 /* void glFrustumf ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */
1266 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) {
1272 (GLfloat)zNear,
1277 /* void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixe
882 android_glDepthRangef__FF(JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) argument
892 android_glDepthRangex__II(JNIEnv *_env, jobject _this, jint zNear, jint zFar) argument
1265 android_glFrustumf__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
1279 android_glFrustumx__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument
2716 android_glOrthof__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
2730 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.cpp1098 /* void glDepthRangexOES ( GLclampx zNear, GLclampx zFar ) */
1101 (JNIEnv *_env, jobject _this, jint zNear, jint zFar) {
1103 (GLclampx)zNear,
1198 /* void glFrustumxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) */
1201 (JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) {
1207 (GLfixed)zNear,
2177 /* void glOrthoxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) */
2180 (JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) {
2186 (GLfixed)zNear,
3263 /* void glDepthRangefOES ( GLclampf zNear, GLclamp
1100 android_glDepthRangexOES__II(JNIEnv *_env, jobject _this, jint zNear, jint zFar) argument
1200 android_glFrustumxOES__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument
2179 android_glOrthoxOES__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument
3265 android_glDepthRangefOES__FF(JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) argument
3275 android_glFrustumfOES__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
3289 android_glOrthofOES__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
[all...]
H A Dandroid_opengl_GLES20.cpp1312 /* void glDepthRangef ( GLclampf zNear, GLclampf zFar ) */
1315 (JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) {
1317 (GLclampf)zNear,
1314 android_glDepthRangef__FF(JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) argument
H A Dcom_google_android_gles_jni_GLImpl.cpp689 /* void glDepthRangef ( GLclampf zNear, GLclampf zFar ) */
692 (JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) {
694 (GLclampf)zNear,
699 /* void glDepthRangex ( GLclampx zNear, GLclampx zFar ) */
702 (JNIEnv *_env, jobject _this, jint zNear, jint zFar) {
704 (GLclampx)zNear,
1128 /* void glFrustumf ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */
1131 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) {
1137 (GLfloat)zNear,
1142 /* void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixe
691 android_glDepthRangef__FF(JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) argument
701 android_glDepthRangex__II(JNIEnv *_env, jobject _this, jint zNear, jint zFar) argument
1130 android_glFrustumf__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
1144 android_glFrustumx__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument
3428 android_glOrthof__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
3442 android_glOrthox__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument
[all...]
/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/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

Completed in 3101 milliseconds