/external/mesa3d/src/gallium/tests/graw/ |
H A D | graw_util.h | 190 float zNear, float zFar) 192 float z = zNear; 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) 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) 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) 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) 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) 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) 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) 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 130 float n = (float)zNear; 146 void MatrixStack::ortho(double left, double right, double bottom, double top, double zNear, double zFar) argument 152 float n = (float)zNear;
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fDepthRangeTests.cpp | 105 inline float depthRangeTransform (const float zd, const float zNear, const float zFar) argument 107 const float cNear = de::clamp(zNear, 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 130 , m_zNear (zNear) 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 280 , m_zNear (zNear) 412 const float zNear; 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, case [all...] |
H A D | es2fShaderBuiltinVarTests.cpp | 156 : zNear (0.0f) 162 : zNear (zNear_) 167 float zNear; member in struct:deqp::gles2::Functional::__anon4965::DepthRangeParams 181 float zNear = deFloatClamp(m_params.zNear, 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 100 _mesa_DepthRangef((GLclampf) (zNear / 65536.0f), 181 GLfloat zNear, GLfloat zFar) 187 (GLdouble) (zNear), 193 GLfixed zNear, GLfixed zFar) 199 (GLdouble) (zNear / 65536.0), 665 GLfloat zNear, GLfloat zFar) 671 (GLdouble) (zNear), 677 GLfixed zNear, GLfixed zFar) 683 (GLdouble) (zNear / 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 | 166 : zNear (0.0f) 172 : zNear (zNear_) 177 float zNear; member in struct:deqp::gles3::Functional::__anon5117::DepthRangeParams 191 float zNear = deFloatClamp(m_params.zNear, 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) 721 ymax = zNear * (GLfloat)tan(fovy * PI / 360); 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, zFa 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 | 474 float zNear; 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 | 108 mState.zNear = 0.0f; 388 void Context::setDepthRange(float zNear, float zFar) argument 390 mState.zNear = zNear; 1237 params[0] = mState.zNear; 1668 float zNear = clamp01(mState.zNear); local 1675 viewport.minZ = zNear; 1697 GLfloat nearFarDiff[3] = {zNear, zFar, zFar - zNear}; 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 | 264 float zNear; 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 < 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 | 98 mState.zNear = 0.0f; 417 void Context::setDepthRange(float zNear, float zFar) argument 419 mState.zNear = zNear; 1157 params[0] = mState.zNear; 1752 float zNear = clamp01(mState.zNear); local 1759 viewport.minZ = zNear; 2816 float Zw = sw::clamp(mState.zNear + z * (mState.zFar - mState.zNear), mStat 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, zFa 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 | 391 float zNear; 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 | 111 mState.zNear = 0.0f; 407 void Context::setDepthRange(float zNear, float zFar) argument 409 mState.zNear = zNear; 1889 params[0] = mState.zNear; 2789 float zNear = clamp01(mState.zNear); local 2796 viewport.minZ = zNear; 2807 GLfloat nearFarDiff[3] = {zNear, zFar, zFar - zNear}; [all...] |