/external/mesa3d/src/gallium/tests/graw/ |
H A D | graw_util.h | 190 float zNear, float zFar) 195 float half_depth = (zFar - zNear) / 2.0f; 187 graw_util_viewport(struct graw_info *info, float x, float y, float width, float height, float zNear, float zFar) argument
|
H A D | quad-sample.c | 63 float zNear, float zFar) 65 float z = zFar; 68 float half_depth = ((float)zFar - (float)zNear) / 2.0f; 61 set_viewport( float x, float y, float width, float height, float zNear, float zFar) argument
|
H A D | shader-leak.c | 53 float zNear, float zFar) 55 float z = zFar; 58 float half_depth = ((float)zFar - (float)zNear) / 2.0f; 51 set_viewport( float x, float y, float width, float height, float zNear, float zFar) argument
|
H A D | tri-gs.c | 54 float zNear, float zFar) 56 float z = zFar; 59 float half_depth = ((float)zFar - (float)zNear) / 2.0f; 52 set_viewport( float x, float y, float width, float height, float zNear, float zFar) argument
|
H A D | tri-instanced.c | 83 float zNear, float zFar) 85 float z = zFar; 88 float half_depth = ((float)zFar - (float)zNear) / 2.0f; 81 set_viewport( float x, float y, float width, float height, float zNear, float zFar) argument
|
H A D | fs-test.c | 135 float zNear, float zFar) 137 float z = zFar; 140 float half_depth = ((float)zFar - (float)zNear) / 2.0f; 133 set_viewport( float x, float y, float width, float height, float zNear, float zFar) argument
|
H A D | gs-test.c | 194 float zNear, float zFar) 196 float z = zFar; 199 float half_depth = ((float)zFar - (float)zNear) / 2.0f; 192 set_viewport( float x, float y, float width, float height, float zNear, float zFar) argument
|
H A D | vs-test.c | 116 float zNear, float zFar) 118 float z = zFar; 121 float half_depth = ((float)zFar - (float)zNear) / 2.0f; 114 set_viewport( float x, float y, float width, float height, float zNear, float zFar) argument
|
/external/swiftshader/src/OpenGL/common/ |
H A D | MatrixStack.cpp | 124 void MatrixStack::frustum(float left, float right, float bottom, float top, float zNear, float zFar) argument 131 float f = (float)zFar; 146 void MatrixStack::ortho(double left, double right, double bottom, double top, double zNear, double zFar) argument 153 float f = (float)zFar;
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fDepthRangeTests.cpp | 105 inline float depthRangeTransform (const float zd, const float zNear, const float zFar) argument 108 const float cFar = de::clamp(zFar, 0.0f, 1.0f); 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) argument 131 , m_zFar (zFar) 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) argument 281 , m_zFar (zFar) 413 const float zFar; member in struct:deqp::gles2::Functional::__anon4938 436 writeGroup->addChild(new DepthRangeWriteCase(m_context, cases[ndx].name, cases[ndx].desc, cases[ndx].depthCoord, cases[ndx].zNear, cases[ndx].zFar)); [all...] |
H A D | es2fShaderBuiltinVarTests.cpp | 157 , zFar (1.0f) 163 , zFar (zFar_) 168 float zFar; member in struct:deqp::gles2::Functional::__anon4965::DepthRangeParams 182 float zFar = deFloatClamp(m_params.zFar, 0.0f, 1.0f); local 183 float diff = zFar - zNear; 184 c.color.xyz() = tcu::Vec3(zNear, zFar, diff*0.5f + 0.5f); 250 m_testCtx.getLog() << tcu::TestLog::Message << "glDepthRangef(" << m_depthRange.zNear << ", " << m_depthRange.zFar << ")" << tcu::TestLog::EndMessage; 251 gl.depthRangef(m_depthRange.zNear, m_depthRange.zFar);
|
/external/mesa3d/src/mesa/main/ |
H A D | es1_conversion.c | 98 _mesa_DepthRangex(GLclampx zNear, GLclampx zFar) argument 101 (GLclampf) (zFar / 65536.0f)); 181 GLfloat zNear, GLfloat zFar) 188 (GLdouble) (zFar)); 193 GLfixed zNear, GLfixed zFar) 200 (GLdouble) (zFar / 65536.0)); 665 GLfloat zNear, GLfloat zFar) 672 (GLdouble) (zFar)); 677 GLfixed zNear, GLfixed zFar) 684 (GLdouble) (zFar / 65536. 180 _mesa_Frustumf(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) argument 192 _mesa_Frustumx(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) argument 664 _mesa_Orthof(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) argument 676 _mesa_Orthox(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) argument [all...] |
/external/deqp/modules/gles3/functional/ |
H A D | es3fShaderBuiltinVarTests.cpp | 167 , zFar (1.0f) 173 , zFar (zFar_) 178 float zFar; member in struct:deqp::gles3::Functional::__anon5117::DepthRangeParams 192 float zFar = deFloatClamp(m_params.zFar, 0.0f, 1.0f); local 193 float diff = zFar - zNear; 194 c.color.xyz() = tcu::Vec3(zNear, zFar, diff*0.5f + 0.5f); 266 m_testCtx.getLog() << tcu::TestLog::Message << "glDepthRangef(" << m_depthRange.zNear << ", " << m_depthRange.zFar << ")" << tcu::TestLog::EndMessage; 267 gl.depthRangef(m_depthRange.zNear, m_depthRange.zFar);
|
/external/autotest/client/site_tests/graphics_SanAngeles/src/ |
H A D | demo.c | 717 GLfloat zNear, GLfloat zFar) 726 glFrustum(xmin, xmax, ymin, ymax, zNear, zFar); 716 gluPerspective(GLfloat fovy, GLfloat aspect, GLfloat zNear, GLfloat zFar) argument
|
/external/replicaisland/src/com/replica/replicaisland/ |
H A D | GLErrorLogger.java | 195 public void glDepthRangef(float zNear, float zFar) { argument 196 ((GL10)mGL).glDepthRangef(zNear, zFar); 200 public void glDepthRangex(int zNear, int zFar) { argument 201 ((GL10)mGL).glDepthRangex(zNear, zFar); 281 float top, float zNear, float zFar) { 283 top, zNear, zFar); 288 int zNear, int zFar) { 290 zNear, zFar); 511 float zNear, float zFar) { 513 zNear, zFar); 280 glFrustumf(float left, float right, float bottom, float top, float zNear, float zFar) argument 287 glFrustumx(int left, int right, int bottom, int top, int zNear, int zFar) argument 510 glOrthof(float left, float right, float bottom, float top, float zNear, float zFar) argument 517 glOrthox(int left, int right, int bottom, int top, int zNear, int zFar) argument [all...] |
/external/swiftshader/src/OpenGL/libGL/ |
H A D | Context.h | 475 float zFar; member in struct:gl::State 528 void setDepthRange(float zNear, float zFar); 694 void frustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); 695 void ortho(double left, double right, double bottom, double top, double zNear, double zFar); // FIXME: GLdouble
|
H A D | Context.cpp | 109 mState.zFar = 1.0f; 388 void Context::setDepthRange(float zNear, float zFar) argument 391 mState.zFar = zFar; 1238 params[1] = mState.zFar; 1669 float zFar = clamp01(mState.zFar); local 1676 viewport.maxZ = zFar; 1697 GLfloat nearFarDiff[3] = {zNear, zFar, zFar 3136 frustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) argument 3146 ortho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) argument [all...] |
/external/swiftshader/src/OpenGL/libGLES_CM/ |
H A D | Context.h | 265 float zFar; member in struct:es1::State 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);
|
H A D | libGLES_CM.cpp | 1152 void DepthRangef(GLclampf zNear, GLclampf zFar) argument 1154 TRACE("(GLclampf zNear = %f, GLclampf zFar = %f)", zNear, zFar); 1160 context->setDepthRange(zNear, zFar); 1164 void DepthRangex(GLclampx zNear, GLclampx zFar) argument 1166 DepthRangef((float)zNear / 0x10000, (float)zFar / 0x10000); 1695 void Frustumf(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) argument 1697 TRACE("(GLfloat left = %f, GLfloat right = %f, GLfloat bottom = %f, GLfloat top = %f, GLfloat zNear = %f, GLfloat zFar = %f)", left, right, bottom, top, zNear, zFar); 1699 if(zNear <= 0.0f || zFar < 1712 Frustumx(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) argument 3073 Orthof(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) argument 3090 Orthox(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) argument [all...] |
H A D | Context.cpp | 99 mState.zFar = 1.0f; 417 void Context::setDepthRange(float zNear, float zFar) argument 420 mState.zFar = zFar; 1158 params[1] = mState.zFar; 1753 float zFar = clamp01(mState.zFar); local 1760 viewport.maxZ = zFar; 2816 float Zw = sw::clamp(mState.zNear + z * (mState.zFar - mState.zNear), mState.zNear, mState.zFar); 3291 frustum(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) argument 3296 ortho(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) argument [all...] |
H A 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) argument 745 return es1::DepthRangex(zNear, zFar); 748 GL_API void GL_APIENTRY glDepthRangef(GLclampf zNear, GLclampf zFar) argument 750 return es1::DepthRangef(zNear, zFar); 828 glFrustumf(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) argument 833 glFrustumx(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) argument 1133 glOrthof(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) argument 1138 glOrthox(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) argument [all...] |
/external/swiftshader/src/OpenGL/libGLESv2/ |
H A D | Context.h | 392 float zFar; member in struct:es2::State 454 void setDepthRange(float zNear, float zFar);
|
H A D | entry_points.cpp | 64 void DepthRangef(GLclampf zNear, GLclampf zFar); 450 GL_APICALL void GL_APIENTRY glDepthRangef(GLclampf zNear, GLclampf zFar) argument 452 return es2::DepthRangef(zNear, zFar);
|
H A D | libGLESv2.cpp | 1390 void DepthRangef(GLclampf zNear, GLclampf zFar) argument 1392 TRACE("(GLclampf zNear = %f, GLclampf zFar = %f)", zNear, zFar); 1398 context->setDepthRange(zNear, zFar);
|
H A D | Context.cpp | 112 mState.zFar = 1.0f; 407 void Context::setDepthRange(float zNear, float zFar) argument 410 mState.zFar = zFar; 1890 params[1] = mState.zFar; 2790 float zFar = clamp01(mState.zFar); local 2797 viewport.maxZ = zFar; 2807 GLfloat nearFarDiff[3] = {zNear, zFar, zFar [all...] |