Home
last modified time | relevance | path

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

12

/external/vulkan-validation-layers/libs/glm/gtc/
Dmatrix_transform.inl163 T const & zNear, argument
170 Result[2][2] = - T(2) / (zFar - zNear);
173 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
222 valType const & zNear, argument
227 assert(zFar != zNear);
241 Result[2][2] = - (zFar + zNear) / (zFar - zNear);
243 Result[3][2] = - (valType(2) * zFar * zNear) / (zFar - zNear);
253 valType const & zNear, argument
273 Result[2][2] = - (zFar + zNear) / (zFar - zNear);
275 Result[3][2] = - (valType(2) * zFar * zNear) / (zFar - zNear);
[all …]
Dmatrix_transform.hpp138 T const & zNear,
/external/deqp/modules/gles2/functional/
Des2fDepthRangeTests.cpp105 inline float depthRangeTransform (const float zd, const float zNear, const float zFar) in depthRangeTransform() argument
107 const float cNear = de::clamp(zNear, 0.0f, 1.0f); in depthRangeTransform()
115 …st char* name, const char* desc, const tcu::Vec4& depthCoord, const float zNear, const float zFar,…
127 …st char* name, const char* desc, const tcu::Vec4& depthCoord, const float zNear, const float zFar,… in DepthRangeCompareCase() argument
130 , m_zNear (zNear) in DepthRangeCompareCase()
266 …st char* name, const char* desc, const tcu::Vec4& depthCoord, const float zNear, const float zFar);
277 …nst char* name, const char* desc, const tcu::Vec4& depthCoord, const float zNear, const float zFar) in DepthRangeWriteCase() argument
280 , m_zNear (zNear) in DepthRangeWriteCase()
412 const float zNear; in init() member
436 …text, cases[ndx].name, cases[ndx].desc, cases[ndx].depthCoord, cases[ndx].zNear, cases[ndx].zFar)); in init()
[all …]
Des2fShaderBuiltinVarTests.cpp155 : zNear (0.0f) in DepthRangeParams()
161 : zNear (zNear_) in DepthRangeParams()
166 float zNear; member
180 float zNear = deFloatClamp(m_params.zNear, 0.0f, 1.0f); in evaluate() local
182 float diff = zFar - zNear; in evaluate()
183 c.color.xyz() = tcu::Vec3(zNear, zFar, diff*0.5f + 0.5f); in evaluate()
249 …m_testCtx.getLog() << tcu::TestLog::Message << "glDepthRangef(" << m_depthRange.zNear << ", " << m… in iterate()
250 gl.depthRangef(m_depthRange.zNear, m_depthRange.zFar); in iterate()
/external/mesa3d/src/mesa/main/
Des1_conversion.h23 _es_DepthRangex(GLclampx zNear, GLclampx zFar);
39 GLfloat zNear, GLfloat zFar);
43 GLfixed zNear, GLfixed zFar);
104 GLfloat zNear, GLfloat zFar);
108 GLfixed zNear, GLfixed zFar);
Des1_conversion.c104 _es_DepthRangex(GLclampx zNear, GLclampx zFar) in _es_DepthRangex() argument
106 _mesa_DepthRangef((GLclampf) (zNear / 65536.0f), in _es_DepthRangex()
187 GLfloat zNear, GLfloat zFar) in _es_Frustumf() argument
193 (GLdouble) (zNear), in _es_Frustumf()
199 GLfixed zNear, GLfixed zFar) in _es_Frustumx() argument
205 (GLdouble) (zNear / 65536.0), in _es_Frustumx()
654 GLfloat zNear, GLfloat zFar) in _es_Orthof() argument
660 (GLdouble) (zNear), in _es_Orthof()
666 GLfixed zNear, GLfixed zFar) in _es_Orthox() argument
672 (GLdouble) (zNear / 65536.0), in _es_Orthox()
/external/mesa3d/include/GLES/
Dglext.h568 GL_API void GL_APIENTRY glDepthRangexOES (GLclampx zNear, GLclampx zFar);
571 …rustumxOES (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
589 …lOrthoxOES (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
608 typedef void (GL_APIENTRYP PFNGLDEPTHRANGEXOESPROC) (GLclampx zNear, GLclampx zFar);
611 …MXOESPROC) (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
629 …OXOESPROC) (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
737 GL_API void GL_APIENTRY glDepthRangefOES (GLclampf zNear, GLclampf zFar);
738 …rustumfOES (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
739 …lOrthofOES (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
744 typedef void (GL_APIENTRYP PFNGLDEPTHRANGEFOESPROC) (GLclampf zNear, GLclampf zFar);
[all …]
Dgl.h598 GL_API void GL_APIENTRY glDepthRangef (GLclampf zNear, GLclampf zFar);
601 …glFrustumf (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
619 …Y 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 …glFrustumx (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
707 …Y glOrthox (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
/external/replicaisland/src/com/replica/replicaisland/
DGLErrorLogger.java195 public void glDepthRangef(float zNear, float zFar) { in glDepthRangef() argument
196 ((GL10)mGL).glDepthRangef(zNear, zFar); in glDepthRangef()
200 public void glDepthRangex(int zNear, int zFar) { in glDepthRangex() argument
201 ((GL10)mGL).glDepthRangex(zNear, zFar); in glDepthRangex()
281 float top, float zNear, float zFar) { in glFrustumf() argument
283 top, zNear, zFar); in glFrustumf()
288 int zNear, int zFar) { in glFrustumx() argument
290 zNear, zFar); in glFrustumx()
511 float zNear, float zFar) { in glOrthof() argument
513 zNear, zFar); in glOrthof()
[all …]
/external/deqp/modules/gles3/functional/
Des3fShaderBuiltinVarTests.cpp166 : zNear (0.0f) in DepthRangeParams()
172 : zNear (zNear_) in DepthRangeParams()
177 float zNear; member
191 float zNear = deFloatClamp(m_params.zNear, 0.0f, 1.0f); in evaluate() local
193 float diff = zFar - zNear; in evaluate()
194 c.color.xyz() = tcu::Vec3(zNear, zFar, diff*0.5f + 0.5f); in evaluate()
266 …m_testCtx.getLog() << tcu::TestLog::Message << "glDepthRangef(" << m_depthRange.zNear << ", " << m… in iterate()
267 gl.depthRangef(m_depthRange.zNear, m_depthRange.zFar); in iterate()
/external/libgdx/gdx/jni/iosgl/
Dcom.badlogic.gdx.backends.iosrobovm.IOSGLES10.cpp175 …ackends_iosrobovm_IOSGLES10_glDepthRangef(JNIEnv* env, jobject object, jfloat zNear, jfloat zFar) { in Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES10_glDepthRangef() argument
180 glDepthRangef(zNear, zFar); in Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES10_glDepthRangef()
1068 … jobject object, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) { in Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES10_glFrustumf() argument
1073 glFrustumf(left, right, bottom, top, zNear, zFar); in Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES10_glFrustumf()
1308 … jobject object, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) { in Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES10_glOrthof() argument
1313 glOrthof(left, right, bottom, top, zNear, zFar); in Java_com_badlogic_gdx_backends_iosrobovm_IOSGLES10_glOrthof()
/external/mesa3d/src/mesa/math/
Dm_matrix.h126 GLfloat zNear, GLfloat zFar, GLfloat depthMax);
Dm_matrix.c1114 GLfloat zNear, GLfloat zFar, GLfloat depthMax) in _math_matrix_viewport() argument
1120 m->m[MAT_SZ] = depthMax * ((zFar - zNear) / 2.0F); in _math_matrix_viewport()
1121 m->m[MAT_TZ] = depthMax * ((zFar - zNear) / 2.0F + zNear); in _math_matrix_viewport()
/external/autotest/client/site_tests/graphics_SanAngeles/src/
Ddemo.c717 GLfloat zNear, GLfloat zFar) in gluPerspective() argument
721 ymax = zNear * (GLfloat)tan(fovy * PI / 360); in gluPerspective()
726 glFrustum(xmin, xmax, ymin, ymax, zNear, zFar); in gluPerspective()
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/
DGwtGL20Debug.java153 public void glDepthRangef (float zNear, float zFar) { in glDepthRangef() argument
155 super.glDepthRangef(zNear, zFar); in glDepthRangef()
DGwtGL20.java304 public void glDepthRangef (float zNear, float zFar) { in glDepthRangef() argument
305 gl.depthRange(zNear, zFar); in glDepthRangef()
/external/autotest/client/deps/webgl_mpd/src/resources/
DJ3DIMath.js669 J3DIMatrix4.prototype.perspective = function(fovy, aspect, zNear, zFar) argument
671 var top = Math.tan(fovy * Math.PI / 360) * zNear;
675 this.frustum(left, right, bottom, top, zNear, zFar);
/external/libgdx/backends/gdx-backend-moe/src/com/badlogic/gdx/backends/iosrobovm/
DIOSGLES20.java116 public native void glDepthRangef ( float zNear, float zFar ); in glDepthRangef() argument
/external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/
DAndroidGL20.java115 public native void glDepthRangef (float zNear, float zFar); in glDepthRangef() argument
/external/libgdx/backends/gdx-backend-robovm/src/com/badlogic/gdx/backends/iosrobovm/
DIOSGLES20.java116 public native void glDepthRangef ( float zNear, float zFar ); in glDepthRangef() argument
/external/libgdx/backends/gdx-backend-jglfw/src/com/badlogic/gdx/backends/jglfw/
DJglfwGL20.java134 public void glDepthRangef (float zNear, float zFar) { in glDepthRangef() argument
135 GL.glDepthRangef(zNear, zFar); in glDepthRangef()
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/profiling/
DGL20Profiler.java167 public void glDepthRangef (float zNear, float zFar) { in glDepthRangef() argument
169 gl20.glDepthRangef(zNear, zFar); in glDepthRangef()
/external/libgdx/backends/gdx-backend-lwjgl3/src/com/badlogic/gdx/backends/lwjgl3/
DLwjgl3GL20.java255 public void glDepthRangef (float zNear, float zFar) { in glDepthRangef() argument
256 GL11.glDepthRange(zNear, zFar); in glDepthRangef()
/external/libgdx/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/
DLwjglGL20.java259 public void glDepthRangef (float zNear, float zFar) { in glDepthRangef() argument
260 GL11.glDepthRange(zNear, zFar); in glDepthRangef()
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/
DGL20.java374 public void glDepthRangef (float zNear, float zFar); in glDepthRangef() argument

12