Home
last modified time | relevance | path

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

1234

/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtc/
Dmatrix_transform.inl104 T zNear, T zFar argument
108 return orthoLH(left, right, bottom, top, zNear, zFar);
110 return orthoRH(left, right, bottom, top, zNear, zFar);
119 T zNear, T zFar argument
129 Result[2][2] = static_cast<T>(1) / (zFar - zNear);
130 Result[3][2] = - zNear / (zFar - zNear);
132 Result[2][2] = static_cast<T>(2) / (zFar - zNear);
133 Result[3][2] = - (zFar + zNear) / (zFar - zNear);
144 T zNear, T zFar argument
154 Result[2][2] = - static_cast<T>(1) / (zFar - zNear);
[all …]
Dmatrix_transform.hpp107 T zNear,
127 T zNear,
147 T zNear,
/third_party/vk-gl-cts/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.cpp157 : zNear (0.0f) in DepthRangeParams()
163 : zNear (zNear_) in DepthRangeParams()
168 float zNear; member
182 float zNear = deFloatClamp(m_params.zNear, 0.0f, 1.0f); in evaluate() local
184 float diff = zFar - zNear; in evaluate()
185 c.color.xyz() = tcu::Vec3(zNear, zFar, diff*0.5f + 0.5f); in evaluate()
251 …m_testCtx.getLog() << tcu::TestLog::Message << "glDepthRangef(" << m_depthRange.zNear << ", " << m… in iterate()
252 gl.depthRangef(m_depthRange.zNear, m_depthRange.zFar); in iterate()
/third_party/mesa3d/src/mesa/main/
Des1_conversion.h53 _mesa_DepthRangex(GLclampx zNear, GLclampx zFar);
69 GLfloat zNear, GLfloat zFar);
73 GLfixed zNear, GLfixed zFar);
134 GLfloat zNear, GLfloat zFar);
138 GLfixed zNear, GLfixed zFar);
Des1_conversion.c97 _mesa_DepthRangex(GLclampx zNear, GLclampx zFar) in _mesa_DepthRangex() argument
99 _mesa_DepthRangef((GLclampf) (zNear / 65536.0f), in _mesa_DepthRangex()
180 GLfloat zNear, GLfloat zFar) in _mesa_Frustumf() argument
186 (GLdouble) (zNear), in _mesa_Frustumf()
192 GLfixed zNear, GLfixed zFar) in _mesa_Frustumx() argument
198 (GLdouble) (zNear / 65536.0), in _mesa_Frustumx()
664 GLfloat zNear, GLfloat zFar) in _mesa_Orthof() argument
670 (GLdouble) (zNear), in _mesa_Orthof()
676 GLfixed zNear, GLfixed zFar) in _mesa_Orthox() argument
682 (GLdouble) (zNear / 65536.0), in _mesa_Orthox()
/third_party/mesa3d/src/mapi/glapi/
Dglapi_dispatch.c105 …glFrustumf (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
107 …Y glOrthof (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
114 GL_API void GL_APIENTRY glDepthRangex (GLclampx zNear, GLclampx zFar);
117 …glFrustumx (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
135 …Y glOrthox (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/common/
DMatrixStack.cpp124 …void MatrixStack::frustum(float left, float right, float bottom, float top, float zNear, float zFa… in frustum() argument
130 float n = (float)zNear; in frustum()
146 …void MatrixStack::ortho(double left, double right, double bottom, double top, double zNear, double… in ortho() argument
152 float n = (float)zNear; in ortho()
DMatrixStack.hpp43 void frustum(float left, float right, float bottom, float top, float zNear, float zFar);
44 void ortho(double left, double right, double bottom, double top, double zNear, double zFar);
/third_party/openGLES/api/GLES/1.0/
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);
/third_party/skia/third_party/externals/opengl-registry/api/GLES/1.0/
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);
/third_party/vk-gl-cts/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()
/third_party/mesa3d/src/gallium/tests/graw/
Dgraw_util.h188 float zNear, float zFar) in graw_util_viewport() argument
190 float z = zNear; in graw_util_viewport()
193 float half_depth = (zFar - zNear) / 2.0f; in graw_util_viewport()
Dshader-leak.c53 float zNear, float zFar) in set_viewport() argument
58 float half_depth = ((float)zFar - (float)zNear) / 2.0f; in set_viewport()
Dtri-gs.c54 float zNear, float zFar) in set_viewport() argument
59 float half_depth = ((float)zFar - (float)zNear) / 2.0f; in set_viewport()
Dtri-instanced.c83 float zNear, float zFar) in set_viewport() argument
88 float half_depth = ((float)zFar - (float)zNear) / 2.0f; in set_viewport()
Dquad-sample.c63 float zNear, float zFar) in set_viewport() argument
68 float half_depth = ((float)zFar - (float)zNear) / 2.0f; in set_viewport()
Dfs-test.c135 float zNear, float zFar) in set_viewport() argument
140 float half_depth = ((float)zFar - (float)zNear) / 2.0f; in set_viewport()
Dvs-test.c115 float zNear, float zFar) in set_viewport() argument
120 float half_depth = ((float)zFar - (float)zNear) / 2.0f; in set_viewport()
/third_party/skia/third_party/externals/d3d12allocator/src/
DCommon.h293 static mat4 Perspective(float fovY, float aspectRatio, float zNear, float zFar) in Perspective()
300 0.0f, 0.0f, zFar / (zFar - zNear), 1.0f, in Perspective()
301 0.0f, 0.0f, -zNear * zFar / (zFar - zNear), 0.0f); in Perspective()
/third_party/openGLES/api/GLSC/1.0/
Dgl.h489 GLAPI void APIENTRY glDepthRangef (GLclampf zNear, GLclampf zFar);
502 …glFrustumf (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
538 …Y glOrthof (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
/third_party/skia/third_party/externals/opengl-registry/api/GLSC/1.0.1/
Dgl.h493 GLAPI void APIENTRY glDepthRangef (GLclampf zNear, GLclampf zFar);
506 …glFrustumf (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
542 …Y glOrthof (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
/third_party/openGLES/api/GLSC/1.0.1/
Dgl.h493 GLAPI void APIENTRY glDepthRangef (GLclampf zNear, GLclampf zFar);
506 …glFrustumf (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
542 …Y glOrthof (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
/third_party/skia/third_party/externals/opengl-registry/api/GLSC/1.0/
Dgl.h489 GLAPI void APIENTRY glDepthRangef (GLclampf zNear, GLclampf zFar);
502 …glFrustumf (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
538 …Y glOrthof (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DStateManager9.h48 float zNear,

1234