/external/deqp/modules/gles2/functional/ |
D | es2fDepthRangeTests.cpp | 105 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 …]
|
D | es2fShaderBuiltinVarTests.cpp | 156 : zNear (0.0f) in DepthRangeParams() 162 : zNear (zNear_) in DepthRangeParams() 167 float zNear; member 181 float zNear = deFloatClamp(m_params.zNear, 0.0f, 1.0f); in evaluate() local 183 float diff = zFar - zNear; in evaluate() 184 c.color.xyz() = tcu::Vec3(zNear, zFar, diff*0.5f + 0.5f); in evaluate() 250 …m_testCtx.getLog() << tcu::TestLog::Message << "glDepthRangef(" << m_depthRange.zNear << ", " << m… in iterate() 251 gl.depthRangef(m_depthRange.zNear, m_depthRange.zFar); in iterate()
|
/external/mesa3d/src/mesa/main/ |
D | es1_conversion.h | 53 _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);
|
D | es1_conversion.c | 98 _mesa_DepthRangex(GLclampx zNear, GLclampx zFar) in _mesa_DepthRangex() argument 100 _mesa_DepthRangef((GLclampf) (zNear / 65536.0f), in _mesa_DepthRangex() 181 GLfloat zNear, GLfloat zFar) in _mesa_Frustumf() argument 187 (GLdouble) (zNear), in _mesa_Frustumf() 193 GLfixed zNear, GLfixed zFar) in _mesa_Frustumx() argument 199 (GLdouble) (zNear / 65536.0), in _mesa_Frustumx() 665 GLfloat zNear, GLfloat zFar) in _mesa_Orthof() argument 671 (GLdouble) (zNear), in _mesa_Orthof() 677 GLfixed zNear, GLfixed zFar) in _mesa_Orthox() argument 683 (GLdouble) (zNear / 65536.0), in _mesa_Orthox()
|
/external/mesa3d/src/mapi/glapi/ |
D | glapi_dispatch.c | 102 …glFrustumf (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); 104 …Y glOrthof (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); 111 GL_API void GL_APIENTRY glDepthRangex (GLclampx zNear, GLclampx zFar); 114 …glFrustumx (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); 132 …Y glOrthox (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
|
/external/swiftshader/src/OpenGL/common/ |
D | MatrixStack.cpp | 124 …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()
|
D | MatrixStack.hpp | 43 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);
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | GLErrorLogger.java | 195 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/swiftshader/src/OpenGL/libGLES_CM/ |
D | libGLES_CM.hpp | 85 void (*glDepthRangex)(GLclampx zNear, GLclampx zFar); 86 void (*glDepthRangef)(GLclampf zNear, GLclampf zFar); 102 …void (*glFrustumf)(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloa… 103 …void (*glFrustumx)(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixe… 163 …void (*glOrthof)(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat … 164 …void (*glOrthox)(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed …
|
D | main.cpp | 195 void DepthRangex(GLclampx zNear, GLclampx zFar); 196 void DepthRangef(GLclampf zNear, GLclampf zFar); 212 void Frustumf(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar… 213 void Frustumx(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar… 273 void Orthof(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); 274 void Orthox(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); 743 GL_API void GL_APIENTRY glDepthRangex(GLclampx zNear, GLclampx zFar) in glDepthRangex() argument 745 return es1::DepthRangex(zNear, zFar); in glDepthRangex() 748 GL_API void GL_APIENTRY glDepthRangef(GLclampf zNear, GLclampf zFar) in glDepthRangef() argument 750 return es1::DepthRangef(zNear, zFar); in glDepthRangef() [all …]
|
D | libGLES_CM.cpp | 1152 void DepthRangef(GLclampf zNear, GLclampf zFar) in DepthRangef() argument 1154 TRACE("(GLclampf zNear = %f, GLclampf zFar = %f)", zNear, zFar); in DepthRangef() 1160 context->setDepthRange(zNear, zFar); in DepthRangef() 1164 void DepthRangex(GLclampx zNear, GLclampx zFar) in DepthRangex() argument 1166 DepthRangef((float)zNear / 0x10000, (float)zFar / 0x10000); in DepthRangex() 1695 void Frustumf(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) in Frustumf() argument 1697 … GLfloat top = %f, GLfloat zNear = %f, GLfloat zFar = %f)", left, right, bottom, top, zNear, zFar); in Frustumf() 1699 if(zNear <= 0.0f || zFar <= 0.0f || left == right || bottom == top || zNear == zFar) in Frustumf() 1708 context->frustum(left, right, bottom, top, zNear, zFar); in Frustumf() 1712 void Frustumx(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) in Frustumx() argument [all …]
|
D | Context.h | 264 float zNear; member 319 void setDepthRange(float zNear, float zFar); 527 …void frustum(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar… 528 void ortho(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
|
D | Context.cpp | 98 mState.zNear = 0.0f; in Context() 417 void Context::setDepthRange(float zNear, float zFar) in setDepthRange() argument 419 mState.zNear = zNear; in setDepthRange() 1157 params[0] = mState.zNear; in getFloatv() 1752 float zNear = clamp01(mState.zNear); in applyRenderTarget() local 1759 viewport.minZ = zNear; in applyRenderTarget() 2817 float Zw = sw::clamp(mState.zNear + z * (mState.zFar - mState.zNear), mState.zNear, mState.zFar); in drawTexture() 3292 void Context::frustum(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfl… in frustum() argument 3294 currentMatrixStack().frustum(left, right, bottom, top, zNear, zFar); in frustum() 3297 void Context::ortho(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloa… in ortho() argument [all …]
|
/external/swiftshader/third_party/PowerVR_SDK/Builds/Include/GLES/ |
D | glext.h | 672 GL_API void GL_APIENTRY glDepthRangexOES (GLclampx zNear, GLclampx zFar); 675 …rustumxOES (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); 693 …lOrthoxOES (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); 712 typedef void (GL_APIENTRYP PFNGLDEPTHRANGEXOESPROC) (GLclampx zNear, GLclampx zFar); 715 …MXOESPROC) (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); 733 …OXOESPROC) (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); 846 GL_API void GL_APIENTRY glDepthRangefOES (GLclampf zNear, GLclampf zFar); 847 …rustumfOES (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); 848 …lOrthofOES (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); 853 typedef void (GL_APIENTRYP PFNGLDEPTHRANGEFOESPROC) (GLclampf zNear, GLclampf zFar); [all …]
|
D | gl.h | 598 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/deqp/modules/gles3/functional/ |
D | es3fShaderBuiltinVarTests.cpp | 166 : 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/mesa3d/src/gallium/tests/graw/ |
D | graw_util.h | 190 float zNear, float zFar) in graw_util_viewport() argument 192 float z = zNear; in graw_util_viewport() 195 float half_depth = (zFar - zNear) / 2.0f; in graw_util_viewport()
|
D | tri-gs.c | 54 float zNear, float zFar) in set_viewport() argument 59 float half_depth = ((float)zFar - (float)zNear) / 2.0f; in set_viewport()
|
D | shader-leak.c | 53 float zNear, float zFar) in set_viewport() argument 58 float half_depth = ((float)zFar - (float)zNear) / 2.0f; in set_viewport()
|
D | tri-instanced.c | 83 float zNear, float zFar) in set_viewport() argument 88 float half_depth = ((float)zFar - (float)zNear) / 2.0f; in set_viewport()
|
D | quad-sample.c | 63 float zNear, float zFar) in set_viewport() argument 68 float half_depth = ((float)zFar - (float)zNear) / 2.0f; in set_viewport()
|
D | fs-test.c | 135 float zNear, float zFar) in set_viewport() argument 140 float half_depth = ((float)zFar - (float)zNear) / 2.0f; in set_viewport()
|
D | vs-test.c | 116 float zNear, float zFar) in set_viewport() argument 121 float half_depth = ((float)zFar - (float)zNear) / 2.0f; in set_viewport()
|
D | gs-test.c | 194 float zNear, float zFar) in set_viewport() argument 199 float half_depth = ((float)zFar - (float)zNear) / 2.0f; in set_viewport()
|
/external/autotest/client/site_tests/graphics_SanAngeles/src/ |
D | demo.c | 717 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()
|