Home
last modified time | relevance | path

Searched refs:zFar (Results 1 - 25 of 61) sorted by relevance

123

/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fDepthRangeTests.cpp105 inline float depthRangeTransform (const float zd, const float zNear, const float zFar) in depthRangeTransform() argument
108 const float cFar = de::clamp(zFar, 0.0f, 1.0f); in depthRangeTransform()
115 DepthRangeCompareCase (Context& context, const char* name, const char* desc, const tcu::Vec4& depthCoord, const float zNear, const float zFar, const deUint32 compareFunc);
127 DepthRangeCompareCase::DepthRangeCompareCase (Context& context, const char* name, const char* desc, const tcu::Vec4& depthCoord, const float zNear, const float zFar, const deUint32 compareFunc) in DepthRangeCompareCase() argument
131 , m_zFar (zFar) in DepthRangeCompareCase()
266 DepthRangeWriteCase (Context& context, const char* name, const char* desc, const tcu::Vec4& depthCoord, const float zNear, const float zFar);
277 DepthRangeWriteCase::DepthRangeWriteCase (Context& context, const char* name, const char* desc, const tcu::Vec4& depthCoord, const float zNear, const float zFar) in DepthRangeWriteCase() argument
281 , m_zFar (zFar) in DepthRangeWriteCase()
413 const float zFar; in init() member
436 writeGroup->addChild(new DepthRangeWriteCase(m_context, cases[ndx].name, cases[ndx].desc, cases[ndx].depthCoord, cases[ndx].zNear, cases[ndx].zFar)); in init()
[all...]
H A Des2fShaderBuiltinVarTests.cpp158 , zFar (1.0f) in DepthRangeParams()
164 , zFar (zFar_) in DepthRangeParams()
169 float zFar; member
183 float zFar = deFloatClamp(m_params.zFar, 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_depthRange.zFar << ")" << tcu::TestLog::EndMessage; in iterate()
252 gl.depthRangef(m_depthRange.zNear, m_depthRange.zFar); in iterate()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/common/
H A DMatrixStack.cpp124 void MatrixStack::frustum(float left, float right, float bottom, float top, float zNear, float zFar) in frustum() argument
131 float f = (float)zFar; in frustum()
146 void MatrixStack::ortho(double left, double right, double bottom, double top, double zNear, double zFar) in ortho() argument
153 float f = (float)zFar; in ortho()
H A 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/mesa3d/src/mapi/glapi/
H A Dglapi_dispatch.c105 GL_API void GL_APIENTRY glFrustumf (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
107 GL_API void GL_APIENTRY 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 GL_API void GL_APIENTRY glFrustumx (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
135 GL_API void GL_APIENTRY glOrthox (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
/third_party/mesa3d/src/mesa/main/
H A Des1_conversion.c81 _mesa_DepthRangex(GLclampx zNear, GLclampx zFar) in _mesa_DepthRangex() argument
84 (GLclampf) (zFar / 65536.0f)); in _mesa_DepthRangex()
164 GLfloat zNear, GLfloat zFar) in _mesa_Frustumf()
171 (GLdouble) (zFar)); in _mesa_Frustumf()
176 GLfixed zNear, GLfixed zFar) in _mesa_Frustumx()
183 (GLdouble) (zFar / 65536.0)); in _mesa_Frustumx()
642 GLfloat zNear, GLfloat zFar) in _mesa_Orthof()
649 (GLdouble) (zFar)); in _mesa_Orthof()
654 GLfixed zNear, GLfixed zFar) in _mesa_Orthox()
661 (GLdouble) (zFar / 65536. in _mesa_Orthox()
163 _mesa_Frustumf(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) _mesa_Frustumf() argument
175 _mesa_Frustumx(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) _mesa_Frustumx() argument
641 _mesa_Orthof(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) _mesa_Orthof() argument
653 _mesa_Orthox(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) _mesa_Orthox() argument
[all...]
/third_party/mesa3d/src/gallium/tests/graw/
H A Dtri-gs.c54 float zNear, float zFar) in set_viewport()
56 float z = zFar; in set_viewport()
59 float half_depth = ((float)zFar - (float)zNear) / 2.0f; in set_viewport()
52 set_viewport( float x, float y, float width, float height, float zNear, float zFar) set_viewport() argument
H A Dshader-leak.c53 float zNear, float zFar) in set_viewport()
55 float z = zFar; in set_viewport()
58 float half_depth = ((float)zFar - (float)zNear) / 2.0f; in set_viewport()
51 set_viewport( float x, float y, float width, float height, float zNear, float zFar) set_viewport() argument
H A Dquad-sample.c63 float zNear, float zFar) in set_viewport()
65 float z = zFar; in set_viewport()
68 float half_depth = ((float)zFar - (float)zNear) / 2.0f; in set_viewport()
61 set_viewport( float x, float y, float width, float height, float zNear, float zFar) set_viewport() argument
H A Dtri-instanced.c83 float zNear, float zFar) in set_viewport()
85 float z = zFar; in set_viewport()
88 float half_depth = ((float)zFar - (float)zNear) / 2.0f; in set_viewport()
81 set_viewport( float x, float y, float width, float height, float zNear, float zFar) set_viewport() argument
H A Dfs-test.c135 float zNear, float zFar) in set_viewport()
137 float z = zFar; in set_viewport()
140 float half_depth = ((float)zFar - (float)zNear) / 2.0f; in set_viewport()
133 set_viewport( float x, float y, float width, float height, float zNear, float zFar) set_viewport() argument
H A Dgs-test.c193 float zNear, float zFar) in set_viewport()
195 float z = zFar; in set_viewport()
198 float half_depth = ((float)zFar - (float)zNear) / 2.0f; in set_viewport()
191 set_viewport( float x, float y, float width, float height, float zNear, float zFar) set_viewport() argument
H A Dvs-test.c115 float zNear, float zFar) in set_viewport()
117 float z = zFar; in set_viewport()
120 float half_depth = ((float)zFar - (float)zNear) / 2.0f; in set_viewport()
113 set_viewport( float x, float y, float width, float height, float zNear, float zFar) set_viewport() argument
H A Dgraw_util.h188 float zNear, float zFar) in graw_util_viewport()
193 float half_depth = (zFar - zNear) / 2.0f; in graw_util_viewport()
185 graw_util_viewport(struct graw_info *info, float x, float y, float width, float height, float zNear, float zFar) graw_util_viewport() argument
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtc/
H A Dmatrix_transform.hpp97 /// @param zFar
108 T zFar);
117 /// @param zFar
128 T zFar);
137 /// @param zFar
148 T zFar);
158 /// @see - glm::ortho(T const & left, T const & right, T const & bottom, T const & top, T const & zNear, T const & zFar)
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fShaderBuiltinVarTests.cpp167 , zFar (1.0f) in DepthRangeParams()
173 , zFar (zFar_) in DepthRangeParams()
178 float zFar; member
192 float zFar = deFloatClamp(m_params.zFar, 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_depthRange.zFar << ")" << tcu::TestLog::EndMessage; in iterate()
267 gl.depthRangef(m_depthRange.zNear, m_depthRange.zFar); in iterate()
/third_party/skia/third_party/externals/d3d12allocator/src/
H A 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/GLES/1.0/
H A Dgl.h497 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);
/third_party/skia/third_party/externals/opengl-registry/api/GLES/1.0/
H A Dgl.h497 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);
/third_party/openGLES/api/GLSC/1.0.1/
H A Dgl.h493 GLAPI void APIENTRY glDepthRangef (GLclampf zNear, GLclampf zFar);
506 GLAPI void APIENTRY glFrustumf (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
542 GLAPI void APIENTRY glOrthof (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
/third_party/openGLES/api/GLSC/1.0/
H A Dgl.h489 GLAPI void APIENTRY glDepthRangef (GLclampf zNear, GLclampf zFar);
502 GLAPI void APIENTRY glFrustumf (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
538 GLAPI void APIENTRY 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/
H A Dgl.h489 GLAPI void APIENTRY glDepthRangef (GLclampf zNear, GLclampf zFar);
502 GLAPI void APIENTRY glFrustumf (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
538 GLAPI void APIENTRY 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/
H A Dgl.h493 GLAPI void APIENTRY glDepthRangef (GLclampf zNear, GLclampf zFar);
506 GLAPI void APIENTRY glFrustumf (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
542 GLAPI void APIENTRY 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/
H A DStateManager9.h49 float zFar,
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A DContext.cpp112 mState.zFar = 1.0f; in Context()
408 void Context::setDepthRange(float zNear, float zFar) in setDepthRange() argument
411 mState.zFar = zFar; in setDepthRange()
1926 params[1] = mState.zFar; in getFloatv()
2810 float zFar = clamp01(mState.zFar); in applyRenderTarget() local
2817 viewport.maxZ = zFar; in applyRenderTarget()
2844 GLfloat nearFarDiff[3] = {zNear, zFar, zFar in applyRenderTarget()
[all...]

Completed in 24 milliseconds

123