Searched defs:zNear (Results 1 - 15 of 15) 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.java368 * @param zNear
372 float fovy, float aspect, float zNear, float zFar) {
374 float rangeReciprocal = 1.0f / (zNear - zFar);
388 m[offset + 10] = (zFar + zNear) * rangeReciprocal;
393 m[offset + 14] = 2.0f * zFar * zNear * rangeReciprocal;
371 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,
990 // C function void glOrthof ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
997 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
992 glOrthof( float left, float right, float bottom, float top, float zNear, float zFar ) argument
1003 glOrthox( int left, int right, int bottom, int top, int zNear, int zFar ) argument
[all...]
H A DGLES20.java639 // C function void glDepthRangef ( GLclampf zNear, GLclampf zFar )
642 float zNear,
641 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.h475 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.cpp515 /* void glDepthRangef ( GLclampf zNear, GLclampf zFar ) */
518 (JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) {
520 (GLclampf)zNear,
525 /* void glDepthRangex ( GLclampx zNear, GLclampx zFar ) */
528 (JNIEnv *_env, jobject _this, jint zNear, jint zFar) {
530 (GLclampx)zNear,
936 /* void glFrustumf ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */
939 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) {
945 (GLfloat)zNear,
950 /* void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixe
517 android_glDepthRangef__FF(JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) argument
527 android_glDepthRangex__II(JNIEnv *_env, jobject _this, jint zNear, jint zFar) argument
938 android_glFrustumf__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
952 android_glFrustumx__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument
3126 android_glOrthof__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
3140 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.cpp696 /* void glDepthRangexOES ( GLclampx zNear, GLclampx zFar ) */
699 (JNIEnv *_env, jobject _this, jint zNear, jint zFar) {
701 (GLclampx)zNear,
782 /* void glFrustumxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) */
785 (JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) {
791 (GLfixed)zNear,
1615 /* void glOrthoxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) */
1618 (JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) {
1624 (GLfixed)zNear,
2611 /* void glDepthRangefOES ( GLclampf zNear, GLclamp
698 android_glDepthRangexOES__II(JNIEnv *_env, jobject _this, jint zNear, jint zFar) argument
784 android_glFrustumxOES__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument
1617 android_glOrthoxOES__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument
2613 android_glDepthRangefOES__FF(JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) argument
2623 android_glFrustumfOES__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
2637 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.cpp882 /* void glDepthRangef ( GLclampf zNear, GLclampf zFar ) */
885 (JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) {
887 (GLclampf)zNear,
884 android_glDepthRangef__FF(JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) argument
H A Dcom_google_android_gles_jni_GLImpl.cpp643 /* void glDepthRangef ( GLclampf zNear, GLclampf zFar ) */
646 (JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) {
648 (GLclampf)zNear,
653 /* void glDepthRangex ( GLclampx zNear, GLclampx zFar ) */
656 (JNIEnv *_env, jobject _this, jint zNear, jint zFar) {
658 (GLclampx)zNear,
1064 /* void glFrustumf ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */
1067 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) {
1073 (GLfloat)zNear,
1078 /* void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixe
645 android_glDepthRangef__FF(JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) argument
655 android_glDepthRangex__II(JNIEnv *_env, jobject _this, jint zNear, jint zFar) argument
1066 android_glFrustumf__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
1080 android_glFrustumx__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument
3254 android_glOrthof__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
3268 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
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_api.cpp1428 void GLTrace_glDepthRangef(GLclampf zNear, GLclampf zFar) { argument
1434 // copy argument zNear
1438 arg_zNear->add_floatvalue(zNear);
1449 glContext->hooks->gl.glDepthRangef(zNear, zFar);
11350 void GLTrace_glFrustumf(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) { argument
11380 // copy argument zNear
11384 arg_zNear->add_floatvalue(zNear);
11395 glContext->hooks->gl.glFrustumf(left, right, bottom, top, zNear, zFar);
11947 void GLTrace_glOrthof(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) { argument
11977 // copy argument zNear
12619 GLTrace_glDepthRangex(GLclampx zNear, GLclampx zFar) argument
12778 GLTrace_glFrustumx(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) argument
13674 GLTrace_glOrthox(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) argument
15097 GLTrace_glDepthRangexOES(GLclampx zNear, GLclampx zFar) argument
15200 GLTrace_glFrustumxOES(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) argument
15901 GLTrace_glOrthoxOES(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) argument
17176 GLTrace_glDepthRangefOES(GLclampf zNear, GLclampf zFar) argument
17210 GLTrace_glFrustumfOES(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) argument
17268 GLTrace_glOrthofOES(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) argument
[all...]

Completed in 290 milliseconds