/frameworks/native/opengl/libagl/ |
H A D | matrix.cpp | 83 c->transforms.vpt.zNear = 0.0f; 691 GLfloat near = c->transforms.vpt.zNear; 802 GLfloat zNear, GLfloat zFar, 807 cmpf(zNear, zFar) || 808 isZeroOrNegativef(zNear) || 816 const GLfloat r_depth = reciprocalf(zNear - zFar); 817 const GLfloat x = mul2f(zNear * r_width); 818 const GLfloat y = mul2f(zNear * r_height); 821 const GLfloat C = (zFar + zNear) * r_depth; 822 const GLfloat D = mul2f(zFar * zNear * r_dept 799 frustumf( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar, ogles_context_t* c) argument 841 orthof( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar, ogles_context_t* c) argument 880 depthRangef(GLclampf zNear, GLclampf zFar, ogles_context_t* c) argument 983 glFrustumf( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) argument 992 glFrustumx( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) argument 1004 glOrthof( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) argument 1013 glOrthox( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) argument 1083 glDepthRangef(GLclampf zNear, GLclampf zFar) argument 1089 glDepthRangex(GLclampx zNear, GLclampx zFar) argument [all...] |
H A D | context.h | 480 GLfloat zNear; member in struct:android::gl::vp_transform_t
|
H A D | texture.cpp | 578 GGLfixed n = gglFloatToFixed(c->transforms.vpt.zNear);
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLU.java | 106 * @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 D | GLES11Ext.java | 318 // 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 D | GLES10.java | 500 // 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 D | Matrix.java | 377 * @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 D | GLES20.java | 643 // 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 D | GLES11Ext.spec | 19 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 D | GLES10.spec | 25 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 D | GLES20.spec | 37 void glDepthRangef ( GLclampf zNear, GLclampf zFar )
|
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
H A D | GL10.java | 416 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/base/opengl/java/com/google/android/gles_jni/ |
H A D | GLImpl.java | 314 // 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 D | gl.h | 497 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 D | android_opengl_GLES10.cpp | 879 /* void glDepthRangef ( GLclampf zNear, GLclampf zFar ) */ 882 (JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) { 884 (GLclampf)zNear, 889 /* void glDepthRangex ( GLclampx zNear, GLclampx zFar ) */ 892 (JNIEnv *_env, jobject _this, jint zNear, jint zFar) { 894 (GLclampx)zNear, 1262 /* void glFrustumf ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */ 1265 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) { 1271 (GLfloat)zNear, 1276 /* void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixe 881 android_glDepthRangef__FF(JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) argument 891 android_glDepthRangex__II(JNIEnv *_env, jobject _this, jint zNear, jint zFar) argument 1264 android_glFrustumf__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument 1278 android_glFrustumx__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument 2715 android_glOrthof__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument 2729 android_glOrthox__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument [all...] |
H A D | android_opengl_GLES11Ext.cpp | 1097 /* void glDepthRangexOES ( GLclampx zNear, GLclampx zFar ) */ 1100 (JNIEnv *_env, jobject _this, jint zNear, jint zFar) { 1102 (GLclampx)zNear, 1197 /* void glFrustumxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) */ 1200 (JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) { 1206 (GLfixed)zNear, 2176 /* void glOrthoxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) */ 2179 (JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) { 2185 (GLfixed)zNear, 3262 /* void glDepthRangefOES ( GLclampf zNear, GLclamp 1099 android_glDepthRangexOES__II(JNIEnv *_env, jobject _this, jint zNear, jint zFar) argument 1199 android_glFrustumxOES__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument 2178 android_glOrthoxOES__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument 3264 android_glDepthRangefOES__FF(JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) argument 3274 android_glFrustumfOES__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument 3288 android_glOrthofOES__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument [all...] |
H A D | com_google_android_gles_jni_GLImpl.cpp | 688 /* void glDepthRangef ( GLclampf zNear, GLclampf zFar ) */ 691 (JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) { 693 (GLclampf)zNear, 698 /* void glDepthRangex ( GLclampx zNear, GLclampx zFar ) */ 701 (JNIEnv *_env, jobject _this, jint zNear, jint zFar) { 703 (GLclampx)zNear, 1127 /* void glFrustumf ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */ 1130 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) { 1136 (GLfloat)zNear, 1141 /* void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixe 690 android_glDepthRangef__FF(JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) argument 700 android_glDepthRangex__II(JNIEnv *_env, jobject _this, jint zNear, jint zFar) argument 1129 android_glFrustumf__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument 1143 android_glFrustumx__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument 3427 android_glOrthof__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument 3441 android_glOrthox__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument [all...] |
H A D | android_opengl_GLES20.cpp | 1311 /* void glDepthRangef ( GLclampf zNear, GLclampf zFar ) */ 1314 (JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) { 1316 (GLclampf)zNear, 1313 android_glDepthRangef__FF(JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) argument
|
/frameworks/native/opengl/tests/angeles/ |
H A D | demo.c | 503 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/native/opengl/include/GLES2/ |
H A D | gl2ext.h | 3137 typedef void (GL_APIENTRYP PFNGLMATRIXFRUSTUMEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); 3147 typedef void (GL_APIENTRYP PFNGLMATRIXORTHOEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); 3214 GL_APICALL void GL_APIENTRY glMatrixFrustumEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); 3224 GL_APICALL void GL_APIENTRY glMatrixOrthoEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
|