Searched defs:zNear (Results 1 - 25 of 33) sorted by relevance

12

/external/mesa3d/src/gallium/tests/graw/
H A Dgraw_util.h190 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 Dquad-sample.c63 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 Dshader-leak.c53 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 Dtri-gs.c54 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 Dtri-instanced.c83 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 Dfs-test.c135 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 Dgs-test.c194 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 Dvs-test.c116 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 DMatrixStack.cpp124 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 Des2fDepthRangeTests.cpp105 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 Des2fShaderBuiltinVarTests.cpp156 : 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 Des1_conversion.c98 _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 Des3fShaderBuiltinVarTests.cpp166 : 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 Ddemo.c717 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 DGLErrorLogger.java195 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 DContext.h474 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 DContext.cpp108 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 DContext.h264 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 DlibGLES_CM.cpp1152 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 DContext.cpp98 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 Dmain.cpp195 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 DContext.h391 float zNear; member in struct:es2::State
454 void setDepthRange(float zNear, float zFar);
H A Dentry_points.cpp64 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 DlibGLESv2.cpp1390 void DepthRangef(GLclampf zNear, GLclampf zFar) argument
1392 TRACE("(GLclampf zNear = %f, GLclampf zFar = %f)", zNear, zFar);
1398 context->setDepthRange(zNear, zFar);
H A DContext.cpp111 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...]

Completed in 453 milliseconds

12