Home
last modified time | relevance | path

Searched refs:zmin (Results 1 – 10 of 10) sorted by relevance

/external/mesa3d/src/mesa/main/
Ddepth.c132 _mesa_DepthBoundsEXT( GLclampd zmin, GLclampd zmax ) in _mesa_DepthBoundsEXT() argument
138 _mesa_debug(ctx, "glDepthBounds(%f, %f)\n", zmin, zmax); in _mesa_DepthBoundsEXT()
140 if (zmin > zmax) { in _mesa_DepthBoundsEXT()
145 zmin = CLAMP(zmin, 0.0, 1.0); in _mesa_DepthBoundsEXT()
148 if (ctx->Depth.BoundsMin == zmin && ctx->Depth.BoundsMax == zmax) in _mesa_DepthBoundsEXT()
152 ctx->Depth.BoundsMin = (GLfloat) zmin; in _mesa_DepthBoundsEXT()
Ddepth.h56 _mesa_DepthBoundsEXT( GLclampd zmin, GLclampd zmax );
Dfeedback.c247 GLuint zmin, zmax, zscale = (~0u); in write_hit_record() local
253 zmin = (GLuint) ((GLfloat) zscale * ctx->Select.HitMinZ); in write_hit_record()
257 write_record( ctx, zmin ); in write_hit_record()
Ddlist.c5288 save_DepthBoundsEXT(GLclampd zmin, GLclampd zmax) in save_DepthBoundsEXT() argument
5295 n[1].f = (GLfloat) zmin; in save_DepthBoundsEXT()
5299 CALL_DepthBoundsEXT(ctx->Exec, (zmin, zmax)); in save_DepthBoundsEXT()
/external/opencv3/3rdparty/openexr/Imath/
DImathFrustum.h161 long DepthToZ(T depth, long zmin, long zmax) const;
512 T Frustum<T>::ZToDepth(long zval,long zmin,long zmax) const in ZToDepth() argument
514 int zdiff = zmax - zmin; in ZToDepth()
524 T fzval = (T(zval) - T(zmin)) / T(zdiff); in ZToDepth()
556 long Frustum<T>::DepthToZ(T depth,long zmin,long zmax) const in DepthToZ() argument
558 long zdiff = zmax - zmin; in DepthToZ()
574 return long(0.5*(Zp+1)*zdiff) + zmin; in DepthToZ()
599 return long(0.5*(Zp+1)*zdiff) + zmin; in DepthToZ()
/external/mesa3d/src/gallium/drivers/nv50/
Dnv50_state_validate.c182 float zmin, zmax; in nv50_validate_viewport() local
193 zmin = nv50->viewport.translate[2] - fabsf(nv50->viewport.scale[2]); in nv50_validate_viewport()
198 PUSH_DATAf(push, zmin); in nv50_validate_viewport()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_framebuffer.c426 if (svga->state.hw_clear.depthrange.zmin != range_min || in emit_viewport()
433 svga->state.hw_clear.depthrange.zmin = range_min; in emit_viewport()
Dsvga_context.h256 float zmin, zmax; member
/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_state_validate.c223 float zmin, zmax; in nvc0_validate_viewport() local
241 zmin = vp->translate[2] - fabsf(vp->scale[2]); in nvc0_validate_viewport()
248 PUSH_DATAf(push, zmin); in nvc0_validate_viewport()
/external/mesa3d/include/GL/
Dglext.h11028 GLAPI void APIENTRY glDepthBoundsEXT (GLclampd zmin, GLclampd zmax);
11030 typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax);
11370 GLAPI void APIENTRY glDepthBoundsdNV (GLdouble zmin, GLdouble zmax);
11374 typedef void (APIENTRYP PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble zmax);