Home
last modified time | relevance | path

Searched refs:zNear (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/opengl/libagl/
Dmatrix.cpp83 c->transforms.vpt.zNear = 0.0f; in ogles_init_matrix()
687 GLfloat near = c->transforms.vpt.zNear; in ogles_viewport()
784 GLfloat zNear, GLfloat zFar, in frustumf() argument
789 cmpf(zNear, zFar) || in frustumf()
790 isZeroOrNegativef(zNear) || in frustumf()
798 const GLfloat r_depth = reciprocalf(zNear - zFar); in frustumf()
799 const GLfloat x = mul2f(zNear * r_width); in frustumf()
800 const GLfloat y = mul2f(zNear * r_height); in frustumf()
803 const GLfloat C = (zFar + zNear) * r_depth; in frustumf()
804 const GLfloat D = mul2f(zFar * zNear * r_depth); in frustumf()
[all …]
Dtexture.cpp593 GGLfixed n = gglFloatToFixed(c->transforms.vpt.zNear); in set_depth_and_fog()
/frameworks/base/opengl/libs/GLES_CM/
Dglext_api.in55 void API_ENTRY(glDepthRangexOES)(GLclampx zNear, GLclampx zFar) {
56 CALL_GL_API(glDepthRangexOES, zNear, zFar);
64 …ustumxOES)(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) {
65 CALL_GL_API(glFrustumxOES, left, right, bottom, top, zNear, zFar);
118 void API_ENTRY(glOrthoxOES)(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear
119 CALL_GL_API(glOrthoxOES, left, right, bottom, top, zNear, zFar);
226 void API_ENTRY(glDepthRangefOES)(GLclampf zNear, GLclampf zFar) {
227 CALL_GL_API(glDepthRangefOES, zNear, zFar);
229 …ustumfOES)(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) {
230 CALL_GL_API(glFrustumfOES, left, right, bottom, top, zNear, zFar);
[all …]
Dgl_api.in16 void API_ENTRY(glDepthRangef)(GLclampf zNear, GLclampf zFar) {
17 CALL_GL_API(glDepthRangef, zNear, zFar);
25 void API_ENTRY(glFrustumf)(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear,…
26 CALL_GL_API(glFrustumf, left, right, bottom, top, zNear, zFar);
79 void API_ENTRY(glOrthof)(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, G…
80 CALL_GL_API(glOrthof, left, right, bottom, top, zNear, zFar);
193 void API_ENTRY(glDepthRangex)(GLclampx zNear, GLclampx zFar) {
194 CALL_GL_API(glDepthRangex, zNear, zFar);
229 void API_ENTRY(glFrustumx)(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear,…
230 CALL_GL_API(glFrustumx, left, right, bottom, top, zNear, zFar);
[all …]
/frameworks/base/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…
/frameworks/base/opengl/java/android/opengl/
DGLES11Ext.java309 int zNear, in glDepthRangexOES() argument
342 int zNear, in glFrustumxOES() argument
573 int zNear, in glOrthoxOES() argument
888 float zNear, in glDepthRangefOES() argument
899 float zNear, in glFrustumfOES() argument
910 float zNear, in glOrthofOES() argument
DGLU.java160 float zNear, float zFar) { in gluPerspective() argument
161 float top = zNear * (float) Math.tan(fovy * (Math.PI / 360.0)); in gluPerspective()
165 gl.glFrustumf(left, right, bottom, top, zNear, zFar); in gluPerspective()
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
/frameworks/base/opengl/include/GLES/
Dglext.h340 GL_API void GL_APIENTRY glDepthRangexOES (GLclampx zNear, GLclampx zFar);
343 …rustumxOES (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
361 …lOrthoxOES (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
380 typedef void (GL_APIENTRYP PFNGLDEPTHRANGEXOESPROC) (GLclampx zNear, GLclampx zFar);
383 …MXOESPROC) (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
401 …OXOESPROC) (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
509 GL_API void GL_APIENTRY glDepthRangefOES (GLclampf zNear, GLclampf zFar);
510 …rustumfOES (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
511 …lOrthofOES (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
516 typedef void (GL_APIENTRYP PFNGLDEPTHRANGEFOESPROC) (GLclampf zNear, GLclampf zFar);
[all …]
Dgl.h597 GL_API void GL_APIENTRY glDepthRangef (GLclampf zNear, GLclampf zFar);
600 …glFrustumf (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
618 …Y glOrthof (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
658 GL_API void GL_APIENTRY glDepthRangex (GLclampx zNear, GLclampx zFar);
670 …glFrustumx (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
706 …Y glOrthox (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
/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/base/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/base/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.java307 float zNear, in glDepthRangef() argument
314 int zNear, in glDepthRangex() argument
426 float zNear, in glFrustumf() argument
437 int zNear, in glFrustumx() argument
796 float zNear, in glOrthof() argument
807 int zNear, in glOrthox() argument
/frameworks/base/opengl/libs/
Dentries.in70 GL_ENTRY(void, glDepthRangef, GLclampf zNear, GLclampf zFar)
71 GL_ENTRY(void, glDepthRangefOES, GLclampf zNear, GLclampf zFar)
72 GL_ENTRY(void, glDepthRangex, GLclampx zNear, GLclampx zFar)
73 GL_ENTRY(void, glDepthRangexOES, GLclampx zNear, GLclampx zFar)
111 GL_ENTRY(void, glFrustumf, GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear,…
112 …FrustumfOES, GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar)
113 GL_ENTRY(void, glFrustumx, GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear,…
114 …FrustumxOES, GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar)
238 GL_ENTRY(void, glOrthof, GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, G…
239 GL_ENTRY(void, glOrthofOES, GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear
[all …]
/frameworks/base/core/jni/
Dandroid_opengl_GLES11Ext.cpp581 (JNIEnv *_env, jobject _this, jint zNear, jint zFar) { in android_glDepthRangexOES__II() argument
583 (GLclampx)zNear, in android_glDepthRangexOES__II()
652 …(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar)… in android_glFrustumxOES__IIIIII() argument
658 (GLfixed)zNear, in android_glFrustumxOES__IIIIII()
1336 …(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar)… in android_glOrthoxOES__IIIIII() argument
1342 (GLfixed)zNear, in android_glOrthoxOES__IIIIII()
1805 (JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) { in android_glDepthRangefOES__FF() argument
1807 (GLclampf)zNear, in android_glDepthRangefOES__FF()
1815 …(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, … in android_glFrustumfOES__FFFFFF() argument
1821 (GLfloat)zNear, in android_glFrustumfOES__FFFFFF()
[all …]
Dandroid_opengl_GLES10.cpp507 (JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) { in android_glDepthRangef__FF() argument
509 (GLclampf)zNear, in android_glDepthRangef__FF()
517 (JNIEnv *_env, jobject _this, jint zNear, jint zFar) { in android_glDepthRangex__II() argument
519 (GLclampx)zNear, in android_glDepthRangex__II()
865 …(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, … in android_glFrustumf__FFFFFF() argument
871 (GLfloat)zNear, in android_glFrustumf__FFFFFF()
879 …(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar)… in android_glFrustumx__IIIIII() argument
885 (GLfixed)zNear, in android_glFrustumx__IIIIII()
2810 …(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, … in android_glOrthof__FFFFFF() argument
2816 (GLfloat)zNear, in android_glOrthof__FFFFFF()
[all …]
Dcom_google_android_gles_jni_GLImpl.cpp542 (JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) { in android_glDepthRangef__FF() argument
544 (GLclampf)zNear, in android_glDepthRangef__FF()
552 (JNIEnv *_env, jobject _this, jint zNear, jint zFar) { in android_glDepthRangex__II() argument
554 (GLclampx)zNear, in android_glDepthRangex__II()
900 …(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, … in android_glFrustumf__FFFFFF() argument
906 (GLfloat)zNear, in android_glFrustumf__FFFFFF()
914 …(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar)… in android_glFrustumx__IIIIII() argument
920 (GLfixed)zNear, in android_glFrustumx__IIIIII()
2845 …(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, … in android_glOrthof__FFFFFF() argument
2851 (GLfloat)zNear, in android_glOrthof__FFFFFF()
[all …]
/frameworks/base/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/base/opengl/libs/GLES2/
Dgl2_api.in109 void API_ENTRY(glDepthRangef)(GLclampf zNear, GLclampf zFar) {
110 CALL_GL_API(glDepthRangef, zNear, zFar);
/frameworks/base/include/private/opengles/
Dgl_context.h473 GLfloat zNear; member
/frameworks/base/opengl/include/GLES2/
Dgl2.h509 GL_APICALL void GL_APIENTRY glDepthRangef (GLclampf zNear, GLclampf zFar);